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

Import from CVS: tag r20-3b8
author cvs
date Mon, 13 Aug 2007 09:43:35 +0200
parents 131b0175ea99
children 8eaf7971accc
comparison
equal deleted inserted replaced
162:4de2936b4e77 163:0132846995bd
98 which lives in a separate file. Specify the file name. */ 98 which lives in a separate file. Specify the file name. */
99 99
100 #ifdef USG5_4 100 #ifdef USG5_4
101 #undef UNEXEC 101 #undef UNEXEC
102 /* FSF renames this file to unexsgi.o */ 102 /* FSF renames this file to unexsgi.o */
103 #define UNEXEC unexelfsgi.o 103 #define UNEXEC "unexelfsgi.o"
104 #else 104 #else
105 #define UNEXEC unexmips.o 105 #define UNEXEC "unexmips.o"
106 #endif 106 #endif
107 107
108 #define TEXT_START 0x400000 108 #define TEXT_START 0x400000
109 109
110 /* 110 /*
116 #define DATA_START 0x10000000 116 #define DATA_START 0x10000000
117 #define DATA_SEG_BITS 0x10000000 117 #define DATA_SEG_BITS 0x10000000
118 118
119 #undef LIBS_MACHINE 119 #undef LIBS_MACHINE
120 /* -lsun in case using Yellow Pages for passwords. */ 120 /* -lsun in case using Yellow Pages for passwords. */
121 #define LIBS_MACHINE -lmld 121 #define LIBS_MACHINE "-lmld"
122 #define LIBS_DEBUG 122 #define LIBS_DEBUG
123 123
124 /* Define this if you have a fairly recent system, 124 /* Define this if you have a fairly recent system,
125 in which crt1.o and crt1.n should be used. */ 125 in which crt1.o and crt1.n should be used. */
126 #define HAVE_CRTN 126 #define HAVE_CRTN
127 127
128 #ifndef USG5_4 128 #ifndef USG5_4
129 #ifdef HAVE_CRTN 129 #ifdef HAVE_CRTN
130 /* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */ 130 /* Must define START-FILES so that the linker can find /usr/lib/crt0.o. */
131 #define START_FILES pre-crt0.o /usr/lib/crt1.o 131 #define START_FILES "pre-crt0.o /usr/lib/crt1.o"
132 #define LIB_STANDARD -lc /usr/lib/crtn.o 132 #define LIB_STANDARD "-lc /usr/lib/crtn.o"
133 #else 133 #else
134 #define START_FILES pre-crt0.o /usr/lib/crt0.o 134 #define START_FILES "pre-crt0.o /usr/lib/crt0.o"
135 /* The entry-point label (start of text segment) is `start', not `__start'. */ 135 /* The entry-point label (start of text segment) is `start', not `__start'. */
136 #define DEFAULT_ENTRY_ADDRESS start 136 #define DEFAULT_ENTRY_ADDRESS start
137 #define LIB_STANDARD -lc 137 #define LIB_STANDARD "-lc"
138 #endif 138 #endif
139 #endif 139 #endif
140 140
141 /* Use terminfo instead of termcap. */ 141 /* Use terminfo instead of termcap. */
142 142
150 150
151 /* Define STACK_DIRECTION for alloca.c */ 151 /* Define STACK_DIRECTION for alloca.c */
152 152
153 #undef STACK_DIRECTION 153 #undef STACK_DIRECTION
154 #define STACK_DIRECTION -1 154 #define STACK_DIRECTION -1
155
156 #ifndef __GNUC__
157 /* Turn off some "helpful" error checks for type mismatches
158 that we can't fix without breaking other machines. */
159 #ifdef IRIX_FORCE_32_BITS
160 #ifdef THIS_IS_MAKEFILE
161 #define C_SWITCH_MACHINE -32
162 #endif
163 #endif /* IRIX_FORCE_32_BITS */
164 #endif /* not __GNUC__ */