[PATCH] D157365: [lld][PPC64] Fix location of the least significant byte when fixing up R_PPC64_ADDR14 for little-endian target
Kai Luo via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 9 20:22:47 PDT 2023
lkail added a comment.
> It seems that MC assembler doesn't produce R_PPC64_ADDR14
Actually, it does for following code.
bca_target:
blr
check_reloc_addr14:
bca 20,31,bca_target
`llvm-mc -filetype=obj t.s -o t.o -triple=powerpc64le`, and `llvm-objdump -r t.o` outputs
t.o: file format elf64-powerpcle
RELOCATION RECORDS FOR [.text]:
OFFSET TYPE VALUE
0000000000000004 R_PPC64_ADDR14 .text
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D157365/new/
https://reviews.llvm.org/D157365
More information about the llvm-commits
mailing list