aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/elfos.h
diff options
context:
space:
mode:
authorJason Merrill <jason@yorick.cygnus.com>1999-09-15 21:41:16 +0000
committerJason Merrill <jason@gcc.gnu.org>1999-09-15 17:41:16 -0400
commitc063dc9813c9aecef8db565e265d76668f8c8fae (patch)
tree43a34e737f568cf4befde4eaa3fc41de57b903c4 /gcc/config/elfos.h
parent19832c7774e145cd1e545d1fb322d9397ffa17bc (diff)
downloadgcc-c063dc9813c9aecef8db565e265d76668f8c8fae.zip
gcc-c063dc9813c9aecef8db565e265d76668f8c8fae.tar.gz
gcc-c063dc9813c9aecef8db565e265d76668f8c8fae.tar.bz2
gbl-ctors.h: Lose HAVE_ATEXIT.
* gbl-ctors.h: Lose HAVE_ATEXIT. Don't define ON_EXIT. * libgcc2.c: Lose obsolete defn of WEAK_ALIAS. (__bb_init_func, __bb_init_prg): Use atexit instead of ON_EXIT. (__do_global_dtors): Likewise. Don't mess with _exit_dummy_decl. (atexit, exit): Simplify. * tm.texi: Document NEED_ATEXIT and ON_EXIT. Remove HAVE_ATEXIT. * config/lots: Remove defns of HAVE_ATEXIT. From-SVN: r29439
Diffstat (limited to 'gcc/config/elfos.h')
-rw-r--r--gcc/config/elfos.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/config/elfos.h b/gcc/config/elfos.h
index 3438a8d..a23805e 100644
--- a/gcc/config/elfos.h
+++ b/gcc/config/elfos.h
@@ -20,9 +20,6 @@ along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* For the sake of libgcc2.c, indicate target supports atexit. */
-#define HAVE_ATEXIT
-
#undef ENDFILE_SPEC
#define ENDFILE_SPEC "crtend.o%s"