[PATCH] D45260: COFF: Layout sections in the same order as link.exe

Hans Wennborg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 4 11:18:27 PDT 2018


hans added a comment.

Peter has a good point that .rsrc should come after any sections not named in the list in my first patch. Also we should probably make sure .reloc really comes last too.

Rather than just moving .rsrc to the end though, I think there is a point in trying to match link.exe's section order.

I've uploaded a new patch version. Please let me know what you think.


https://reviews.llvm.org/D45260





More information about the llvm-commits mailing list