From: Richard M. Stallman Date: Wed, 24 Aug 1994 19:40:30 +0000 (+0000) Subject: [__GNUC__] (LD_SWITCH_SYSTEM): Defined. X-Git-Tag: emacs-19.34~7243 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d55a56084d723c13edb7b3deb4a1b4fe1aca193;p=emacs.git [__GNUC__] (LD_SWITCH_SYSTEM): Defined. --- diff --git a/src/s/irix5-0.h b/src/s/irix5-0.h index d2060f45bd7..10f2cfff688 100644 --- a/src/s/irix5-0.h +++ b/src/s/irix5-0.h @@ -95,3 +95,10 @@ char *_getpty(); /* Tell process_send_signal to use VSUSP instead of VSWTCH. */ #define PREFER_VSUSP + +/* Because unexelfsgi.c cannot handle a ".sbss" section yet, we must + tell the linker to avoid making one. SGI's cc does this by + default, but GCC (at least 2.5.8 and 2.6.0) doesn't. */ +#ifdef __GNUC__ +#define LD_SWITCH_SYSTEM -G 0 +#endif