comparison src/m/sgi-challenge.h @ 163:0132846995bd r20-3b8

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 376386a54a3c
children 8eaf7971accc
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
111 which lives in a separate file. Specify the file name. */ 111 which lives in a separate file. Specify the file name. */
112 112
113 #ifdef UNEXEC 113 #ifdef UNEXEC
114 #undef UNEXEC 114 #undef UNEXEC
115 #endif 115 #endif
116 #define UNEXEC unexelfsgi.o 116 #define UNEXEC "unexelfsgi.o"
117 117
118 #define TEXT_START 0x400000 118 #define TEXT_START 0x400000
119 119
120 /* 120 /*
121 * DATA_SEG_BITS forces that bit to be or'd in with any pointers which 121 * DATA_SEG_BITS forces that bit to be or'd in with any pointers which
126 #define DATA_START 0x10000000 126 #define DATA_START 0x10000000
127 #define DATA_SEG_BITS 0x10000000 127 #define DATA_SEG_BITS 0x10000000
128 128
129 #undef LIBS_MACHINE 129 #undef LIBS_MACHINE
130 /* -lsun in case using Yellow Pages for passwords. */ 130 /* -lsun in case using Yellow Pages for passwords. */
131 #define LIBS_MACHINE -lsun -lmld 131 #define LIBS_MACHINE "-lsun -lmld"
132 #define LIBS_DEBUG 132 #define LIBS_DEBUG
133 133
134 /* Define this if you have a fairly recent system, 134 /* Define this if you have a fairly recent system,
135 in which crt1.o and crt1.n should be used. */ 135 in which crt1.o and crt1.n should be used. */
136 #define HAVE_CRTN 136 #define HAVE_CRTN
137 137
138 #ifdef HAVE_CRTN 138 #ifdef HAVE_CRTN
139 /* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */ 139 /* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */
140 #define START_FILES pre-crt0.o /usr/lib/crt1.o 140 #define START_FILES "pre-crt0.o /usr/lib/crt1.o"
141 #define LIB_STANDARD -lbsd -nocount -lc_s -lc /usr/lib/crtn.o 141 #define LIB_STANDARD "-lbsd -nocount -lc_s -lc /usr/lib/crtn.o"
142 #else 142 #else
143 #define START_FILES pre-crt0.o /usr/lib/crt0.o 143 #define START_FILES "pre-crt0.o /usr/lib/crt0.o"
144 /* The entry-point label (start of text segment) is `start', not `__start'. */ 144 /* The entry-point label (start of text segment) is `start', not `__start'. */
145 #define DEFAULT_ENTRY_ADDRESS start 145 #define DEFAULT_ENTRY_ADDRESS start
146 #define LIB_STANDARD -lbsd -lc 146 #define LIB_STANDARD "-lbsd -lc"
147 #endif 147 #endif
148 148
149 /* Use terminfo instead of termcap. */ 149 /* Use terminfo instead of termcap. */
150 150
151 #define TERMINFO 151 #define TERMINFO
164 164
165 #define STACK_DIRECTION -1 165 #define STACK_DIRECTION -1
166 166
167 /* By Tor Arntsen <tor@spacetec.no> for XEmacs. */ 167 /* By Tor Arntsen <tor@spacetec.no> for XEmacs. */
168 #ifdef USE_GCC 168 #ifdef USE_GCC
169 # define C_SWITCH_MACHINE -D_BSD_TYPES -mcpu=r4000 -mips2 169 #define C_SWITCH_MACHINE "-D_BSD_TYPES -mcpu=r4000 -mips2"
170 #else 170 #else
171 /* Turn off some "helpful" error checks for type mismatches 171 /* Turn off some "helpful" error checks for type mismatches
172 that we can't fix without breaking other machines. */ 172 that we can't fix without breaking other machines. */
173 # define C_SWITCH_MACHINE -D_BSD_TYPES -cckr -acpp -mips2 173 #define C_SWITCH_MACHINE "-D_BSD_TYPES -cckr -acpp -mips2"
174 #endif 174 #endif