https://sourceware.org/bugzilla/show_bug.cgi?id=30437
--- Comment #2 from Michael Matz <matz at suse dot de> --- ld.gold gets the testcase correct: % ld.gold -pie rela.o % objdump -sRj .data a.out a.out: file format elf64-littleaarch64 DYNAMIC RELOCATION RECORDS OFFSET TYPE VALUE 0000000000020000 R_AARCH64_RELATIVE *ABS*+0x0000000000020032 0000000000020008 R_AARCH64_RELATIVE *ABS*+0x0000000000020054 Contents of section .data: 20000 32000200 00000000 54000200 00000000 2.......T....... The patch does the same for ld.bfd. -- You are receiving this mail because: You are on the CC list for the bug.