https://sourceware.org/bugzilla/show_bug.cgi?id=25754
Bug ID: 25754 Summary: [ld][gold] x86: don't relax GOTPCRELX for SHN_ABS Product: binutils Version: 2.35 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: ld Assignee: unassigned at sourceware dot org Reporter: i at maskray dot me Target Milestone: --- cat > a.s <<e movq bar@GOTPCREL(%rip), %rax .data .global bar bar = 42 e as a.s -o a.o ld.bfd -pie a.o -o a objdump -d a ... Disassembly of section .text: 0000000000001000 <.text>: 1000: 48 8d 05 23 f0 ff ff lea -0xfdd(%rip),%rax # 2a <bar> gold has the same issue. See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94391 and https://bugs.llvm.org/show_bug.cgi?id=30803 -- You are receiving this mail because: You are on the CC list for the bug.