diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-11-21 17:14:43 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1997-11-21 17:14:43 +0000 |
commit | 8cb9a1cacf8753bcc2662d1c393bf4d384b257db (patch) | |
tree | a6cc21b031dccbcb19e2842e82c703397e35a59c | |
parent | b58ae2dce5e5369c03c1b2063b39402e22a899b3 (diff) | |
download | gcc-8cb9a1cacf8753bcc2662d1c393bf4d384b257db.tar.gz |
* i386/sco5.h (HAVE_ATEXIT): Revert last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@16641 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/i386/sco5.h | 1 | ||||
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.mike/p9732b.C | 4 |
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3771facf013..af4de0a4047 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Fri Nov 21 10:13:11 1997 Robert Lipe (robertl@dgii.com) + + * i386/sco5.h (HAVE_ATEXIT): Revert last change. + Thu Nov 20 16:11:50 1997 Richard Henderson <rth@cygnus.com> * alpha.c (alpha_emit_set_const_1): Handle narrow hosts better. diff --git a/gcc/config/i386/sco5.h b/gcc/config/i386/sco5.h index cc5c533b754..5faa7f7f9c4 100644 --- a/gcc/config/i386/sco5.h +++ b/gcc/config/i386/sco5.h @@ -945,6 +945,7 @@ compiler at the end of the day. Onward we go ... # if defined (_SCO_ELF) # define OBJECT_FORMAT_ELF +# define HAVE_ATEXIT 1 # define INIT_SECTION_ASM_OP INIT_SECTION_ASM_OP_ELF # define FINI_SECTION_ASM_OP FINI_SECTION_ASM_OP_ELF # define DTORS_SECTION_ASM_OP DTORS_SECTION_ASM_OP_ELF diff --git a/gcc/testsuite/g++.old-deja/g++.mike/p9732b.C b/gcc/testsuite/g++.old-deja/g++.mike/p9732b.C index aadb374b996..c2aedd27b2a 100644 --- a/gcc/testsuite/g++.old-deja/g++.mike/p9732b.C +++ b/gcc/testsuite/g++.old-deja/g++.mike/p9732b.C @@ -21,8 +21,8 @@ public: else { if (count != 0) - exit (1); - exit (0); + _exit (1); + _exit (0); } } } d; |