diff options
author | jules <jules@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-25 19:35:18 +0000 |
---|---|---|
committer | jules <jules@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-04-25 19:35:18 +0000 |
commit | 46b9ff5ef895d3bd0409e131c2948ecb4d63f9bb (patch) | |
tree | 97d2a98c9b56ae4fd8ac24614ee3652b1607571c /gcc/doc | |
parent | 7219fab5f2729f3e4a2e67f0dbaa30b8c3af4c18 (diff) | |
download | gcc-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/doc')
-rw-r--r-- | gcc/doc/tm.texi | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index 42c5b0f1c9c..771461618cc 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -8735,6 +8735,12 @@ classes whose virtual table will be emitted in only one translation unit will not be COMDAT. @end deftypefn +@deftypefn {Target Hook} bool TARGET_CXX_USE_AEABI_ATEXIT (void) +This hook returns true if @code{__aeabi_atexit} (as defined by the ARM EABI) +should be used to register static destructors when @option{-fuse-cxa-atexit} +is in effect. The default is to return false to use @code{__cxa_atexit}. +@end deftypefn + @node Misc @section Miscellaneous Parameters @cindex parameters, miscellaneous |