[PATCH v4] Destructor support for C++11 thread_local variables
Jason Merrill
jason@redhat.com
Fri Feb 15 18:15:00 GMT 2013
On 02/15/2013 12:33 AM, Siddhesh Poyarekar wrote:
>> OK, I need some clarification here, is DSO_HANDLE a handle returned by
>> dlopen() or simply a symbol within the DSO that the compiler has?
>> I assume the latter, otherwise I don't think this would work.
>
> It's a symbol added (I think) by the linker.
It's a hidden symbol named __dso_handle from crtbegin.o.
Jason
More information about the Libc-alpha
mailing list