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/libsupc++/Makefile.in | |
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/libsupc++/Makefile.in')
-rw-r--r-- | libstdc++-v3/libsupc++/Makefile.in | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libstdc++-v3/libsupc++/Makefile.in b/libstdc++-v3/libsupc++/Makefile.in index b2af9ba..e745179 100644 --- a/libstdc++-v3/libsupc++/Makefile.in +++ b/libstdc++-v3/libsupc++/Makefile.in @@ -90,7 +90,7 @@ am__installdirs = "$(DESTDIR)$(toolexeclibdir)" "$(DESTDIR)$(bitsdir)" \ "$(DESTDIR)$(stddir)" LTLIBRARIES = $(noinst_LTLIBRARIES) $(toolexeclib_LTLIBRARIES) libsupc___la_LIBADD = -am__objects_1 = array_type_info.lo atexit_arm.lo bad_alloc.lo \ +am__objects_1 = array_type_info.lo atexit_arm.lo atexit_thread.lo bad_alloc.lo \ bad_cast.lo bad_typeid.lo class_type_info.lo del_op.lo \ del_opnt.lo del_opv.lo del_opvnt.lo dyncast.lo eh_alloc.lo \ eh_arm.lo eh_aux_runtime.lo eh_call.lo eh_catch.lo \ @@ -362,6 +362,7 @@ headers = $(std_HEADERS) $(bits_HEADERS) sources = \ array_type_info.cc \ atexit_arm.cc \ + atexit_thread.cc \ bad_alloc.cc \ bad_cast.cc \ bad_typeid.cc \ @@ -800,6 +801,11 @@ guard.lo: guard.cc guard.o: guard.cc $(CXXCOMPILE) -std=gnu++0x -c $< +atexit_thread.lo: atexit_thread.cc + $(LTCXXCOMPILE) -std=gnu++0x -c $< +atexit_thread.o: atexit_thread.cc + $(CXXCOMPILE) -std=gnu++0x -c $< + nested_exception.lo: nested_exception.cc $(LTCXXCOMPILE) -std=gnu++0x -c $< nested_exception.o: nested_exception.cc |