From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7904) id 7C9FE3858284; Mon, 23 Jan 2023 20:30:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7C9FE3858284 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Mark Harmstone To: bfd-cvs@sourceware.org Subject: [binutils-gdb] ld: Set default subsystem for arm-pe to IMAGE_SUBSYSTEM_WINDOWS_GUI X-Act-Checkin: binutils-gdb X-Git-Author: Mark Harmstone X-Git-Refname: refs/heads/master X-Git-Oldrev: 6f4a117fe1ea8f5722ff9fd4db9a1ecc8bd26b84 X-Git-Newrev: cec13966ba4f7c85f527a6310e1b07ee956d08f3 Message-Id: <20230123203011.7C9FE3858284@sourceware.org> Date: Mon, 23 Jan 2023 20:30:11 +0000 (GMT) X-BeenThere: binutils-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binutils-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jan 2023 20:30:11 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Dcec13966ba4f= 7c85f527a6310e1b07ee956d08f3 commit cec13966ba4f7c85f527a6310e1b07ee956d08f3 Author: Mark Harmstone Date: Sun Jan 22 23:45:03 2023 +0000 ld: Set default subsystem for arm-pe to IMAGE_SUBSYSTEM_WINDOWS_GUI =20 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. =20 As far as I can tell there's no working modern Windows CE toolchain knocking about anyway, so this change shouldn't inconvenience anyone. Diff: --- ld/emultempl/pe.em | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ld/emultempl/pe.em b/ld/emultempl/pe.em index 0413d07d6c3..0354c560fc7 100644 --- a/ld/emultempl/pe.em +++ b/ld/emultempl/pe.em @@ -138,7 +138,10 @@ fragment <