PATCH to libstdc++ to use __cxa_thread_atexit_impl if available

Jason Merrill
Sat Jan 19 17:22:00 GMT 2013

Siddhesh has a patch to implement the thread atexit functionality in 
glibc in order to integrate better with the dynamic loader and run the 
cleanups in the correct order.  Once it's available there, this patch 
will make the copy in libsupc++ use it.  The main __cxa_thread_atexit 
function will always live in libsupc++, however, in order to maintain 
ABI compatibility between releases of libstdc++.

Does this configure change look right, or should it go in linkage.m4 

I think I'll hold off checking this in until Siddhesh's patch goes into 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atexit-impl.patch
Type: text/x-patch
Size: 2607 bytes
Desc: not available
URL: <>

More information about the Gcc-patches mailing list