[PATCH] D61973: [AArch64] Support .reloc *, R_AARCH64_NONE, *
Ryan Prichard via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 15 22:34:38 PDT 2019
rprichard added a comment.
The commit message only mentions AArch64, but the commit appears to also add support for R_ARM_NONE. I tried using R_ARM_NONE, though, and was unsuccessful:
$ clang -target arm-linux-gnu test.s -c -mfloat-abi=soft
test.s:1:3: error: unsupported relocation on symbol
.reloc 0, R_ARM_NONE, .text
^
I was able to use R_ARM_NONE with -fno-integrated-as, but then lld couldn't link the object file into a relobj with -Wl,-r:
$ clang -target armv7a-linux-gnueabi test.o -mfloat-abi=soft -o foo -Wl,-r -fuse-ld=lld -nostdlib
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
ld.lld: error: test.o:(.rel.text+0x0): unrecognized reloc 0
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D61973/new/
https://reviews.llvm.org/D61973
More information about the llvm-commits
mailing list