[PATCH] D102986: [lld][ELF][SPARC] Emit RELA entries
LemonBoy via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 23 10:01:05 PDT 2021
LemonBoy added a comment.
In D102986#2776010 <https://reviews.llvm.org/D102986#2776010>, @jrtc27 wrote:
> Can we not have a test that uses textrel; what's wrong with:
>
> .data
> x: .xword y
>
> or
>
> .data
> x: .xword x
You're greeted with an error:
`relocation R_SPARC_64 cannot be used against local symbol; recompile with -fPIC`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102986/new/
https://reviews.llvm.org/D102986
More information about the llvm-commits
mailing list