This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/15030] do_lookup_x returns undefined symbol entry


http://sourceware.org/bugzilla/show_bug.cgi?id=15030

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> 2013-01-18 17:58:21 UTC ---
It only happens with size relocation against TLS symbol:

[hjl@gnu-6 sized-tls-2]$ readelf -r dynamic 

Relocation section '.rela.text' at offset 0x4d0 contains 1 entries:
  Offset          Info           Type           Sym. Value    Sym. Name +
Addend
000000400604  000300000020 R_X86_64_SIZE32   0000000000000000 bar + 0

Relocation section '.rela.got' at offset 0x4e8 contains 2 entries:
  Offset          Info           Type           Sym. Value    Sym. Name +
Addend
000000600b18  000300000012 R_X86_64_TPOFF64  0000000000000000 bar + 0
000000600b20  000500000006 R_X86_64_GLOB_DAT 0000000000000000 __gmon_start__ +
0

We don't consider R_X86_64_SIZE32 as ELF_RTYPE_CLASS_PLT class.
We can check STT_TLS instead of TLS relocations for relocations
against TLS symbols.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]