From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 ; 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 To: Evgeny Karpov , "gcc-patches@gcc.gnu.org" CC: "richard.sandiford@arm.com" , "Richard Earnshaw (lists)" , "Andrew Pinski (QUIC)" , Maxim Kuvyrkov , Radek Barton 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: References: In-Reply-To: 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: =?us-ascii?Q?rd6ZrMZNLLQ9Nk5bQuH6Vmszxxg2lf288u01T18z/RSGWOL6VQGCuK7G4P8h?= =?us-ascii?Q?CsrwN782uLLT/2z6fp5YGR6SLLsrHf/4Gbda4rGKjdggcaQJc3YWK/NXsf/D?= =?us-ascii?Q?Xe/WxoZCYElI9P4Zl/fnC363sikL35tJAg+QDZamRe7sMdsMhXRN3lS15Lmy?= =?us-ascii?Q?HJYBZRcPDWr/pMi6YEutr4/sDD+asFtT1phWJnuSiLmCUUF+oEKre+SEwZ4q?= =?us-ascii?Q?Qy7//UkjOg2254ollX3n7YxwFFRv07t6zYZR5jAinrGGrF1IL7oMe4DkxKZJ?= =?us-ascii?Q?rwZcYxkozziUym16Z9Aiw4dRV1afe/1m+4ct8xQiWVCOXgK5t8L2cnDuxUhs?= =?us-ascii?Q?HyopJb0hWFN+LDck2uZqBxXdDMnuljfINBSaPjLdMVr507iORkYghiZZd9FM?= =?us-ascii?Q?J0WZnaBnVCp5c55fiWjGGgvqqMSlIi9FiaeJUsy5+S8EbWzDmDJdK6v7wfuE?= =?us-ascii?Q?eEOYs3uNge1Ize2PRaDOAPcnlam/+eHz98ThyOL7oMCx+CVZl6kv3KYrvnxA?= =?us-ascii?Q?upJTl/RMrsCYQ/D3JloPOn0Ig+Axzxagz+ThWbqgYLoh4pXAv5qDHp8BkVuk?= =?us-ascii?Q?5gx91iQl3aKsbrt9OnhyRFH+sGRScr55mQdvj4G/zxJy14CBu6KmU6JvSF1y?= =?us-ascii?Q?pBwJFARS5qIrBvQWYt30LA80df6YfmYoFMc1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ugr24hQ8rWRG/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 List-Id: >From 38efaf5ab1fa017622d10239fff2ca23d2d3fb82 Mon Sep 17 00:00:00 2001 From: Zac Walker 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(-) 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=3Dfixinc.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=3D`echo $TM_MULTILIB_CONFIG | sed 's/^,//'` ;; +aarch64-*-mingw*) + tmake_file=3D"${tmake_file} aarch64/t-aarch64" + case ${enable_threads} in + "" | yes | win32) + thread_file=3D'win32' + ;; + posix) + thread_file=3D'posix' + ;; + esac + default_use_cxa_atexit=3Dyes + user_headers_inc_next_post=3D"${user_headers_inc_next_post} float.h" + ;; aarch64*-wrs-vxworks*) tm_file=3D"${tm_file} elfos.h aarch64/aarch64-elf.h" tm_file=3D"${tm_file} vx-common.h vxworks.h aarch64/aarch64-vxwork= s.h" --=20 2.25.1