[PATCH] ld: Set default subsystem for arm-pe to IMAGE_SUBSYSTEM_WINDOWS_GUI

Mark Harmstone mark@harmstone.com
Mon Jan 23 20:29:40 GMT 2023


Thanks Nick.
> I really dislike magic numbers.  Given that coff/pe.h has been included
> at this point, why not use IMAGE_SUBSYSTEM_... instead of 2 and 9 ?
>
> A separate patch that does this for both pe.em and pep.em is pre-approved,
> should you feel motivated to do so. 

I agree - I will do.

Mark



More information about the Binutils mailing list