]> git.eshelyaron.com Git - emacs.git/commitdiff
(LD_SWITCH_SYSTEM): Alternate definition if __GNUC__.
authorRichard M. Stallman <rms@gnu.org>
Tue, 12 Apr 1994 03:54:36 +0000 (03:54 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 12 Apr 1994 03:54:36 +0000 (03:54 +0000)
src/s/sunos4-0.h

index a0cba915cc9f8b3cda82dbb13e207d4c502d6762..6625785d859448d59ecfdb329a63a00f4cacbe24 100644 (file)
@@ -5,7 +5,11 @@
 #define O_NDELAY        FNDELAY /* Non-blocking I/O (4.2 style) */
 #endif
 
+#ifdef __GNUC__
+#define LD_SWITCH_SYSTEM -e __start -static
+#else
 #define LD_SWITCH_SYSTEM -e __start -Bstatic
+#endif
 
 /* In SunOS 4.1, a static function called by tzsetwall reportedly
    clears the byte just past an eight byte region it mallocs, corrupting