|
From: | ard.biesheuvel at linaro dot org |
Subject: | [Bug ld/20402] ld.bfd for AArch64 emits R_AARCH64_RELATIVE relocations against SHN_ABS symbols |
Date: | Sun, 24 Jul 2016 14:03:25 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=20402 --- Comment #2 from Ard Biesheuvel <ard.biesheuvel at linaro dot org> --- The issue can be reproduced by: abs.s ----- .quad foo, bar abs.lds ------- HIDDEN(foo = ABSOLUTE(0xff00ff11ff22ff33)); bar = ABSOLUTE(0xff44ff55ff66ff77); Build using aarch64-linux-gnu-gcc -pie -nostdlib -o abs -T abs.lds abs.s which produces a binary containing the following relocations Relocation section '.rela.dyn' at offset 0x100c8 contains 2 entries: Offset Info Type Sym. Value Sym. Name + Addend 000000000000 000000000403 R_AARCH64_RELATIV -ff00ee00dd00cd 000000000008 000200000101 R_AARCH64_ABS64 ff44ff55ff66ff77 bar + 0 -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |