summaryrefslogtreecommitdiff
path: root/gcc/config/lynx.h
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-15 21:41:16 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>1999-09-15 21:41:16 +0000
commit3da2e0975b47ddd9ac4c762a4263c2ac7dba4379 (patch)
tree43a34e737f568cf4befde4eaa3fc41de57b903c4 /gcc/config/lynx.h
parentcaa1595af210314675316780a6964d54a46c306d (diff)
downloadgcc-3da2e0975b47ddd9ac4c762a4263c2ac7dba4379.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29439 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/lynx.h')
-rw-r--r--gcc/config/lynx.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/gcc/config/lynx.h b/gcc/config/lynx.h
index 62c790b6bfb..beac4491919 100644
--- a/gcc/config/lynx.h
+++ b/gcc/config/lynx.h
@@ -1,5 +1,5 @@
/* Target independent definitions for LynxOS.
- Copyright (C) 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1994, 1995, 1996, 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -122,11 +122,6 @@ do { \
warning ("-msystem-v and -mthreads are incompatible"); \
} while (0)
-/* Define this so that C++ destructors will use atexit, since LynxOS
- calls exit after main returns. */
-
-#define HAVE_ATEXIT
-
/* Since init.o et al put all sorts of stuff into the init section,
we can't use the standard init section support in crtbegin.o. */