* i386/sco5.h (HAVE_ATEXIT): Revert last change.
authorRobert Lipe <robertl@dgii.com>
Fri, 21 Nov 1997 17:14:43 +0000 (17:14 +0000)
committerJeff Law <law@gcc.gnu.org>
Fri, 21 Nov 1997 17:14:43 +0000 (10:14 -0700)
From-SVN: r16641

gcc/ChangeLog
gcc/config/i386/sco5.h
gcc/testsuite/g++.old-deja/g++.mike/p9732b.C

index 3771facf013d9f1dc8ce0e9624aa0038475cb4f0..af4de0a404718fef7cc0fb0737c1f515bc41f053 100644 (file)
@@ -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.
index cc5c533b7547808ea323a71d0d770cca9b70844d..5faa7f7f9c44c7234491a9de8f24fd2dc5c30806 100644 (file)
@@ -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
index aadb374b996de4e206098518e32834061e171bf6..c2aedd27b2af81de648e427fa2cbd107b0b6a0c3 100644 (file)
@@ -21,8 +21,8 @@ public:
     else
       {
        if (count != 0)
-         exit (1);
-       exit (0);
+         _exit (1);
+       _exit (0);
       }
   }
 } d;