# HG changeset patch
# User Richard M. Stallman <rms@gnu.org>
# Date 777757230 0
# Node ID 0c4d14af9e65047a1b94b6210b2b8d21c55b76cb
# Parent  145a583d9128e65b1f91c3cc74e45627c708885b
[__GNUC__] (LD_SWITCH_SYSTEM): Defined.

diff -r 145a583d9128 -r 0c4d14af9e65 src/s/irix5-0.h
--- a/src/s/irix5-0.h	Wed Aug 24 06:28:41 1994 +0000
+++ b/src/s/irix5-0.h	Wed Aug 24 19:40:30 1994 +0000
@@ -95,3 +95,10 @@
 
 /* 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