Commit b65be498 by Richard Stallman

(CPP_SPEC): Define _SEQUENT_ to be compatible with cc.

(INVOKE__main): Defined.
(HAVE_ATEXIT): Defined.

From-SVN: r5888
parent 4805bfa0
#include "sysv3.h" #include "i386/sysv3.h"
/* Sequent Symmetry SVr3 doesn't have crtn.o; crt1.o doesn't work /* Sequent Symmetry SVr3 doesn't have crtn.o; crt1.o doesn't work
but crt0.o does. */ but crt0.o does. */
...@@ -12,3 +12,15 @@ ...@@ -12,3 +12,15 @@
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC "%{posix:-lcposix} %{shlib:-lc_s} -lc crtend.o%s" #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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment