[PATCH] D22811: [ELF] Linkerscript: allow setting custom output section for common symbols, instead of .bss
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 27 15:03:24 PDT 2016
evgeny777 added inline comments.
================
Comment at: ELF/Symbols.h:188
@@ -187,1 +187,3 @@
+ // Output section for this symbol (default is .bss)
+ OutputSectionBase<ELFT> *Section = nullptr;
};
----------------
ruiu wrote:
> You can remove this variable, no?
So you suggest to replace it with pointer to CommonInputSection and use OutSec and OutSecOff, correct?
https://reviews.llvm.org/D22811
More information about the llvm-commits
mailing list