[PATCH] D22749: [ELF] - Linkerscript: Implemented SORT command
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 25 04:50:34 PDT 2016
evgeny777 added inline comments.
================
Comment at: ELF/LinkerScript.cpp:137
@@ +136,3 @@
+ [](InputSectionBase<ELFT> *A, InputSectionBase<ELFT> *B) {
+ return A->getSectionName() < B->getSectionName();
+ });
----------------
grimar wrote:
> evgeny777 wrote:
> > What about SORT(*(.data))? How will .data sections be ordered?
> >
> >
> In the same order as linker see them ?
The should be sorted by file names, I think.
https://reviews.llvm.org/D22749
More information about the llvm-commits
mailing list