ld: Set default subsystem for arm-pe to IMAGE_SUBSYSTEM_WINDOWS_GUI
authorMark Harmstone <mark@harmstone.com>
Sun, 22 Jan 2023 23:45:03 +0000 (23:45 +0000)
committerMark Harmstone <mark@harmstone.com>
Mon, 23 Jan 2023 20:29:51 +0000 (20:29 +0000)
commitcec13966ba4f7c85f527a6310e1b07ee956d08f3
tree15f8f7cf8a27ed87e3099e0c3648492c04e6db2a
parent6f4a117fe1ea8f5722ff9fd4db9a1ecc8bd26b84
ld: Set default subsystem for arm-pe to IMAGE_SUBSYSTEM_WINDOWS_GUI

This fixes the test failures introduced by 87a5cf5c, by changing the
default subsystem for arm-pe from 9 (IMAGE_SUBSYSTEM_WINDOWS_CE_GUI) to
2 (IMAGE_SUBSYSTEM_WINDOWS_GUI), which matches what happens with other
PE targets.

As far as I can tell there's no working modern Windows CE toolchain
knocking about anyway, so this change shouldn't inconvenience anyone.
ld/emultempl/pe.em