[PATCH] D50133: [LLD] Do not overwrite LMAOffset of PT_LOAD header

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 2 03:43:44 PDT 2018


grimar added inline comments.


================
Comment at: ELF/LinkerScript.cpp:758
+
+static OutputSection *findFirstSection(PhdrEntry *Load) {
+  for (OutputSection *Sec : OutputSections)
----------------
grimar wrote:
> It is taken from LinkerScript.cpp I guess. I think it is ok to have a copy for now since this helper is little.
Oops. it is the same file :) Ignore this comment then.


https://reviews.llvm.org/D50133





More information about the llvm-commits mailing list