changeset 6820:584da439d8b1

(LD_SWITCH_SYSTEM): Alternate definition if __GNUC__.
author Richard M. Stallman <rms@gnu.org>
date Tue, 12 Apr 1994 03:54:36 +0000
parents 0d592cff389f
children eb3c5e5e1ef1
files src/s/sunos4-0.h
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sunos4-0.h	Tue Apr 12 03:25:32 1994 +0000
+++ b/src/s/sunos4-0.h	Tue Apr 12 03:54:36 1994 +0000
@@ -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