summaryrefslogtreecommitdiff
path: root/gcc/config/arm/unknown-elf.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/arm/unknown-elf.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/arm/unknown-elf.h')
-rw-r--r--gcc/config/arm/unknown-elf.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h
index 6402c4e697f..9e3389050a9 100644
--- a/gcc/config/arm/unknown-elf.h
+++ b/gcc/config/arm/unknown-elf.h
@@ -1,5 +1,5 @@
/* Definitions for non-Linux based ARM systems using ELF
- Copyright (C) 1998 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999 Free Software Foundation, Inc.
Contributed by Catherine Moore <clm@cygnus.com>
This file is part of GNU CC.
@@ -24,14 +24,6 @@ Boston, MA 02111-1307, USA. */
#define TARGET_VERSION fputs (" (ARM/ELF non-Linux)", stderr);
#endif
-/* If you don't define HAVE_ATEXIT, and the object file format/OS/whatever
- does not support constructors/destructors, then gcc implements destructors
- by defining its own exit function, which calls the destructors. This gcc
- exit function overrides the C library's exit function, and this can cause
- all kinds of havoc if the C library has a non-trivial exit function. You
- really don't want to use the exit function in libgcc2.c. */
-#define HAVE_ATEXIT
-
/* Default to using APCS-32 and software floating point. */
#ifndef TARGET_DEFAULT
#define TARGET_DEFAULT (ARM_FLAG_SOFT_FLOAT | ARM_FLAG_APCS_32)