aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
Diffstat (limited to 'src/s')
-rw-r--r--src/s/sunos4-0.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/s/sunos4-0.h b/src/s/sunos4-0.h
index 02bdd1ea0c..e648aedab0 100644
--- a/src/s/sunos4-0.h
+++ b/src/s/sunos4-0.h
@@ -12,7 +12,11 @@
/* 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
+#define LD_SWITCH_SYSTEM -Bstatic
+
+/* We use this for linking temacs, but not for other programs
+ or for tests in configure. */
+#define LD_SWITCH_SYSTEM_TEMACS -e __start
/* In SunOS 4.1, a static function called by tzsetwall reportedly
clears the byte just past an eight byte region it mallocs, corrupting