[PATCH] D13565: [ELF2] Allow PPC64 to add the TOC-restore after .plt-based relocations

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 12 12:14:29 PDT 2015


ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.

LGTM with a nit.


================
Comment at: ELF/Target.cpp:405
@@ +404,3 @@
+    uint64_t PltEnd = PltStart + Out<ELF64BE>::Plt->getSize();
+    bool ForPltEntry = PltStart <= S + A && S + A < PltEnd;
+
----------------
Can you rename InPlt?


http://reviews.llvm.org/D13565





More information about the llvm-commits mailing list