[PATCH] D15581: [ELF] - fixed not properly handled @GOTTPOFF relocation against local symbols.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 16 10:46:50 PST 2015


ruiu added inline comments.

================
Comment at: ELF/InputSection.cpp:187
@@ -167,1 +186,3 @@
+    if (!PBody) {
+      uintX_t SymVA = getLocalRelTarget(*File, RI, A);
       Target->relocateOne(BufLoc, BufEnd, Type, AddrLoc, SymVA, 0,
----------------
This is an unrelated change to the reordering of TLS optimization code, no? If so, please split this patch into two patches.


http://reviews.llvm.org/D15581





More information about the llvm-commits mailing list