https://sourceware.org/bugzilla/show_bug.cgi?id=20805
Dmitry Vyukov <dvyukov at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dvyukov at google dot com
--- Comment #1 from Dmitry Vyukov <dvyukov at google dot com> ---
ld.bfd compiles access to the initial-exec tls variable:
6da8a: 64 48 8b 04 25 00 00 mov %fs:0x0,%rax
6da93: 48 03 05 fe 9e 26 00 add 0x269efe(%rip),%rax
6daa8: 83 80 98 02 02 00 01 addl $0x1,0x20298(%rax)
which looks correct.
while gold compiles it to:
6effa: 66 48 8d 3d 66 cf 06 data16 lea 0x6cf66(%rip),%rdi #
dbf68 <_ZN6__tsan22cur_thread_placeholderE@@Base+0xdbf28>
6f001: 00
cur_thread()->ignore_interceptors++;
6f002: 66 66 48 e8 16 3d fb data16 data16 callq 22d20
<__tls_get_addr@plt>
Markus, what version of gold do you have? Maybe it is old?
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils