aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-04-27 22:31:09 +0000
committerRichard M. Stallman <[email protected]>1994-04-27 22:31:09 +0000
commit7e57289154c75b00b0a2a0db60368a6a8cc14432 (patch)
treea11f6dbe9421a6335db13d5f9129b11301347a98
parentca2a1384219e85471f500872fb31c53417cdf40a (diff)
(LD_SWITCH_SYSTEM): Undo previous change.
-rw-r--r--src/s/sunos4-0.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h
index 6625785d85..17f1747190 100644
--- a/src/s/sunos4-0.h
+++ b/src/s/sunos4-0.h
@@ -5,11 +5,10 @@
#define O_NDELAY FNDELAY /* Non-blocking I/O (4.2 style) */
#endif
-#ifdef __GNUC__
-#define LD_SWITCH_SYSTEM -e __start -static
-#else
+/* We use the Sun syntax -Bstatic unconditionally, because even when we
+ use GCC, these are passed through to the linker, not handled by GCC
+ directly. */
#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