From 0d55a56084d723c13edb7b3deb4a1b4fe1aca193 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 24 Aug 1994 19:40:30 +0000 Subject: [PATCH] [__GNUC__] (LD_SWITCH_SYSTEM): Defined. --- src/s/irix5-0.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.39.5