diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-07 17:14:56 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-06-07 17:14:56 +0000 |
commit | 70ac87845bdde2837fe416373eb739502a0a0129 (patch) | |
tree | 7b79110893271a1bcef5fac2db1e598cc8ba4b95 /gcc/defaults.h | |
parent | ca3b9513ad9da05058817a7556645870d2c947c0 (diff) | |
download | gcc-70ac87845bdde2837fe416373eb739502a0a0129.tar.gz |
2002-06-07 H.J. Lu (hjl@gnu.org)
* configure.in: Add --enable-__cxa_atexit.
* configure: Regenerated.
* config.in: Likewise.
* defaults.h (DEFAULT_USE_CXA_ATEXIT): New. Defined to be 0 if
not defined.
2002-06-07 H.J. Lu (hjl@gnu.org)
* decl2.c (flag_use_cxa_atexit): Set to DEFAULT_USE_CXA_ATEXIT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54345 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/defaults.h')
-rw-r--r-- | gcc/defaults.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/defaults.h b/gcc/defaults.h index 6a180272265..6582d34dbfd 100644 --- a/gcc/defaults.h +++ b/gcc/defaults.h @@ -496,4 +496,10 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! #define UNLIKELY_EXECUTED_TEXT_SECTION_NAME "text.unlikely" #endif +/* Determine whether __cxa_atexit, rather than atexit, is used to + register C++ destructors for local statics and global objects. */ +#ifndef DEFAULT_USE_CXA_ATEXIT +#define DEFAULT_USE_CXA_ATEXIT 0 +#endif + #endif /* ! GCC_DEFAULTS_H */ |