summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/i386/sco5.h1
-rw-r--r--gcc/testsuite/g++.old-deja/g++.mike/p9732b.C4
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;