[PATCH] ldso/powerpc: add support for protected symbols

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Nov 29 12:20:20 UTC 2010


Carmelo AMOROSO <carmelo.amoroso at st.com> wrote on 2010/11/29 11:48:10:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 10/27/2010 11:14 AM, Joakim Tjernlund wrote:
> >  > From: Gustavo Zacarias <gustavo at zacarias.com.ar>
> >
> > Ah, NAK. This really needs to be general code.
> > I drafted an impl. in
> > http://lists.uclibc.org/pipermail/uclibc/2010-April/043949.html
> >
> > As far as I know, none has tried to test this patch yet.
> >
> > Jocke
> >
>
> Hi Jocke,
> I've asked a guy in my team to take the action to work on this to close
> this issue definitely for all archs, and the reference implementation
> will be based on your proposal.

Great!

>
> Anyway, what I'm thinking is to wrap the new ref_sym pointer together
> with the tls_tpnt into a new argument. This will feet with the need for
> prelinking and easy the merge.
>
> Basically something like that
>
> struct sym_val {
>    const ElfW(Sym) *s;
>    struct elf_resolve *m;
> };

That should work just as good too.

    Jocke



More information about the uClibc mailing list