[PATCH] D33145: Clear output section from linker script command when it's removed.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 16 10:38:46 PDT 2017


ruiu added inline comments.


================
Comment at: ELF/LinkerScript.cpp:703
 
-    auto *OutSec = make<OutputSection>(Cmd->Name, Type, Flags);
+    auto *OutSec = make<OutputSection>(Cmd->Name, SHT_PROGBITS, Flags);
     OutSec->SectionIndex = I;
----------------
What is the meaning of this change?


https://reviews.llvm.org/D33145





More information about the llvm-commits mailing list