COFF: Merge .idata, .didat and .edata into .rdata by default.
authorPeter Collingbourne <peter@pcc.me.uk>
Tue, 17 Apr 2018 21:44:31 +0000 (21:44 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Tue, 17 Apr 2018 21:44:31 +0000 (21:44 +0000)
commit09e0e2e656dfc92e93d575abaa0eb470f9954fc5
tree54dfac22cb631f9c0db26526b389b76abb05b175
parent7c26663f582bf033cdded2340245dd3ad0b7a139
COFF: Merge .idata, .didat and .edata into .rdata by default.

This saves a little space and matches what link.exe does.

Tested using the chromium Windows trybots:
https://chromium-review.googlesource.com/c/chromium/src/+/1014784

Differential Revision: https://reviews.llvm.org/D45737

llvm-svn: 330223
lld/COFF/Driver.cpp
lld/test/COFF/arm64-relocs-imports.test
lld/test/COFF/delayimports-armnt.yaml
lld/test/COFF/delayimports.test
lld/test/COFF/delayimports32.test
lld/test/COFF/export-armnt.yaml
lld/test/COFF/hello32.test
lld/test/COFF/imports.test
lld/test/COFF/pdb-publics-import.test
lld/test/COFF/symtab.test