[lld] [PAC][lld][AArch64][ELF] Support signed GOT (PR #113815)
Daniil Kovalev via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 4 12:13:27 PST 2024
================
@@ -910,14 +911,26 @@ void elf::addGotEntry(Ctx &ctx, Symbol &sym) {
----------------
kovdan01 wrote:
Moved pauth-specific logic to `addGotAuthEntry`, thanks for suggestion, see e1f82608113396911761f0b97dd57ccd59a16448.
I've updated the caller-side code in `elf::postScanRelocations` to check against `NEEDS_GOT_AUTH`. There is also a call to `addGotEntry` in `handleNonPreemptibleIfunc`, but, we anyway do not support `R_AARCH64_AUTH_IRELATIVE`, so just added a corresponding assertion checking absence of `NEEDS_GOT_AUTH` (see d7336f62cb65ac40d0f157f24838ada9ae32ebe3). Probably the assertion message could be re-phrased somehow - suggestions are welcome :)
https://github.com/llvm/llvm-project/pull/113815
More information about the llvm-commits
mailing list