From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2095.outbound.protection.outlook.com [40.107.15.95]) by sourceware.org (Postfix) with ESMTPS id 53F333858C55 for ; Mon, 4 Mar 2024 17:45:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 53F333858C55 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 53F333858C55 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=40.107.15.95 ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709574321; cv=pass; b=LphNN5hD11+UV/QIT89/g+XGMJ5Dbk5V1NTL2NQSIT7q25mjCuuQAnYo6omXBWOJPSVwZie6mC5HJlyq8+fbXy2BrDJTcT/1iDRpoZmBdKdo0ROk+vCzE8uouAJkfWtAdn/SppfU8HbflGwBU+nD50tZ6O19suBaWgSzIkIXuM0= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1709574321; c=relaxed/simple; bh=nTI6IYQJUSwfqoG6ORPsc1HPpgtvfgZN30ZZyaCXH64=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=jZafPrYCyTy6XV1EXxAQFAFPyvlYqE5DFnptxN1YytzOgrrJcqcrkOziupE6NC+Vv9RtxwLwV5Tr48GCbmCp3uqu2vzg/t8TSRUIXp6z2kT6jmjsZGqtVYn7vEAbc/KhW78Bck8Wo8IJpOIrytGz+FWD8VLdW3LgVIwv6EEQELY= ARC-Authentication-Results: i=2; server2.sourceware.org ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mt/xYnbIhVC8R+kB7+tcCPeJ/R6cTf5tVtSkM5tDB1b+KKTUBKwYTSmXuF40cjhnVwR7msmdACsFb2o1jx6Rz/oi9D9ZFHse5RxdbMuOIkNo9Kqtt0LZszJMep5G8y5rQ2Dm+/K++QGAAxIQaetuIu1ZtBG7tewB6Iu/58Xqyz+A6woMgZ8U775NWr3hPpiIFrDOYzxKOmIPXVJhwn9ov/DspH30aeS8xBkilFdv0hh0jU7BRg4lHSzBjWKBoN3sMF+LGMRB46QLRMoYKq+7D+Um42YFteeoHRJWmR7xdC+oLUnRPssTrwtMOdB3Ji+3Bjk4FfdTu6J+pq7bsogf3Q== 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=mN+b+ct3lsmc9HjbBWaml7eEbWnTEIPPO/xwXfZymEc=; b=E4SZm6Jujw49mXO96btaizjxUH0HdTCj227xpnzYyqKZ49Q/mtQaikcEUAwEzE5SWsi4Gj0lCfkUXBkKtlt4LPhBKErkMeXInfZWVOriK4lW45CA0JZkoiEgeYQAXJBMlYUx8eEyAD6MDVkz1ITSne5qSt6h0zt+po36K5MlEJBjWd7nufGUlVek5iDxzAqHjb9Xmdbgm9xU5X3IhloqMtygPi12tNoPKI3JSuYKX31KfdsIs0/34dG4b/9vrwjWpmHYYLOZD6WljqXWbqbHMIFotNj3hBXJMpFakM3BvA79V9ycwogAjemWw3LwWD4PjPhlNuGqvXyJucGOeHrqOA== 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=mN+b+ct3lsmc9HjbBWaml7eEbWnTEIPPO/xwXfZymEc=; b=ZEz4OSUa4O0UWu2ui4nninDCbwaVVojcgrYIPZb1ZsCXR1ozFnTxe+urBg3uftEcS1Bx7RQkx0q6k37KSYOPRnEhVrStpNi+AFd6k4GuKrCvAqs3ipSe1fDEayE0nXs8ph98A9Zl9wq+Nb3X6Sn58C5PB8wXAg0GlchpR3fHM4I= Received: from VI1PR83MB0431.EURPRD83.prod.outlook.com (2603:10a6:800:17f::6) by AM7PR83MB0436.EURPRD83.prod.outlook.com (2603:10a6:20b:1bf::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7386.0; Mon, 4 Mar 2024 17:45:17 +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:45:16 +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 09/13] aarch64: Add SEH to machine_function Thread-Topic: [PATCH v2 09/13] aarch64: Add SEH to machine_function Thread-Index: AQHablu3Pe164sKydEuwgyEpymLbPQ== Date: Mon, 4 Mar 2024 17:45:16 +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_|AM7PR83MB0436:EE_ x-ms-office365-filtering-correlation-id: 36213660-50ee-4512-e0a5-08dc3c72da1a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: K86WGOGotCti3VfC0mgz2MLtGoJ5j9mFtePmvIQn/VUhqBCylBn8jdcRBi7ZCJQyPHpLlr9KP/BwmCVJQCT0BKZoRwi+8ebrsnM5ctj+3Nhstv4azyZtm99hmSdI4ytObmvk35euSgOfvcYv24aGW1zSAIyZc6WZTPTTFw76ztbJNpE6CygkSRxijKQwQynpkE5Gzrv/i5GZ4rZNa0VjA2zSrrOovCzL31ho4vedfo5sfcOkF7JZqqynD4u3EE7fXz/kHloXckIGxAMriIE0l6huWniX4tgyg+JH/m8Jm4c+chxovtPv2NBkvHIDLiaTa2acoEATI7K5M0JWzrxDDJwxFcjihe45eLCN5T1zNP/ox3v3Alkbfxvq2OjE3Mw6575Pb7w01cQbXiNrTJ590g5fTj5jh9uTNXHhX6ZfE6nYyasZlEeSoUNwBnWSC/OqzubG4i4KcPI6vOUua38xWiKJUjR4Bzz5nwMV6gNAW0dZtwDln++C9d8nwudCzFUVV2jQ0dPrwwDF8zMs1D+lMcbOwNaXFobFwsiPuIA2tL8/Z4FN2L6QSrrAMdXzzHNdm68NoLL8YICyJrFGt664UbyuMjNi0ZNfzdQVwhY2y1lJEpP1FrTZ9JeR6i3pgagK1jlKRCj+Tfsy9kRQxliQAatipNGkBtG8PRw1+VosxGuuIuh4uebP3Hj+BxIUlvIbr+ByG9BZKkGIOm6cOYPZkw== 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?HITxf8q5NiMwQohQ0DmrthMZzlKPwSNMYB3rRyon+Q8Rd4QF8n8z66uFLXAI?= =?us-ascii?Q?e2gpcDUkJUI2OZGsEHPhTK6rlV/65nPVCPFUcK3x9ExFwx4qfPSGxWTpPRQ5?= =?us-ascii?Q?+RhXm7BY44+GV9AwaoTGiOfZUbxW/uJeroSsYqcsogLgw5Qsy7YBPxJBeI0n?= =?us-ascii?Q?Y73rK8pl5xo0yBIh6ah9X7OK65o5PiLWhHSDG8chUmr1AqXpnNdTsqaZKAiM?= =?us-ascii?Q?7ThmloLdi4Ux93mFZemkDKzr54VRDvRmthl0onfWScdNOXLW/RORModGNXda?= =?us-ascii?Q?bMOiAJQNI9qqRfns1h6qQ0oraK6PVQ1P10dZhMFSUDK0h2iuNE22gJW7CM3I?= =?us-ascii?Q?5Gm2YHMfXWj7Xij1UUOKPxlt6KheH/AHdKfi6p9RNdTYTwinGBXV2xkpP4OQ?= =?us-ascii?Q?AXn5rgzp0at45SVsk4bFo63DjDE6NquumJItPJrTbH2ZTyCkotBMsHebVP1v?= =?us-ascii?Q?53ObPM/2pc8HT1sbVHr2kqbUk0UsyriyN+UEvcjJmGYurbWaJULhQgJMKgWZ?= =?us-ascii?Q?g4ZVEstnerKJBu/K7bjG+dpWzBDbhKNZIrWfotxZGbk4gGVXDU3SxUxR5kM3?= =?us-ascii?Q?TLwBKsowVa7URB60Jc9FVeCCwwQv6SZQ6TcHPt24tEXtIspy7AMNrg8wMRhw?= =?us-ascii?Q?q86jqhfLazH+jkb7PMAkTafINJSkozAsXX5BTKnqI42TQVA55Lc7QEA/iCO/?= =?us-ascii?Q?zVdZ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ZNKD0YzbM4?= 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: 36213660-50ee-4512-e0a5-08dc3c72da1a X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 17:45:16.2468 (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: xWEh7tCfxM63XT6T8v7AvNcF+N4FNRv/FBJTBtB2TpZg/cGhmGDONi0Hb+oobat9Hiu/A00+vFqjeKjHPd99ow== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR83MB0436 X-Spam-Status: No, score=-10.0 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: Tue, 20 Feb 2024 18:10:08 +0100 Subject: [PATCH v2 09/13] aarch64: Add SEH to machine_function SEH is not enabled in aarch64-w64-mingw32 target yet. However, it is needed to be declared in machine_function for reusing winnt.cc. gcc/ChangeLog: * config/aarch64/aarch64.h (struct seh_frame_state): Declare SEH structure in machine_function. (GTY): Add SEH field. --- gcc/config/aarch64/aarch64.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h index 45e901cda64..62cc97aa8c8 100644 --- a/gcc/config/aarch64/aarch64.h +++ b/gcc/config/aarch64/aarch64.h @@ -1042,6 +1042,9 @@ struct GTY (()) aarch64_frame bool is_scs_enabled; }; =20 +/* Private to winnt.cc. */ +struct seh_frame_state; + #ifdef hash_set_h typedef struct GTY (()) machine_function { @@ -1082,6 +1085,9 @@ typedef struct GTY (()) machine_function still exists and still fulfils its original purpose. the same registe= r can be reused by other code. */ rtx_insn *advsimd_zero_insn; + + /* During SEH output, this is non-null. */ + struct seh_frame_state * GTY ((skip (""))) seh; } machine_function; #endif #endif --=20 2.25.1