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

2019-07-15 Thread maskray at google dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24784 --- Comment #7 from Fangrui Song --- > For the occurrence of name@GOTPCREL in the following assembler instructions: > call *name@GOTPCREL(%rip) I agree, yet it also says: > (PIC) the base of GOT is within 2GB an indirect call to the GOT ent

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

2019-07-15 Thread hjl.tools at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24784 --- Comment #6 from H.J. Lu --- The psABI also says For the occurrence of name@GOTPCREL in the following assembler instructions: call *name@GOTPCREL(%rip) ... the R_X86_64_GOTPCRELX relocation, or the R_X86_64_REX_GOTPCRELX relocation if the

[Bug binutils/24809] objcopy to not add SECTION symbols if section .note.gnu.gold-version present

2019-07-15 Thread vries at gcc dot gnu.org
https://sourceware.org/bugzilla/show_bug.cgi?id=24809 Tom de Vries changed: What|Removed |Added Component|tools |binutils Version|unspecifie

[Bug binutils/24768] Stop using __gnu_lto_slim symbol as a detection of a slim LTO object

2019-07-15 Thread marxin.liska at gmail dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=24768 --- Comment #3 from Martin Liška --- > > The layout of this struct depends on the host compiler. Won't that cause > problems in object file portability? You are right, I will change streaming of the structure to be always LE in a ELF file.