[PATCH] D33647: [ELF] - Linkerscript: implement NOLOAD section type.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 7 09:15:57 PDT 2017
ruiu accepted this revision.
ruiu added a comment.
This revision is now accepted and ready to land.
LGTM
================
Comment at: ELF/LinkerScript.cpp:436-437
+
+ if (Cmd->Noload)
+ Sec->Type = SHT_NOBITS;
}
----------------
Move this before `SecToCmd[Sec] = Cmd;` so that assignments to Sec->{SectionIndex,Type} are next to each other in the source code.
https://reviews.llvm.org/D33647
More information about the llvm-commits
mailing list