[PATCH] D70570: [PowerPC] Only use PLT annotations if using PIC relocation model
Brandon Bergren via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 25 09:01:43 PST 2019
Bdragon28 added a comment.
This doesn't seem quite sufficient for FreeBSD kernel modules. It's emitting R_PPC_REL24 instead of R_PPC_ADDR16_HA/R_PPC_ADDR16_LO pairs for stuff like memset and memcpy, which are unusable because we're running modules in KVA and the kernel text in the 32 bit DMAP. Still need to figure out why these are being emitted this way when using freestanding.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70570/new/
https://reviews.llvm.org/D70570
More information about the llvm-commits
mailing list