[Bug ld/24784] elf_x86_64_check_tls_transition should allow R_X86_64_GOTPCREL (-fno-plt)

2019-07-12 Thread maskray at google dot com
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

[Bug ld/24784] elf_x86_64_check_tls_transition should allow R_X86_64_GOTPCREL (-fno-plt)

2019-07-12 Thread maskray at google dot com
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

[Bug ld/24786] assign wrong lma if first section in overlay is empty input section

2019-07-12 Thread amodra at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24786 Alan Modra changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ld/24786] assign wrong lma if first section in overlay is empty input section

2019-07-12 Thread cvs-commit at gcc dot gnu.org
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

[Bug ld/24784] elf_x86_64_check_tls_transition should allow R_X86_64_GOTPCREL (-fno-plt)

2019-07-12 Thread hjl.tools at gmail dot com
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

[Bug gas/24770] elf/type-2.s fails on AArch64

2019-07-12 Thread wdijkstr at arm dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24770 Wilco changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---