Message ID | VI1PR83MB0431461C9FAD3FF15EF898A8F8232@VI1PR83MB0431.EURPRD83.prod.outlook.com |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=microsoft.com header.i=@microsoft.com header.a=rsa-sha256 header.s=selector2 header.b=U7thS4kg; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TpQhn0mDNz23cw for <incoming@patchwork.ozlabs.org>; Tue, 5 Mar 2024 04:31:04 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7D45C3858408 for <incoming@patchwork.ozlabs.org>; Mon, 4 Mar 2024 17:31:00 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR02-AM0-obe.outbound.protection.outlook.com (mail-am0eur02on2137.outbound.protection.outlook.com [40.107.247.137]) by sourceware.org (Postfix) with ESMTPS id A54773858D28 for <gcc-patches@gcc.gnu.org>; Mon, 4 Mar 2024 17:30:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A54773858D28 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=microsoft.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=microsoft.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A54773858D28 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.247.137 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709573441; cv=pass; b=NnGRDGLt4Chzs95QoogtpNrL+UO/AuB5NAjxk+FNpfy2QepoavHKddLaEupJSvalxBqLFYU/WNpSRm2bpMnJmMEKrThMzy+FjV7vL4TXou0pL2POJkLm0xFbkWccepTgtzuXEUJ79gYgOiFKgq2NcNcAxRpC9vbeCBON9WwbWzA= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709573441; c=relaxed/simple; bh=nJTiZkoxMYZea1Ev4xUVTVtXQzKXskJfMTZxgMkXih0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=eGxReuD8ML8C+VwzZ0Rn73Eu7J6ic00lrj7pXPlqqnY44n9oJYqM+sme7Z3BcoR7bMAOSgfsmsin88rVuIqUwOreFLvSs/UMUCyc8juXP5LTItBi2uoVq4FUUrR2cwdWzLqkg5D0I3bpyWj/0OlNmDE7LJAYcUfuTBypVnDrLUc= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Iu0K2VhBi89mkRKdVBu4ONiTtEvIIRDeyeLT2XHAsLKT1Oa9PhTJtJG7kQJpUVOBq+Csk2O2wYSzU8LWkP6s8nkj2/rKq4/HIClg7jVCw5LWVzXBkYz90+S5YfcK36krSGYD5dzqFlX/ZPQ2lHobmn5DmWaSG4hbHZzWaS6Sw1Bdzgef1UXYA36+Y52uN6SVU0nZp4LBnUVwGOH2aCglMG60blp87UczDRX3Hinn9gbuNsAFoWS0Eepy+pFXy1H0MuLTPjExCbdaDRFIDnXs1e79gGKrLF+t7fNoD29KjOem33YXu8RAjHD6MjcXY6YzVrloF1Lbk5UGOHvrILzaFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=LOdvWEFwbWoa5PFFtlnZtTUeH2IGUhdYhv5TaUQZFdU=; b=Enxe+a6UCXnJnfAFuuUEaZnGfu7ZjtQ5JUsho2MbqwAHyrEyzmLFZKOEMdd0jMgIkWzn4QdvCO4YuwEWlOi9lyMLLVXJSwtFN6oMz5fyJZYosw6t9LuQ/4Wn8Dd9SbppkMk1xUHyj+iyCHSQFZheQtXgx+h5HuACfRUrQVilycJHEjDRlM1yv6mmgqxK1Lp4EJ4RQ91z5nLcoJ6H1Beu6sJD5uORxaRV+/0cqFfuWxZ59Oa3GXMLS3fiZE2GAnqixHHPNZW6gENzK+NyTXFZe4G/ZeHGgzVaO1bdi705frNtIoee1tz2QaiqCfHKZzO4A1nQbqLDwvu/iJfy9YV0gg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=LOdvWEFwbWoa5PFFtlnZtTUeH2IGUhdYhv5TaUQZFdU=; b=U7thS4kg0OhOgymxamyIstQlWbhH+lVI5Oxu1XZBQdup54T+68ztL8r7E5jN5IHC4eGBtIXoFRqiThtXyRoYAzez8+iEmUeojPvrACVx0asnNh5zRiAcrZIH8sHqycHXGeCnedD7nDe7MqWkdhNF0YqleFXzA6A3GH2dyyQ6ITk= Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com (2603:10a6:800:17f::6) by AM7PR83MB0417.EURPRD83.prod.outlook.com (2603:10a6:20b:1b5::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.4; Mon, 4 Mar 2024 17:30:35 +0000 Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com ([fe80::7279:eea0:8540:a0f5]) by VI1PR83MB0431.EURPRD83.prod.outlook.com ([fe80::7279:eea0:8540:a0f5%7]) with mapi id 15.20.7386.002; Mon, 4 Mar 2024 17:30:34 +0000 From: Evgeny Karpov <Evgeny.Karpov@microsoft.com> To: Evgeny Karpov <Evgeny.Karpov@microsoft.com>, "gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org> CC: "richard.sandiford@arm.com" <richard.sandiford@arm.com>, "Richard Earnshaw (lists)" <Richard.Earnshaw@arm.com>, "Andrew Pinski (QUIC)" <quic_apinski@quicinc.com>, Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>, Radek Barton <radek.barton@microsoft.com> Subject: [PATCH v2 01/13] Introduce aarch64-w64-mingw32 target Thread-Topic: [PATCH v2 01/13] Introduce aarch64-w64-mingw32 target Thread-Index: AQHablmpjw53K2Vma0ejNjInYsshnA== Date: Mon, 4 Mar 2024 17:30:34 +0000 Message-ID: <VI1PR83MB0431461C9FAD3FF15EF898A8F8232@VI1PR83MB0431.EURPRD83.prod.outlook.com> References: <VI1PR83MB0431419E005585F08F7EB445F8232@VI1PR83MB0431.EURPRD83.prod.outlook.com> In-Reply-To: <VI1PR83MB0431419E005585F08F7EB445F8232@VI1PR83MB0431.EURPRD83.prod.outlook.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=804f8e78-f263-4809-bbd5-d515c5934d44; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2024-03-04T17:10:26Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: VI1PR83MB0431:EE_|AM7PR83MB0417:EE_ x-ms-office365-filtering-correlation-id: 20c0425c-699e-405d-a647-08dc3c70cc51 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kyBR/RWpjX8qg3jOut02u3P9osGl59R7LvdiV2ZdhCPnUaUfmlZvVHNsyorWdEjviMpoKu5O/xMN0AebGkqt4wX8jMwiXvRHqfQUsmgDkYQ4AoZxJh2m8SeuwHaut30ol0FzzyN99beWVmBQQB6jc3tbbRDwwmZ6QkUxnVHIqiKn6JdsSGPxeq0yiJsZEStDGmmLtp+wpto7Ldv8GyHiUfmNGDu9yJyJ/e6LRmd0ROBpzu+aOHAJAfLAxi/jDSRFTyzBdpAC5j053ieKcvKnBoS+/JcZBmFUQtJA1/pv/4uhq7NA1ukOYn4THnGCvQWfZhezCe18hbXLQ8ZLzlvKFACVfIGamzBklekfLfsYBi4iNdYqvyrFVB82Dx/aMuG7PzzxsT79LJzDkJ1QvmFaMDKEzgyLY+Rt0Tz6mwlYXNLXL7g7ErnZQ8A3Anth+MhPPzZbUkH/w84+KNjUfQvw9BlRiZtnrvaEMKdSY0NHrMaq4alnhcuejO3Wfu2E9otDjCCKvTqYwR6d+jG0pOmen2AG+b8p4/SEIdFAU2fzDtoofpLk9/CGSAdQjAfpX9JorxKlUTTT0H4Q0Cmt7kF5QMlIyRJeEqqLGDAYpd/vIjvSYkxuAhraDQAZ2aOqisaID1tlSLwTSLkZTbB6ig1QPSovWafG+Pwtq1ru26abT59Qni1ybqL/NLaXAJshbLvKHiRScMEFnEmvup++B5Ta/ZtYNPtlIl2hgT2vnOjxPz0= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR83MB0431.EURPRD83.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376005)(38070700009); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: rd6ZrMZNLLQ9Nk5bQuH6Vmszxxg2lf288u01T18z/RSGWOL6VQGCuK7G4P8hCsrwN782uLLT/2z6fp5YGR6SLLsrHf/4Gbda4rGKjdggcaQJc3YWK/NXsf/DXe/WxoZCYElI9P4Zl/fnC363sikL35tJAg+QDZamRe7sMdsMhXRN3lS15LmyHJYBZRcPDWr/pMi6YEutr4/sDD+asFtT1phWJnuSiLmCUUF+oEKre+SEwZ4qQy7//UkjOg2254ollX3n7YxwFFRv07t6zYZR5jAinrGGrF1IL7oMe4DkxKZJrwZcYxkozziUym16Z9Aiw4dRV1afe/1m+4ct8xQiWVCOXgK5t8L2cnDuxUhsHyopJb0hWFN+LDck2uZqBxXdDMnuljfINBSaPjLdMVr507iORkYghiZZd9FMJ0WZnaBnVCp5c55fiWjGGgvqqMSlIi9FiaeJUsy5+S8EbWzDmDJdK6v7wfuEeEOYs3uNge1Ize2PRaDOAPcnlam/+eHz98ThyOL7oMCx+CVZl6kv3KYrvnxAupJTl/RMrsCYQ/D3JloPOn0Ig+Axzxagz+ThWbqgYLoh4pXAv5qDHp8BkVuk5gx91iQl3aKsbrt9OnhyRFH+sGRScr55mQdvj4G/zxJy14CBu6KmU6JvSF1ypBwJFARS5qIrBvQWYt30LA80df6YfmYoFMc1KSRZogYg09QsU2xP1506LQOQRpWJHaPyomwKfjd8GKfvYJ9iCQ+WYBBqUSeMXu5uwdhKD1t6fWI0yIE5DnwPpG2P1sjZD7Duw+7sJmeoHoIUuRargoRwchxqXhwt9wOPqhnTUxweFY/fTyGNeXfOo/FgesM+myUxu0j7TlyWs/nwBtiYIncnR4iCh1Ll7sY2yC5cTIjemkQgLsbx4l66CSbo80tCbMrklgrw/n+r5TpMIZ+wucKQDccHAWB4c1y8bPW3Xswsi/VQ3supJ80CMe6RdgNrRab69/4EOwiJuvWsrsUehBKCXRBMTDdBB3/e9fluwdpGGc7x54mIkNHCyzz94g6lakYeASoxMlzZi+QhT5iDjoZX2+14+JEhB/IvRaru3jeodRIJK0SK79qiTryTa400huwZ7BYUA7fsaXpWhkhKRO2y5vEX+JC69sZC6SnlpxwODlEE8JfHvaimRcbohfeXQgP7ENenwtQiXIhD/ik53e56EvaaWj1vAUO3GW32/q+aMgE5PWcQVt27K1FeiyZ4VQCejCESkzrBYhV8nk9iqXXgDrboP1hlG90qOSwPXW+zq55lu1rvFxSi0oZg5D10AWy6S5oD5DbQamDeEuh4mALdiB+knK7XAaMsOCEM5IsAftdt7DtH0v684DgFwWL/RlEz0nVh14rjPRxrq5/RHeSNIpRW1tmTnvAaw/jjlkfr/03p/bS8Lz4F9tiqgZ331ATBuSsAYbtmPF9cS5Gb4BIKcjwgyKyswQW5V6PCIsqej86tNyPb2NAFM1KjyFqU7z7u+9b3etn1NGFhMSsFS//Pi/R+OxVV0WxONXn9744G7odxbFBRWE7hvRqlGViWnQzcTdUkEMwliQ3sTz4WwXYpugr24hQ8rWRG/c5bTgfo Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR83MB0431.EURPRD83.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 20c0425c-699e-405d-a647-08dc3c70cc51 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 17:30:34.1083 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: SULBdYVhgBVjuVkWueBfUT3dL2UZDd7D6iR2YgwKW9f4qAz8xsJKAwXQKCy4gunY4hEtAOD8DIR8dUJTzgUqmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR83MB0417 X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org |
Series |
Add aarch64-w64-mingw32 target
|
expand
|
diff --git a/fixincludes/mkfixinc.sh b/fixincludes/mkfixinc.sh index df90720b716..7112f4dcd64 100755 --- a/fixincludes/mkfixinc.sh +++ b/fixincludes/mkfixinc.sh @@ -12,8 +12,7 @@ target=fixinc.sh # Check for special fix rules for particular targets case $machine in i?86-*-cygwin* | \ - i?86-*-mingw32* | \ - x86_64-*-mingw32* | \ + *-mingw32* | \ powerpc-*-eabisim* | \ powerpc-*-eabi* | \ powerpc-*-rtems* | \ diff --git a/gcc/config.gcc b/gcc/config.gcc index a1480b72c46..2756377e50b 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -1264,6 +1264,19 @@ aarch64*-*-linux*) done TM_MULTILIB_CONFIG=`echo $TM_MULTILIB_CONFIG | sed 's/^,//'` ;; +aarch64-*-mingw*) + tmake_file="${tmake_file} aarch64/t-aarch64" + case ${enable_threads} in + "" | yes | win32) + thread_file='win32' + ;; + posix) + thread_file='posix' + ;; + esac + default_use_cxa_atexit=yes + user_headers_inc_next_post="${user_headers_inc_next_post} float.h" + ;; aarch64*-wrs-vxworks*) tm_file="${tm_file} elfos.h aarch64/aarch64-elf.h" tm_file="${tm_file} vx-common.h vxworks.h aarch64/aarch64-vxworks.h"
From 38efaf5ab1fa017622d10239fff2ca23d2d3fb82 Mon Sep 17 00:00:00 2001 From: Zac Walker <zacwalker@microsoft.com> Date: Fri, 1 Mar 2024 01:40:53 +0100 Subject: [PATCH v2 01/13] Introduce aarch64-w64-mingw32 target Add the initial aarch64-w64-mingw32 target for gcc. fixincludes/ChangeLog: * mkfixinc.sh: Extend for *-mingw32* targets. gcc/ChangeLog: * config.gcc: Add aarch64-w64-mingw32 target. --- fixincludes/mkfixinc.sh | 3 +-- gcc/config.gcc | 13 +++++++++++++ 2 files changed, 14 insertions(+), 2 deletions(-)