summaryrefslogtreecommitdiff
path: root/gcc/config/arm/unknown-elf.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-18 23:58:21 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-18 23:58:21 +0000
commit11cd7d778761c09a08bd32fbff2bc9156c300185 (patch)
tree7e1a8332652f11d7ac0e018602c70ca12e95948b /gcc/config/arm/unknown-elf.h
parent3f78a936c0f7ae644a1f90dc78a0e2bb6c57ec15 (diff)
downloadgcc-11cd7d778761c09a08bd32fbff2bc9156c300185.tar.gz
* config.gcc (*-*-linux*): Don't define HAVE_ATEXIT or BSTRING.
* tm.texi (EXIT_BODY): Update documentation. * config/freebsd.h, config/netware.h, config/arm/coff.h, config/arm/conix-elf.h, config/arm/unknown-elf.h, config/d30v/d30v.h, config/mcore/mcore.h, config/pj/pj.h, sparc/sp86x-aout.h: Remove definitions of HAVE_ATEXIT (some commented out) and associated comments. f: * com.c [VMS]: Remove definition of BSTRING. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38370 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/unknown-elf.h')
-rw-r--r--gcc/config/arm/unknown-elf.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/gcc/config/arm/unknown-elf.h b/gcc/config/arm/unknown-elf.h
index 9b883d0e061..315baff6920 100644
--- a/gcc/config/arm/unknown-elf.h
+++ b/gcc/config/arm/unknown-elf.h
@@ -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 | ARM_FLAG_APCS_FRAME)