]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
ld,dlltool: move read-only delayimp data into .rdata
authorJeremy Drake <sourceware-bugzilla@jdrake.com>
Fri, 13 Jun 2025 05:52:47 +0000 (07:52 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Jun 2025 05:52:47 +0000 (07:52 +0200)
commitb2c87b521b5d3dcd21134f89a60cdcf271328dcb
tree030f1325b3e06f6f52b6f3038fbf946e785f888f
parent3cad19db4e6b72195b22be1f93c81a2b229e4c07
ld,dlltool: move read-only delayimp data into .rdata

This allows the delay IAT to be in its own section with nothing else, as
required by IMAGE_GUARD_DELAYLOAD_IAT_IN_ITS_OWN_SECTION, documented at
https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#load-configuration-layout

Signed-off-by: Jeremy Drake <sourceware-bugzilla@jdrake.com>
binutils/dlltool.c
ld/scripttempl/pe.sc
ld/scripttempl/pep.sc