OSDN Git Service

(CPP_SPEC): Define _SEQUENT_ to be compatible with cc.
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Oct 1993 02:16:09 +0000 (02:16 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 26 Oct 1993 02:16:09 +0000 (02:16 +0000)
(INVOKE__main): Defined.
(HAVE_ATEXIT): Defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@5888 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/seq-sysv3.h

index 8dcff85..182179d 100644 (file)
@@ -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.  */
 
 #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