[llvm] [JITLink][AArch64] Add LD64_GOTPAGE_LO15 rel support (PR #100854)
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 6 01:28:21 PDT 2024
================
@@ -603,6 +767,26 @@ inline Error applyFixup(LinkGraph &G, Block &B, const Edge &E) {
*(ulittle32_t *)FixupPtr = FixedInstr;
break;
}
+ case GotPageOffset15: {
+ Section *GOTSection =
+ G.findSectionByName(aarch64::GOTTableManager::getSectionName());
----------------
lhames wrote:
In other backends we've introduced a `GOTSymbol` parameter to `applyFixup` that allows linkers to cache this symbol (see e.g. x86_64.h) . I think that it would be reasonable to do that here too. This should also improve performance, since you can cache the section start symbol (which you should get from `SectionRange`).
https://github.com/llvm/llvm-project/pull/100854
More information about the llvm-commits
mailing list