summaryrefslogtreecommitdiff
path: root/gcc/target.h
diff options
context:
space:
mode:
authorjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-25 19:35:18 +0000
committerjules <jules@138bc75d-0d04-0410-961f-82ee72b054a4>2005-04-25 19:35:18 +0000
commit46b9ff5ef895d3bd0409e131c2948ecb4d63f9bb (patch)
tree97d2a98c9b56ae4fd8ac24614ee3652b1607571c /gcc/target.h
parent7219fab5f2729f3e4a2e67f0dbaa30b8c3af4c18 (diff)
downloadgcc-46b9ff5ef895d3bd0409e131c2948ecb4d63f9bb.tar.gz
* target-def.h (TARGET_CXX_USE_AEABI_ATEXIT): Define.
* target.h (struct gcc_target): Add cxx.use_aeabi_atexit. * config/arm/arm.c (arm_cxx_atexit_name): New function. (TARGET_CXX_USE_AEABI_ATEXIT): New macro. * cp/decl.c (get_atexit_node): Reorder arguments for __aeabi_atexit. (register_dtor_fn): Likewise. * doc/tm.texi: Document TARGET_CXX_USE_AEABI_ATEXIT. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98732 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/target.h')
-rw-r--r--gcc/target.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h
index 2cb4db278a0..1786379ed55 100644
--- a/gcc/target.h
+++ b/gcc/target.h
@@ -603,6 +603,9 @@ struct gcc_target
class data for classes whose virtual table will be emitted in
only one translation unit will not be COMDAT. */
bool (*class_data_always_comdat) (void);
+ /* Returns true if __aeabi_atexit should be used to register static
+ destructors. */
+ bool (*use_aeabi_atexit) (void);
} cxx;
/* Leave the boolean fields at the end. */