From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2103.outbound.protection.outlook.com [40.107.105.103]) by sourceware.org (Postfix) with ESMTPS id 85D733858D28 for ; Mon, 4 Mar 2024 17:33:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 85D733858D28 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 85D733858D28 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.105.103 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709573639; cv=pass; b=S/ykVGaUimbl+7aHCDFAoy7AAAaP8+q/rzWVwovvGOUKwazlx7UT5tVR5HspEBTFDmn4k3i5dnTVorcjrJepn7h1FnJ7Hsgzgsovj2GLzqOWvkgxpTdv/VlpF7p5wPGphIinqS8nfhHLQj8ode1YcaNSigsN8ZBORnHluPcxsSU= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709573639; c=relaxed/simple; bh=72P+wo1VALiL+3aZVtePHdZQ0GugWMkOF+ebBxiFig4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=F2HhTxtGd/1yAOkPpM4I+wZ0SewXAKCZfLcsXrlQhWYYidCe5LC2q8IaTr0a0qWNlkHj6FpXZVo6aGOi9kmK/YMxQBs3Oi0XZmTz6BDQh8ldU/JSu3eQJV8Qf0G6P40Nk4V5wULSX4bom4Xv9ynQfePDVAVRSIJwgJjQ6yamdR0= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AziQ9wxPmt6Cm6wA+lU7kqX7B1nirKTyttB5HrFd6RDS2yo41VYosu62ycZFdNsJLWmkla7fYiK3zHgHlkJ4iaPIQs2eDde9VQiM4SSVfYwqEz6VVufnF9M1YP6NGcwcaeur597S8Ep+9IyEtsJbeSBdBOf0pH5ou4D7Frx4BFIKHEMeI+1wNLcP+rQBn/WM6w+LZNurKZI1euRPB+qmFyE5KLgkM/5Ma11A/EBeqkxbRb78tBM1aBC6p9b6MbhSnBUPA5zZZ8SleoRvAj8nUtCnZQhV2kVYHP+vbRCgWmLMdb+TN0LFwCKZAm1wthtrgGfnHMZjZYyuIFu2uVEkJQ== 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=QtLlBQuXheuh2N42SoLQxiKkMf4+59io6lHJML94Qb0=; b=fo9HkayDq3dgRGP87Tc3+AA8oRgU7A09+tcVA9FOhnv1d+ier7GBVV375J+TplBsqqmTotv6Sbbn4d4Z2QBEexKdWY+tr4O9aXi7Zl6rRrDmgpUKZ+MKPIDTKtsctPOvakNRZ79w3KHsVEqL59xbjwEwCQs6RQUcKlKVY8lRBu0hzggY0EQ6WiLirxaDcDsSmq1b+WBcxRbc4Tw6bWV4OaB8mh/wMBDbf0xZJi6JaobpWxAnvFEDZ7BD6o5Kwl5MWXIHrOf7QjdRXCao0wakxuK04FPCyS/aT9vIF/RfNramsC52ZZHwZzrZ0mufrJ6ONuXxYKQGgBxdzpx1jSBqxQ== 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=QtLlBQuXheuh2N42SoLQxiKkMf4+59io6lHJML94Qb0=; b=FGVr33caAK8aIkgbwC2QV+PSleK3LbUyPVx7w715kB5RcLN+xIj9Mz+ebCfr1r0UjqH8VcEHwHO4wHx34NQ+5OXXXGjJ/ZT145OFXN7rbadvjuBFjViCiXNrMMuM6E9Bayt5D1JINphQyjh3S/mglcPD+JNBfYcE1p3Bpv2rVBo= Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com (2603:10a6:800:17f::6) by GVXPR83MB0607.EURPRD83.prod.outlook.com (2603:10a6:150:154::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.3; Mon, 4 Mar 2024 17:33:44 +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:33:44 +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 02/13] aarch64: The aarch64-w64-mingw32 target implements Thread-Topic: [PATCH v2 02/13] aarch64: The aarch64-w64-mingw32 target implements Thread-Index: AQHabloa6FbSDmI+9E+Bbzw3bQVJTw== Date: Mon, 4 Mar 2024 17:33:43 +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_|GVXPR83MB0607:EE_ x-ms-office365-filtering-correlation-id: 9e662c22-3134-414d-ccbf-08dc3c713d6d x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eKn/pJVO3+a1/q6b69EXi8wKejhVkAec7km22zLWCJMYjcEa7umCEOgPdQHqvmQXjTrCWwAlPVveMW6zBTwe7cWzQLzOMbIERjOyVjL6OQI4WykB05NtQ/yTtCfEqiyTFF0gMK30tT40E2CukDRX2TFXtaYptnuDNmLyWCxVvvJy0ZrmXEwvkncGf63Gp9Bo9wePHF7qq308Xfxgactinjg5MuAki7wxXPmLOZAT9wL1csflYlLf+ezVKkPU5KjstIIsf2eluxbpfxD1eA0vFizwewRFSkn0dgSQS5deuDVBTiQzB3dRS9i1v8fcZBWbSj5ezd2Gx0KHNqN9kQJ+VCn8v9lHuGhC9DWXjV1TPBBzUNCfiX0dXduanA7zk0w2icobrA8bYhuYbadbGvKKL7J9HyezRI5HMOFtGxBnJ1PvTBH4HpcDOWcIrl4Fs7M+YjonTrDauE5fu7L3xzbdf8yB4CFkCg//xbQ3ZAy2hPu9FiVQ7x6pedNglhqGKS8PuV6RXBMufIRqitmWH2h5w0xxF8UDZaVYv75FwT+f+fH9/F/BoAIIJ/J68bYXN5AhvoR5FqJeIKe9zx600mykmmnr1tCp9iso2f7S8w9uFIzeoBWcna/VIsOWG4+/wTrgbx1dXujbPKY3v/jP1CLrvBylrZVEpPYYcgAkzUNbio3iWVvXLke4Mj3KeCS0yybehkBPQrMTAOiAdkh/+Pl+8FaQFX17CY2PcUlcI45e0cA= 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?cON2oMMCOlmwNgmqkGui/FEO+e1meCic79MK0267YJfB5yDU4P3HWCZ7u9NP?= =?us-ascii?Q?p+6p+z/xHua+FG2es+34svQ7HXxeQPOuGjMIkLaW/tIYno3ed3FkbD3iBdev?= =?us-ascii?Q?VSgUjnT7ZXdn0cr5gK4Te+Jc1XvCPytHsbBv++qhsBu9Smyo9y6qxoG2nHxT?= =?us-ascii?Q?PL8/eQj9H68UGqXmLQ+gX8km9ij8SA6aw9MkxJHTNd/LsL3+C1ZWFQO1VZW6?= =?us-ascii?Q?4jxJFVgIYMYeti1rFDAqAaW3OdmG8iKlIJnlMgCHw90IBvkkLzfI5XRnfpAh?= =?us-ascii?Q?mFS7sypYLzfQh3cL/U8CTcLA3N7GKjpuRPp3eK8WgKN2E9YpsLUFhNCy9BNn?= =?us-ascii?Q?DZP4j5yjNP08BFuph27WRZTvLBA62zkcY36YTZ80ntiGkc7k2UWKT89shs/e?= =?us-ascii?Q?fn+wgpMgao4myztxqGPruesbTB0qRDPuVjRQWPwnLyTukg8YEiXky741+OO1?= =?us-ascii?Q?wrsC21MEO3QZtbgSje32ysxbYbNtFNEochCf1nck9f0f91wvV+jqE86YgT32?= =?us-ascii?Q?tNHHqVWauUBKclk+kFXV8qPrAx347VvVqKjcZ719okjp90INXiiJk5sHyAhF?= =?us-ascii?Q?lqnLKFNrd00koe9aNnBQd8JM6naCAvmWrzYtY5SoClBrpUmak2x+L2ovWEY2?= =?us-ascii?Q?qKNTDPFhlpql6j6eLYHzLWZgAdeEIGg60Y773NdT7wy+23O38sZdzFCrm6m7?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B6Y+r1iH7nx4N6F?= 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: 9e662c22-3134-414d-ccbf-08dc3c713d6d X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 17:33:43.9279 (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: DUc3KHrApuLwxMCzA02WohAtKbiwVs782d9/5lo66/vLD32ne0G3iooUklZrQBZ98XZqXLURYwwu52JiIC2KTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: GVXPR83MB0607 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: Zac Walker Date: Fri, 1 Mar 2024 01:45:13 +0100 Subject: [PATCH v2 02/13] aarch64: The aarch64-w64-mingw32 target implement= s the MS ABI Two ABIs for aarch64 have been defined for different platforms. gcc/ChangeLog: * config/aarch64/aarch64-opts.h (enum aarch64_calling_abi): Define two ABIs. --- gcc/config/aarch64/aarch64-opts.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gcc/config/aarch64/aarch64-opts.h b/gcc/config/aarch64/aarch64= -opts.h index a05c0d3ded1..52c9e4596d6 100644 --- a/gcc/config/aarch64/aarch64-opts.h +++ b/gcc/config/aarch64/aarch64-opts.h @@ -131,4 +131,11 @@ enum aarch64_early_ra_scope { AARCH64_EARLY_RA_NONE }; =20 +/* Available call ABIs. */ +enum aarch64_calling_abi +{ + AARCH64_CALLING_ABI_EABI, + AARCH64_CALLING_ABI_MS +}; + #endif --=20 2.25.1