[PATCH] D23768: [ELF] Linkerscript: eliminate LayoutInputSection

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 30 06:02:26 PDT 2016


rafael added a subscriber: rafael.

================
Comment at: ELF/LinkerScript.cpp:317
@@ -344,1 +316,3 @@
+    // Add symbols following current input section.
+    AssignSuccessors(I);
   }
----------------
Is this correctly handling the case of

. = . + 4
foo = .

That is, the virtual address of a symbol is not immediately after a inputsection?


https://reviews.llvm.org/D23768





More information about the llvm-commits mailing list