[PATCH] D113443: [FreeBSD] avoid marking __stack_chk_guard symbol as dso_local on PPC64
Dimitry Andric via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 22 11:46:41 PST 2021
dim added a comment.
Note that this is the version as we have it in the FreeBSD base system version of llvm 13.0.0. Without the isPPC64() check, we would get unexpected `R_X86_64_REX_GOTP` relocations in our kernel modules, which the kernel module loader cannot handle; see e.g. https://reviews.llvm.org/D109090#3113552 and further comments.
In that comment I mentioned that maybe we could get away with a freestanding check at this point. However, the addition of the isPPC64() check seems to be enough for now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113443/new/
https://reviews.llvm.org/D113443
More information about the llvm-commits
mailing list