[PATCH] D13560: [ELF2] Make the .plt entry size target dependent

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 10:04:05 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.h:48
@@ -46,2 +47,3 @@
   unsigned RelativeReloc;
+  unsigned PltEntrySize;
   llvm::StringRef DefaultEntry = "_start";
----------------
All platforms except PPC set value 8, so I'd set the default value "= 8;" here just like we did for DefaultEntry and remove assignments from all places but PPC.


http://reviews.llvm.org/D13560





More information about the llvm-commits mailing list