[PATCH] ldso/x86_64: support protected symbols

Austin Foxley austinf at cetoncorp.com
Tue Apr 27 16:11:22 UTC 2010


On 04/27/2010 07:44 AM, Timo Teräs wrote:
> Joakim had a clean up patch for the above construct. See patch 1/2 of:
>  http://lists.uclibc.org/pipermail/uclibc/2010-April/043840.html
> (patch 2/2 there is wrong). See also rest of the thread.
> 
> For some reason that did not got merged yet. Austin, care to merge
> that?
> 
> But otherwise looks good.

I was waiting for the discussion between you and Joakim to finish up and
a complete patch to come out of it, then I just sort of forgot about it.
Can someone resend the patch against current master? Thanks!

Regarding the question you asked in that thread: When I added TLS
support in the i386 ldso, it was mostly based off of glibc code. I only
did cursory testing with it, and honestly am unsure about why that
particular check is there.

ldso needs to have some more common code for sure, it's confusing and
incredibly hard to maintain now. But the more pressing need is to get
protected symbol support in for everybody that needs it.

-Austin


More information about the uClibc mailing list