https://sourceware.org/bugzilla/show_bug.cgi?id=20805

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #10 from H.J. Lu <hjl.tools at gmail dot com> ---
Gold generates:

Symbol table '.dynsym' contains 1821 entries:
   Num:    Value          Size Type    Bind   Vis      Ndx Name
     0: 0000000000000000     0 NOTYPE  LOCAL  DEFAULT  UND 
     1: 0000000000068d58    32 TLS     LOCAL  DEFAULT   16
_ZN11__sanitizerL4dtlsE
     2: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND __gmon_start__
     3: 0000000000000000     0 FUNC    GLOBAL DEFAULT  UND
getpagesize@GLIBC_2.2.5 (2)
     4: 0000000000021f30     0 FUNC    GLOBAL DEFAULT    9 _init
     5: 00000000000a07a8     0 FUNC    GLOBAL DEFAULT   12 _fini
     6: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND
_ITM_deregisterTMCloneTab
     7: 0000000000000000     0 NOTYPE  WEAK   DEFAULT  UND
_ITM_registerTMCloneTable
     8: 0000000000000000     0 FUNC    WEAK   DEFAULT  UND
__cxa_finalize@GLIBC_2.2.5 (2)
     9: 000000000007da00    69 FUNC    GLOBAL DEFAULT   11
_ZN11__sanitizer11CheckFa
    10: 0000000000024950     8 FUNC    WEAK   DEFAULT   11
__tsan_default_options
    11: 00000000000252b0     6 FUNC    WEAK   DEFAULT   11 __tls_get_addr
    12: 00000000000252b0     6 FUNC    GLOBAL DEFAULT   11
__interceptor___tls_get_a
    13: 0000000000000140 0x68c18 TLS     LOCAL  HIDDEN    16
_ZN6__tsan22cur_thread_pl
                                         ^^^^^^  This is wrong.

[hjl@gnu-6 tsan]$ readelf -s .libs/libtsan.so.0  > /dev/null
readelf: Warning: local symbol 13 found at index >= .dynsym's sh_info value of
2
[hjl@gnu-6 tsan]$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to