diff options
author | Jason Merrill <jason@redhat.com> | 2012-10-08 10:45:24 -0400 |
---|---|---|
committer | Jason Merrill <jason@gcc.gnu.org> | 2012-10-08 10:45:24 -0400 |
commit | 5b031b9b56c63fbf2a24638e6ccb8da45ce936c1 (patch) | |
tree | a4a11fca4a9f7ebc76dd07531401ce88063958e0 /libstdc++-v3/config | |
parent | b1db7f9139c8a0915f81359eefc10c6187d6145c (diff) | |
download | gcc-5b031b9b56c63fbf2a24638e6ccb8da45ce936c1.zip gcc-5b031b9b56c63fbf2a24638e6ccb8da45ce936c1.tar.gz gcc-5b031b9b56c63fbf2a24638e6ccb8da45ce936c1.tar.bz2 |
Support C++11 thread_local destructors.
gcc/cp/
* decl.c (get_thread_atexit_node): New.
(register_dtor_fn): Use it for TLS.
libstdc++-v3/
* libsupc++/cxxabi.h: Declare __cxa_thread_atexit.
* libsupc++/atexit_thread.cc: New.
* libsupc++/Makefile.am (nested_exception.lo): Add it.
* config/abi/pre/gnu.ver: Add __cxa_thread_atexit.
From-SVN: r192210
Diffstat (limited to 'libstdc++-v3/config')
-rw-r--r-- | libstdc++-v3/config/abi/pre/gnu.ver | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libstdc++-v3/config/abi/pre/gnu.ver b/libstdc++-v3/config/abi/pre/gnu.ver index 396feec..e23fdfb 100644 --- a/libstdc++-v3/config/abi/pre/gnu.ver +++ b/libstdc++-v3/config/abi/pre/gnu.ver @@ -1531,6 +1531,10 @@ CXXABI_1.3.6 { } CXXABI_1.3.5; +CXXABI_1.3.7 { + __cxa_thread_atexit; +} CXXABI_1.3.6; + # Symbols in the support library (libsupc++) supporting transactional memory. CXXABI_TM_1 { |