[PATCH] D14713: [ELF2] - Optimization for R_X86_64_GOTTPOFF relocation.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 23 11:16:38 PST 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/InputSection.cpp:137
@@ -136,1 +136,3 @@
 
+    if (Body.isTLS() && Target->isTlsOptimized(Type, Body)) {
+      Target->relocateTlsOptimize(BufLoc, BufEnd, AddrLoc,
----------------
Can you move Body.isTLS() into isTlsOptimized function?


http://reviews.llvm.org/D14713





More information about the llvm-commits mailing list