From 4bafaa6fdcbe72021446626f952e66e979aa4506 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 7 Jun 2002 17:14:56 +0000 Subject: configure.in: Add --enable-__cxa_atexit. 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. From-SVN: r54345 --- gcc/defaults.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/defaults.h') diff --git a/gcc/defaults.h b/gcc/defaults.h index 6a18027..6582d34 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 */ -- cgit v1.1