diff options
author | Paul Brook <paul@codesourcery.com> | 2005-04-25 19:35:18 +0000 |
---|---|---|
committer | Julian Brown <jules@gcc.gnu.org> | 2005-04-25 19:35:18 +0000 |
commit | 9f62c3e3ed53732a8fe755ad5109c1a6ed25bb0c (patch) | |
tree | 97d2a98c9b56ae4fd8ac24614ee3652b1607571c /gcc/target.h | |
parent | 934790cc6719ae6f0d6a7f408cedba1acab9f93d (diff) | |
download | gcc-9f62c3e3ed53732a8fe755ad5109c1a6ed25bb0c.zip gcc-9f62c3e3ed53732a8fe755ad5109c1a6ed25bb0c.tar.gz gcc-9f62c3e3ed53732a8fe755ad5109c1a6ed25bb0c.tar.bz2 |
target-def.h (TARGET_CXX_USE_AEABI_ATEXIT): Define.
* 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.
From-SVN: r98732
Diffstat (limited to 'gcc/target.h')
-rw-r--r-- | gcc/target.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/target.h b/gcc/target.h index 2cb4db2..1786379 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. */ |