[PATCH] D32399: [LLD] Order writable executable sections before writable ones
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 24 10:34:28 PDT 2017
ruiu added inline comments.
================
Comment at: lld/ELF/Writer.cpp:698
if (AIsExec != BIsExec)
- return BIsExec;
+ return (A->Flags & SHF_WRITE) ? AIsExec : BIsExec;
}
----------------
Is there any problem if you just return `AIsExec`?
https://reviews.llvm.org/D32399
More information about the llvm-commits
mailing list