libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] tls_model("initial-exec") attribute prevents dynam


From: Milian Wolff
Subject: Re: [Libunwind-devel] tls_model("initial-exec") attribute prevents dynamic loading of libunwind via dlopen()
Date: Mon, 07 May 2018 21:27:04 +0200

On Mittwoch, 2. Mai 2018 13:23:03 CEST Bert Wesarg wrote:
> Dear Milian,
> 
> I tried to remember why we choose the initial-exec model, but could
> not found any reasons. By reading
> https://www.akkadia.org/drepper/tls.pdf again, I would say
> "local-exec" is the right way to go here. Which should be the default
> for 'static' variables anyway. Can you please confirm, that this works
> for you. Its just important, that there are no calls to
> __tls_get_addr() in the asm output.

No, with the default I do see __tls_get_addr in the asm output (i.e. matches 
in Gparser.o). So probably, the default isn't OK to be used everywhere.

Thanks

-- 
Milian Wolff
address@hidden
http://milianw.de

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]