[PATCH] D45260: COFF: Layout sections in the same order as link.exe
Peter Collingbourne via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 4 11:35:30 PDT 2018
pcc added inline comments.
================
Comment at: COFF/Writer.cpp:661
+ .Case(".rsrc", INT_MAX - 1)
+ .Case(".reloc", INT_MAX)
+ .Default(INT_MAX / 2); // Default to somewhere in the middle.
----------------
Have you confirmed that UpdateResource updates the `.reloc` address in the data directory if it is moved?
https://reviews.llvm.org/D45260
More information about the llvm-commits
mailing list