aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-26 02:16:09 +0000
committerRichard Stallman <rms@gnu.org>1993-10-26 02:16:09 +0000
commitb65be498b735ac6ef4249053c4020a9a8f9eb816 (patch)
tree97b4fc7327a4f2c03e4ce228a0d84f377edc6039 /gcc/config/i386
parent4805bfa06d63a8cee88b02d5062b605fe0db8c49 (diff)
downloadgcc-b65be498b735ac6ef4249053c4020a9a8f9eb816.zip
gcc-b65be498b735ac6ef4249053c4020a9a8f9eb816.tar.gz
gcc-b65be498b735ac6ef4249053c4020a9a8f9eb816.tar.bz2
(CPP_SPEC): Define _SEQUENT_ to be compatible with cc.
(INVOKE__main): Defined. (HAVE_ATEXIT): Defined. From-SVN: r5888
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/seq-sysv3.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/gcc/config/i386/seq-sysv3.h b/gcc/config/i386/seq-sysv3.h
index 8dcff859..182179d 100644
--- a/gcc/config/i386/seq-sysv3.h
+++ b/gcc/config/i386/seq-sysv3.h
@@ -1,4 +1,4 @@
-#include "sysv3.h"
+#include "i386/sysv3.h"
/* Sequent Symmetry SVr3 doesn't have crtn.o; crt1.o doesn't work
but crt0.o does. */
@@ -12,3 +12,15 @@
#undef LIB_SPEC
#define LIB_SPEC "%{posix:-lcposix} %{shlib:-lc_s} -lc crtend.o%s"
+
+#undef CPP_SPEC
+#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} -D_SEQUENT_"
+
+/* Although the .init section is used, it is not automatically invoked.
+ This because the _start() function in /lib/crt0.o never calls anything
+ from the .init section */
+#define INVOKE__main
+
+/* Use atexit for static destructors, instead of defining
+ our own exit function. */
+#define HAVE_ATEXIT