[PATCH] ld: Drop pep-dll-{aarch64,x86_64}.c

Evgeny Karpov evgeny.karpov@arm.com
Mon Jun 1 17:02:53 GMT 2026


On Sun, 31 May 2026, Jon Turney wrote:
> I can't see anything in pe{,p}-dll.c which depends on the
> COFF_WITH_peAArch64 or COFF_WITH_pex64 defines, so just remove all this.

> Cc'ed Evgeny (Hi!), because I think this crosses with not-yet-submitted
> patches of his which do add some code conditional on COFF_WITH_peAArch64.
> 
> I imagine it's possible in code which *does* need to depend on the
> output target to replace build time checks of COFF_WITH_pe{AArch64,x64}
> with a runtime check of the output architecture (via
> pe_details->pe_arch?).

Hi Jon, 

Thank you for noticing not-yet-upstreamed patches that introduce 
COFF_WITH_peAArch64 in pe-dll.c. The change looks reasonable, and impacted
patches will be updated with necessary declarations.

LGTM for aarch64-w64-mingw32 target.

Regards,
Evgeny
 


More information about the Binutils mailing list