comparison src/s/gnu-linux.h @ 39494:4a51dde8ee81

(LD_SWITCH_SYSTEM_TEMACS): Link temacs with -z nocombreloc, in case -z combreloc is the default.
author Andreas Schwab <schwab@suse.de>
date Fri, 28 Sep 2001 12:58:23 +0000
parents ab2107f870ad
children 8e1f1f05b742
comparison
equal deleted inserted replaced
39493:b92a87893145 39494:4a51dde8ee81
183 #ifdef __mips__ 183 #ifdef __mips__
184 #define LD_SWITCH_SYSTEM -G 0 LD_SWITCH_X_SITE_AUX 184 #define LD_SWITCH_SYSTEM -G 0 LD_SWITCH_X_SITE_AUX
185 #else 185 #else
186 #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX 186 #define LD_SWITCH_SYSTEM LD_SWITCH_X_SITE_AUX
187 #endif /* __mips__ */ 187 #endif /* __mips__ */
188
189 /* Link temacs with -z nocombreloc so that unexec works right, whether or
190 not -z combreloc is the default. GNU ld ignores unknown -z KEYOWRD
191 switches, so this also works with older versions that don't implement
192 -z combreloc. */
193 #define LD_SWITCH_SYSTEM_TEMACS -z nocombreloc
188 #endif /* __ELF__ */ 194 #endif /* __ELF__ */
189 195
190 /* As of version 1.1.51, Linux did not actually implement SIGIO. 196 /* As of version 1.1.51, Linux did not actually implement SIGIO.
191 But it works in newer versions. */ 197 But it works in newer versions. */
192 #ifdef emacs 198 #ifdef emacs