[PATCH] D24801: [ELF] - Fix combination of -script and relocatable output.

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 06:49:02 PDT 2016


rafael added inline comments.


================
Comment at: ELF/LinkerScript.cpp:556
+    Out<ELFT>::ElfHeader->setVA(0);
+    Out<ELFT>::ProgramHeaders->setVA(Out<ELFT>::ElfHeader->getSize());
+    return;
----------------
So  Out<ELFT>::ProgramHeaders is the only outsection with a non 0 VA?


https://reviews.llvm.org/D24801





More information about the llvm-commits mailing list