mirror of git://sourceware.org/git/glibc.git
Update.
* elf/do-lookup.h (FCT): st_value can be zero for STT_TLS symbols.
This commit is contained in:
parent
7331ca4db2
commit
7670e25ad5
|
|
@ -1,5 +1,7 @@
|
||||||
2002-02-10 Ulrich Drepper <drepper@redhat.com>
|
2002-02-10 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* elf/do-lookup.h (FCT): st_value can be zero for STT_TLS symbols.
|
||||||
|
|
||||||
* po/fr.po: Update from translation team.
|
* po/fr.po: Update from translation team.
|
||||||
|
|
||||||
* elf/tls-macros.h: Add alternative macros for use in PIC.
|
* elf/tls-macros.h: Add alternative macros for use in PIC.
|
||||||
|
|
|
||||||
|
|
@ -77,10 +77,12 @@ FCT (const char *undef_name, unsigned long int hash, const ElfW(Sym) *ref,
|
||||||
sym = &symtab[symidx];
|
sym = &symtab[symidx];
|
||||||
|
|
||||||
assert (ELF_RTYPE_CLASS_PLT == 1);
|
assert (ELF_RTYPE_CLASS_PLT == 1);
|
||||||
if (sym->st_value == 0 || /* No value. */
|
if ((sym->st_value == 0 /* No value. */
|
||||||
/* ((type_class & ELF_RTYPE_CLASS_PLT)
|
#ifdef USE_TLS
|
||||||
&& (sym->st_shndx == SHN_UNDEF)) */
|
&& ELFW(ST_TYPE) (sym->st_info) != STT_TLS
|
||||||
(type_class & (sym->st_shndx == SHN_UNDEF)))
|
#endif
|
||||||
|
)
|
||||||
|
|| (type_class & (sym->st_shndx == SHN_UNDEF)))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
if (ELFW(ST_TYPE) (sym->st_info) > STT_FUNC
|
if (ELFW(ST_TYPE) (sym->st_info) > STT_FUNC
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue