https://sourceware.org/bugzilla/show_bug.cgi?id=24784
--- Comment #3 from Fangrui Song ---
This was discovered by a Rust user. They use clang integrated assembler (not
GNU as) with GNU ld. The integrated assembler isn't configured with
-Wa,-mrelax-relocations=yes on by default. I worked around
https://sourceware.org/bugzilla/show_bug.cgi?id=24784
--- Comment #2 from Fangrui Song ---
(In reply to H.J. Lu from comment #1)
> Since the new linker is required to support no-PLT TLS sequence,
> R_X86_64_GOTPCRELX should be used here. R_X86_64_GOTPCREL won't
> work with the old linker
https://sourceware.org/bugzilla/show_bug.cgi?id=24786
Alan Modra changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://sourceware.org/bugzilla/show_bug.cgi?id=24786
--- Comment #1 from cvs-commit at gcc dot gnu.org ---
The master branch has been updated by Alan Modra :
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=7b2438015ca87297b2796c662182f796bb5358c2
commit
https://sourceware.org/bugzilla/show_bug.cgi?id=24784
--- Comment #1 from H.J. Lu ---
Since the new linker is required to support no-PLT TLS sequence,
R_X86_64_GOTPCRELX should be used here. R_X86_64_GOTPCREL won't
work with the old linker anyway.
--
You are receiving this mail because:
You
https://sourceware.org/bugzilla/show_bug.cgi?id=24770
Wilco changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---