aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/m/news-risc.h23
1 files changed, 21 insertions, 2 deletions
diff --git a/src/m/news-risc.h b/src/m/news-risc.h
index d5a6d07aa9f..089a0b2280e 100644
--- a/src/m/news-risc.h
+++ b/src/m/news-risc.h
@@ -2,12 +2,28 @@
2 2
3#include "mips.h" 3#include "mips.h"
4 4
5#ifdef NEWSOS5
6
7/* NEWS-OS 5.0.2 */
8
9#define LIBS_MACHINE -lmld
10
11#ifdef __GNUC__
12#define C_DEBUG_SWITCH -g
13#define C_OPTIMIZE_SWITCH -g -O
14#define LD_SWITCH_MACHINE -g -Xlinker -D -Xlinker 800000
15#else
16#define C_DEBUG_SWITCH -g3
17#define C_OPTIMIZE_SWITCH -g3
18#define LD_SWITCH_MACHINE -g3 -D 800000 -non_shared
19#endif
20
21#else /* not NEWSOS5 */
22
5/* The following line tells the configuration script what sort of 23/* The following line tells the configuration script what sort of
6 operating system this machine is likely to run. 24 operating system this machine is likely to run.
7 USUAL-OPSYS="bsd4-3" */ 25 USUAL-OPSYS="bsd4-3" */
8 26
9#define LIBS_MACHINE -lmld
10
11#define COFF 27#define COFF
12#undef LD_SWITCH_MACHINE 28#undef LD_SWITCH_MACHINE
13#define LD_SWITCH_MACHINE -x -D 800000 29#define LD_SWITCH_MACHINE -x -D 800000
@@ -25,3 +41,6 @@
25/* Don't use the definitions in m/mips.h. */ 41/* Don't use the definitions in m/mips.h. */
26#undef LINKER 42#undef LINKER
27#undef LIBS_MACHINE 43#undef LIBS_MACHINE
44#define LIBS_MACHINE -lmld
45
46#endif /* not NEWSOS5 */