-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 1/14/2011 2:27 AM, Khem Raj wrote:
> On Wed, Jan 12, 2011 at 3:22 AM, Carmelo AMOROSO <carmelo.amor...@st.com> 
> wrote:
>  > diff --git a/ldso/ldso/mips/elfinterp.c b/ldso/ldso/mips/elfinterp.c
>  > index a56ee81..1c1489d 100644
>  > --- a/ldso/ldso/mips/elfinterp.c
>  > +++ b/ldso/ldso/mips/elfinterp.c
>  > @@ -213,10 +213,14 @@ int _dl_parse_relocation_information(struct dyn_elf 
> *xpnt,
>  >  # endif
>  >                        {
>  >                                struct elf_resolve *tpnt_tls = NULL;
>  > +                               struct symbol_ref sym_ref;
>  > +                               sym_ref.sym = &symtab[symtab_index];
>  > +                               sym_ref.tpnt =  NULL;
>  >
>  >                                if 
> (ELF32_ST_BIND(symtab[symtab_index].st_info) != STB_LOCAL) {
>  >                                        symbol_addr = (unsigned long) 
> _dl_find_hash(symname, tpnt->symbol_scope,
>  > -                                               tpnt, 
> elf_machine_type_class(reloc_type), &tpnt_tls);
>  > +                                               tpnt, 
> elf_machine_type_class(reloc_type), &sym_ref);
>  > +                                       tls_tpnt = sym_ref.tpnt;
> ^^^^^^^
> 
> in mips its called tpnt_tls :). I am ok if you rename it to tls_tpnt
> in the complete function thats fine and will be like other arches
> but as it is in the patch it wont work.
> 

Sorry, it was a typo due cut&past (undortunately I could not build test
it). I'll amend the commit on my branch.

Thanks,
Carmelo

> 
>  >                                }
>  >                            /* In case of a TLS reloc, tpnt_tls NULL means 
> we 
> have an 'anonymous'
>  >                               symbol.  This is the case for a static tls 
> variable, so the lookup
>  >
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0wi9wACgkQoRq/3BrK1s++UQCggZtH5J3QxY9m+B7FBuoHwcnS
c1wAoLmKHmt95JL4oL+d03YXKg9EgKJk
=/sig
-----END PGP SIGNATURE-----
_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to