[llvm-branch-commits] [lld] [ELF][PowerPC] Don't assume TOC pointer is valid in IPLT entries (PR #207555)
Fangrui Song via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 23 10:49:00 PDT 2026
================
@@ -83,9 +83,11 @@ std::unique_ptr<Thunk> addThunk(Ctx &, const InputSection &isec,
// are restricted.
std::unique_ptr<Thunk> addLandingPadThunk(Ctx &, Symbol &s, int64_t a);
-void writePPC32PltCallStub(Ctx &, uint8_t *buf, uint64_t gotPltVA,
- const InputFile *file, int64_t addend);
-void writePPC64LoadAndBranch(Ctx &, uint8_t *buf, int64_t offset);
+void writePPC32PltCallStub(Ctx &, uint8_t *buf, uint64_t p, uint64_t gotPltVA,
+ const InputFile *file,
+ std::optional<int64_t> addend);
----------------
MaskRay wrote:
One-line comment that `nullopt` means IPLT entry.
https://github.com/llvm/llvm-project/pull/207555
More information about the llvm-branch-commits
mailing list