comparison src/m/ibmrs6000.h @ 14793:d3a70cd8d181

(LD_SWITCH_MACHINE): Undo previous change-- define this unconditionally. (LD_SWITCH_SITE): New conditional definition. For gcc 2.7.x, use /bin/ld instead of collect2,
author Richard M. Stallman <rms@gnu.org>
date Fri, 08 Mar 1996 18:27:37 +0000
parents ee40177f6c68
children 4a5ab08209ee
comparison
equal deleted inserted replaced
14792:66a9ba81f2c4 14793:d3a70cd8d181
157 #undef NEED_PTEM_H 157 #undef NEED_PTEM_H
158 158
159 #define ORDINARY_LINK 159 #define ORDINARY_LINK
160 160
161 #ifndef USG5_4 161 #ifndef USG5_4
162 #ifndef __GNUC__
163 /* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */ 162 /* sfreed@unm.edu says add -bI:/usr/lpp/X11/bin/smt.exp for AIX 3.2.4. */
164 /* marc@sti.com (Marc Pawliger) says ibmrs6000.inp is needed to avoid 163 /* marc@sti.com (Marc Pawliger) says ibmrs6000.inp is needed to avoid
165 linker error for updated X11R5 libraries, which references pthread library 164 linker error for updated X11R5 libraries, which references pthread library
166 which most machines don't have. We use the name .inp instead of .imp 165 which most machines don't have. We use the name .inp instead of .imp
167 because .inp is a better convention to use in make-dist for naming 166 because .inp is a better convention to use in make-dist for naming
173 #define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,-bI:/usr/lpp/X11/bin/smt.exp 172 #define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp,-bI:/usr/lpp/X11/bin/smt.exp
174 #else 173 #else
175 #define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp 174 #define LD_SWITCH_MACHINE -Wl,-bnso,-bnodelcsect,-bI:/lib/syscalls.exp,-bI:$(srcdir)/m/ibmrs6000.inp
176 #endif 175 #endif
177 #endif /* not AIX4 */ 176 #endif /* not AIX4 */
178 #endif /* not __GNUC__ */ 177
178 /* Avoid gcc 2.7.x collect2 bug by using /bin/ld instead. */
179 #if __GNUC__ == 2 && __GNUC_MINOR__ == 7
180 #define LD_SWITCH_SITE -B/bin/
181 #endif
179 182
180 /* AIX supposedly doesn't use this interface, but on the RS/6000 183 /* AIX supposedly doesn't use this interface, but on the RS/6000
181 it apparently does. */ 184 it apparently does. */
182 #define NLIST_STRUCT 185 #define NLIST_STRUCT
183 #endif /* USG5_4 */ 186 #endif /* USG5_4 */