Invent new .idata section for the page containing the import directory
This change simply shortens .rsrc by one page and then adds a one-page-sized section called .idata in its place, so that there's no longer import stuff in .rsrc, where it doesn't really belong. Characteristics on .rsrc were modified so it's no longer writable; writability was maintained for .rdata and .idata, as they both contain import data.
This commit is contained in:
parent
dc774bd5c3
commit
68b488833b