================
@@ -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
_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to