llvm-project
854eec75 - [PAC][ELF] Make non-preemptible IFUNC GOT assertion an error and extend

Commit
39 days ago
[PAC][ELF] Make non-preemptible IFUNC GOT assertion an error and extend Support for R_AARCH64_AUTH_IRELATIVE is not yet present in LLD, but we accept various input that would give rise to needing it. For the direct reloc case, replaceWithDefined asserts (rather than give an error message) this was not requested, whilst for the non-direct reloc case it silently ignores which GOT type was requested. In the latter case, and the former when assertions are disabled, this results in mis-linking the object, producing one with a non-AUTH GOT entry, that would presumably then fail the AUTDA operation in any user of it (aside from the IPLT entry generated by LLD). Fixes: 417d2d7ce694 ("[PAC][lld][AArch64][ELF] Support signed GOT (#113815)")
Author
Parents
Loading