[PATCH] D19465: [ELF][MIPS] Move MIPS GOT header generation to the GotSection

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 11:59:20 PDT 2016


rafael added inline comments.

================
Comment at: ELF/OutputSections.cpp:149
@@ -148,3 +148,3 @@
     return false;
-  Sym.GlobalDynIndex = Target->GotHeaderEntriesNum + Entries.size();
+  Sym.GlobalDynIndex = Entries.size();
   // Global Dynamic TLS entries take two GOT slots.
----------------
Won't this produce the wrong result for mips now?


Repository:
  rL LLVM

http://reviews.llvm.org/D19465





More information about the llvm-commits mailing list