Message ID | 20241023103600.500910-1-matthieu.longo@arm.com |
---|---|
Headers |
Return-Path: <gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BB6AF3858282 for <patchwork@sourceware.org>; Wed, 23 Oct 2024 10:37:08 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on20614.outbound.protection.outlook.com [IPv6:2a01:111:f403:2612::614]) by sourceware.org (Postfix) with ESMTPS id CEC213858D21 for <gcc-patches@gcc.gnu.org>; Wed, 23 Oct 2024 10:36:27 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CEC213858D21 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CEC213858D21 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2612::614 ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1729679789; cv=pass; b=lr2N8gV95VasY1enZBQ5UjpXz6aZ3fqnkiY62V/m33bBS+e9IG9tm90aAGeJx24m9Rgof+9uT2hXFcdBw17CqLa5KJAE2/tG2MNw1SM0t2EWTkzuVTQIwYHygFZPAHIMaZvZGryyGWHb1b8pc2nZcqBVoVk4bHjEIt6s/4kFdh4= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1729679789; c=relaxed/simple; bh=U6nDn2mCEcsJs3JfobGf04R3+YKrZBnW8KgazzEsRHI=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=l/IrgzoER3Lfx6g1ULG8oax0UyYEe9W4vbgitMpVH7S8PndqWD2C+Ti/GJ06/RYnqvHqp3MJvrHxbbcY2FT6TJnGEqKXCPOZ+oWL5Ol6encRX5VPHQAHT046XBQjyZNFkxrQcWT93RtDNflhd6pZ/GlYnefmFVoudS1j6UKxfwM= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=vtG0ZpYqB8OO3zoU/mqXB/TqsSF4nRBkAOST8ogpXznmpmSvQXrorQxDk2hlnFUo1fKVrA8gKxVHosPc2wWQufjIEDgHuXJ93e18V/iYk7tgGvq1M5Ur/fPIhJZuUTRlAy+TiKnqxJto/NMGewae6IX7DkhEYnk9PVgeLxcxrPh+7JtWO+9z1tCPWX1DKIcxvRQeXNLqphd52ZsIgm1zmFTiTS3sKb+zbipWpY5GVjZGhuK0GaneoM77G2NYmvC7ESM/HeiioS9LC9VsM2o8fuSG2SqpwQczm+HfigNEKBnqBmWlSk7x8Sk955Fcsu5ankW9wbuywl2flOXNXSpLcA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=fQQcI1ad3ltOOvevRot1PBYW/tqv9Ei/cv0P1Ea1kGE=; b=lvJzf08jA6ZonTt/+f+oF4k7/9vCVoyako7JgwimDZ0HWSbb0xrOCGoFzsLWVPmxqq8GPusfYscyinw03KM5xoGoiu6UvquZUdreKmR4PUvl5fujW0R3JcYInJshHP3nibrYEU/LVngI9yz7qNKU9b9ZqGB+vmmnshI2ZxSJIKlxazgM1JcIugGZ3KkBULI7k9QwE73wmY9UP/+XWCyMvKzKYvs3mKCCpn/AWwM+Ivqmfm9/HXYOcHuj4/Ojtl3s+HsHQ46s1KpUxMFmv/v5g8v0Pm3lAYYHVt+IHir/q3QWnUCkVo54OH2v0q5mix8a6V9ysH5vsEwc+d72N34Odw== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=arm.com]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fQQcI1ad3ltOOvevRot1PBYW/tqv9Ei/cv0P1Ea1kGE=; b=WZTC7QyqUDXTNPydF5M07O1Fo226+flwDyOSHTGmveMTq0uTe1xuycNI2nvJWuCelkENiPXM5sTb/peKr0RRvDwu4lJkY+dct7ITWUnPXJ/sjwQpPRNBDPgoJFqCyUhtluKlegHOIU8H00fbZvpikuXyBLduLA4a2kyVovfCsro= Received: from DU2PR04CA0190.eurprd04.prod.outlook.com (2603:10a6:10:28d::15) by DB8PR08MB5308.eurprd08.prod.outlook.com (2603:10a6:10:f9::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Wed, 23 Oct 2024 10:36:23 +0000 Received: from DU2PEPF00028CFE.eurprd03.prod.outlook.com (2603:10a6:10:28d:cafe::b) by DU2PR04CA0190.outlook.office365.com (2603:10a6:10:28d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.17 via Frontend Transport; Wed, 23 Oct 2024 10:36:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=arm.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DU2PEPF00028CFE.mail.protection.outlook.com (10.167.242.182) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8093.14 via Frontend Transport; Wed, 23 Oct 2024 10:36:21 +0000 Received: ("Tessian outbound de6fe3af73ff:v473"); Wed, 23 Oct 2024 10:36:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a228106046f351de X-TessianGatewayMetadata: xJNHB2AXNDmY4MjV+5Qp8j+xzBLbeQ6FkeEo0+29uwuD7LAXzzcqnTHYDxIZ+j0RAed0oCyAJPN1GQcVJxqOfU3xQVR8Tjh550OPUpNI/hf2L3+a4qYD2+IiyE3ijEo37eAWcC2vTDecPfh9ZSro2Sindep+eFXq+AOoQ7WDEUc= X-CR-MTA-TID: 64aa7808 Received: from Ld5ad6c17f202.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id ADF866F6-D395-4E59-B16B-6B8CBC17B188.1; Wed, 23 Oct 2024 10:36:13 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id Ld5ad6c17f202.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 23 Oct 2024 10:36:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=qmgxe7EukS85Pen/cm7NY7Q7AZi5wcsBUkh/PO2eKosWyBcaK2oJr3uIkHI8DmzJFZLPGVLMvKM4uuRVVNhhSgvAijh0iur57JdToTz3gk2XyItHDjEIlBMLA8ZF10G+G55tNLeu4lNqzr2a7e4r9ZnW9KKAu4Bk145gwG7CU32tBJOCxak81yPpxp0ofa1HgstDj3ysOB7wC7i2LIc5OB23TNZlQokVDq/Kk78aHbKkvNoQ0xpM9+4+cln2lN/BBkATbL7MvIcmNjr0G84LRm9PTPmF2atkDNnzAm7PRgG1FsqIDalj2P9dC2twnJ7j2FgYX5jLeXj5EI7JmIRgkw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=fQQcI1ad3ltOOvevRot1PBYW/tqv9Ei/cv0P1Ea1kGE=; b=Yk2KV5XaBrKEihAANZ8cYsmzpIac7qT2L96dZWU/tiZLpkf0Wf40dlxkddBWvgUMOfY9nN+XUH4rnOkjeREXZiys1mk0yHVjbzh+4xZNaf5BrdaEzAM/8ul7zOXBb4Wp02eCgLNDuJnEEe69s1aZUqSXf2DBypvnHUR3EEalUX4xb8pfm7u1lfg2zQJIZ9KegdpM7VGJjjzA9zxBcReT5KPbows/6XvWq05LiN/vaAi1sLQaQ0xNlnn1SyEXb2oc7d+nTVIJd6FURo+0gXBc4R1Tdti7jye2zBooc2HvPYWY/5l+mVk4CsrJaGJn7QOn4shMI4gxDQkf9bAQgYSMig== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=gcc.gnu.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arm.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fQQcI1ad3ltOOvevRot1PBYW/tqv9Ei/cv0P1Ea1kGE=; b=WZTC7QyqUDXTNPydF5M07O1Fo226+flwDyOSHTGmveMTq0uTe1xuycNI2nvJWuCelkENiPXM5sTb/peKr0RRvDwu4lJkY+dct7ITWUnPXJ/sjwQpPRNBDPgoJFqCyUhtluKlegHOIU8H00fbZvpikuXyBLduLA4a2kyVovfCsro= Received: from AS4P190CA0042.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:5d1::19) by PAVPR08MB8943.eurprd08.prod.outlook.com (2603:10a6:102:326::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.28; Wed, 23 Oct 2024 10:36:10 +0000 Received: from AMS1EPF0000004B.eurprd04.prod.outlook.com (2603:10a6:20b:5d1:cafe::6b) by AS4P190CA0042.outlook.office365.com (2603:10a6:20b:5d1::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8093.17 via Frontend Transport; Wed, 23 Oct 2024 10:36:10 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AMS1EPF0000004B.mail.protection.outlook.com (10.167.16.136) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8093.14 via Frontend Transport; Wed, 23 Oct 2024 10:36:09 +0000 Received: from AZ-NEU-EXJ01.Arm.com (10.240.25.132) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 23 Oct 2024 10:36:03 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EXJ01.Arm.com (10.240.25.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 23 Oct 2024 10:36:02 +0000 Received: from PW070M4K.arm.com (10.57.85.41) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Wed, 23 Oct 2024 10:36:02 +0000 From: Matthieu Longo <matthieu.longo@arm.com> To: <gcc-patches@gcc.gnu.org> CC: Richard Earnshaw <richard.earnshaw@arm.com>, Richard Sandiford <richard.sandiford@arm.com>, Srinath Parvathaneni <srinath.parvathaneni@arm.com>, Kyrylo Tkachov <ktkachov@nvidia.com>, "Eric Gallager" <egall@gwmail.gwu.edu>, Matthieu Longo <matthieu.longo@arm.com> Subject: [PATCH v2 0/4] aarch64: add minimal support of AEABI build attributes for GCS Date: Wed, 23 Oct 2024 11:35:56 +0100 Message-ID: <20241023103600.500910-1-matthieu.longo@arm.com> X-Mailer: git-send-email 2.47.0 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AMS1EPF0000004B:EE_|PAVPR08MB8943:EE_|DU2PEPF00028CFE:EE_|DB8PR08MB5308:EE_ X-MS-Office365-Filtering-Correlation-Id: ef5a0cdb-5fb2-476a-8190-08dcf34e88f6 x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|36860700013|376014|82310400026|1800799024; X-Microsoft-Antispam-Message-Info-Original: =?utf-8?q?CW4118kfc1dznniDVvQPHA?= =?utf-8?q?tzdelKh8EIZa9lKyIOGBXgPR1cY3NCmF5SEIYUsAFBd1RgqS+aKMjPevIF6glJ151?= =?utf-8?q?SIjLDof2+J2Y0kMBpdZRNCQq8TB6pVqUDgxK/MUi6Nz0OISl+2gc+JRSkIjp6tvwz?= =?utf-8?q?MgjimDElR7wq9C49nscHDjbFf988RP5dMPv4Qgr1tzJ4moTKz6UwUVAt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= =?utf-8?q?Ok1mUo6PLBrOTA7AUFkiLzB+mX5a46248XE84I7QfzYrc7tyb7y7zDXCQYsg6KG7C?= =?utf-8?q?ugLKahywZITY6Jh2rg9uLxPOdxTRr0TB4cUFxEUPanyvm5ChTM+72rfNmEsNzyrtp?= =?utf-8?q?+yjjBZ3SxUQfcYd4G/xnTTyMazsPhxTAOBcuPK1K3aFNOzuFdCuLDxlqBVAv3y4XH?= =?utf-8?q?7xRLObrePyCGWMsXmm7IEbYuFPPDHOXMWPWJMO5Er9EvZW85JACbJPDutzsh0jg/U?= =?utf-8?q?=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(36860700013)(376014)(82310400026)(1800799024); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB8943 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:20b:5d1::19]; domain=AS4P190CA0042.EURP190.PROD.OUTLOOK.COM X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF00028CFE.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 18935a00-0d7b-48da-363d-08dcf34e824d X-Microsoft-Antispam: BCL:0; ARA:13230040|36860700013|376014|1800799024|82310400026|35042699022; X-Microsoft-Antispam-Message-Info: =?utf-8?q?HTW7CCnoIcuqFaU8873xZWo9/nUJuDp?= =?utf-8?q?j82DDH3SQbvHJFLBLPdz7fNpC9N9tNFxJe25Q5Eonw9q4fYcUSMoGXsImfaR+nc5U?= =?utf-8?q?A1CsgaqK2HjeBEPsgINxP9/l8yLBnNwMKol9pFpDTN3QAaO7OageLaQOr84KtrQLM?= =?utf-8?q?BHZ+EMBcDyH7VXeU/GOmpRSNV3z8bCA74j2bFWHliYv4jMs6k0TIiiZGyOl6Z+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?= =?utf-8?q?T8H+WHyUwwliGWhoOjAAQensA6brPHM5JA9QJzZ3sxdmYFGwnVW5y2ZittNEsOaRU?= =?utf-8?q?pOY4xyzs3gTA9l729zZzioBFCycGzPuwj00FepCUtcTn6MPWxFVQXIKy+lDF8It/G?= =?utf-8?q?AEXGKKSWbvnA/om0RQ4HAypVPh/i5P6JzVpNnBu1vERUieODhebinA8BtqaYYrIGA?= =?utf-8?q?vCA/Xwj5amSlZujfaxC1CV3yxG3ahOgunU9si1jdZAy54nQ5Cq1o6DT4=3D?= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230040)(36860700013)(376014)(1800799024)(82310400026)(35042699022); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Oct 2024 10:36:21.0466 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ef5a0cdb-5fb2-476a-8190-08dcf34e88f6 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: DU2PEPF00028CFE.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB5308 X-Spam-Status: No, score=-6.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, KAM_SHORT, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY autolearn=no 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~patchwork=sourceware.org@gcc.gnu.org |
Series |
aarch64: add minimal support of AEABI build attributes for GCS
|
|
Message
Matthieu Longo
Oct. 23, 2024, 10:35 a.m. UTC
The primary focus of this patch series is to add support for build attributes in the context of GCS (Guarded Control Stack, an Armv9.4-a extension) to the AArch64 backend. It addresses comments from revision 1 [2] and 2 [3], and proposes a different approach compared to the previous implementation of the build attributes. The series is composed of the following 4 patches: 1. Patch adding assembly debug comments (-dA) to the existing GNU properties, to improve testing and check the correctness of values. 2. The minimal patch adding support for build attributes in the context of GCS. 3. A refactoring of (2) to make things less error-prone and more modular, add support for asciz attributes and more debug information. 4. A refactoring of (1) relying partly on (3). The targeted final state of this series would consist in squashing (2) + (3), and (1) + (4). **Special note regarding (2):** If Gas has support for build attributes, both build attributes and GNU properties will be emitted. This behavior is still open for discussion. Please, let me know your thoughts regarding this behavior. This patch series needs to be applied on top of the patch series for GCS [1]. Bootstrapped on aarch64-none-linux-gnu, and no regression found. [1]: https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/vendors/ARM/heads/gcs [2]: https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662825.html [3]: https://gcc.gnu.org/pipermail/gcc-patches/2024-September/664004.html Regards, Matthieu Diff with revision 1 [2]: - update the description of (2) - address the comments related to the tests in (2) - add new commits (1), (3) and (4) Diff with revision 2 [3]: - address comments of Richard Sandiford in revision 2. - fix several formatting mistakes. - remove RFC tag. Matthieu Longo (3): aarch64: add debug comments to feature properties in .note.gnu.property aarch64: improve assembly debug comments for AEABI build attributes aarch64: encapsulate note.gnu.property emission into a class Srinath Parvathaneni (1): aarch64: add minimal support of AEABI build attributes for GCS. gcc/config.gcc | 2 +- gcc/config.in | 6 + gcc/config/aarch64/aarch64-dwarf-metadata.cc | 145 +++++++++++ gcc/config/aarch64/aarch64-dwarf-metadata.h | 245 ++++++++++++++++++ gcc/config/aarch64/aarch64.cc | 69 ++--- gcc/config/aarch64/t-aarch64 | 10 + gcc/configure | 38 +++ gcc/configure.ac | 10 + gcc/testsuite/gcc.target/aarch64/bti-1.c | 13 +- .../aarch64-build-attributes.exp | 35 +++ .../build-attributes/build-attribute-gcs.c | 12 + .../build-attribute-standard.c | 12 + .../build-attributes/no-build-attribute-bti.c | 12 + .../build-attributes/no-build-attribute-gcs.c | 12 + .../build-attributes/no-build-attribute-pac.c | 12 + .../no-build-attribute-standard.c | 12 + gcc/testsuite/lib/target-supports.exp | 16 ++ 17 files changed, 611 insertions(+), 50 deletions(-) create mode 100644 gcc/config/aarch64/aarch64-dwarf-metadata.cc create mode 100644 gcc/config/aarch64/aarch64-dwarf-metadata.h create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/aarch64-build-attributes.exp create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/build-attribute-gcs.c create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/build-attribute-standard.c create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/no-build-attribute-bti.c create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/no-build-attribute-gcs.c create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/no-build-attribute-pac.c create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/no-build-attribute-standard.c
Comments
Matthieu Longo <matthieu.longo@arm.com> writes: > The primary focus of this patch series is to add support for build attributes in the context of GCS (Guarded Control Stack, an Armv9.4-a extension) to the AArch64 backend. > It addresses comments from revision 1 [2] and 2 [3], and proposes a different approach compared to the previous implementation of the build attributes. > > The series is composed of the following 4 patches: > 1. Patch adding assembly debug comments (-dA) to the existing GNU properties, to improve testing and check the correctness of values. > 2. The minimal patch adding support for build attributes in the context of GCS. > 3. A refactoring of (2) to make things less error-prone and more modular, add support for asciz attributes and more debug information. > 4. A refactoring of (1) relying partly on (3). > The targeted final state of this series would consist in squashing (2) + (3), and (1) + (4). > > **Special note regarding (2):** If Gas has support for build attributes, both build attributes and GNU properties will be emitted. This behavior is still open for discussion. Please, let me know your thoughts regarding this behavior. I don't have a strong opinion. But emitting both seems like the safe and conservatively correct behaviour, so I think the onus would be on anyone who wants to drop the old information to make the case for doing that. > This patch series needs to be applied on top of the patch series for GCS [1]. > > Bootstrapped on aarch64-none-linux-gnu, and no regression found. > > [1]: https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/vendors/ARM/heads/gcs > [2]: https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662825.html > [3]: https://gcc.gnu.org/pipermail/gcc-patches/2024-September/664004.html > > Regards, > Matthieu > > Diff with revision 1 [2]: > - update the description of (2) > - address the comments related to the tests in (2) > - add new commits (1), (3) and (4) > > Diff with revision 2 [3]: > - address comments of Richard Sandiford in revision 2. > - fix several formatting mistakes. > - remove RFC tag. > > > Matthieu Longo (3): > aarch64: add debug comments to feature properties in .note.gnu.property > aarch64: improve assembly debug comments for AEABI build attributes > aarch64: encapsulate note.gnu.property emission into a class > > Srinath Parvathaneni (1): > aarch64: add minimal support of AEABI build attributes for GCS. Looks good, thanks. OK for trunk with the suggested changes for patches 2 and 3. Richard > gcc/config.gcc | 2 +- > gcc/config.in | 6 + > gcc/config/aarch64/aarch64-dwarf-metadata.cc | 145 +++++++++++ > gcc/config/aarch64/aarch64-dwarf-metadata.h | 245 ++++++++++++++++++ > gcc/config/aarch64/aarch64.cc | 69 ++--- > gcc/config/aarch64/t-aarch64 | 10 + > gcc/configure | 38 +++ > gcc/configure.ac | 10 + > gcc/testsuite/gcc.target/aarch64/bti-1.c | 13 +- > .../aarch64-build-attributes.exp | 35 +++ > .../build-attributes/build-attribute-gcs.c | 12 + > .../build-attribute-standard.c | 12 + > .../build-attributes/no-build-attribute-bti.c | 12 + > .../build-attributes/no-build-attribute-gcs.c | 12 + > .../build-attributes/no-build-attribute-pac.c | 12 + > .../no-build-attribute-standard.c | 12 + > gcc/testsuite/lib/target-supports.exp | 16 ++ > 17 files changed, 611 insertions(+), 50 deletions(-) > create mode 100644 gcc/config/aarch64/aarch64-dwarf-metadata.cc > create mode 100644 gcc/config/aarch64/aarch64-dwarf-metadata.h > create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/aarch64-build-attributes.exp > create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/build-attribute-gcs.c > create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/build-attribute-standard.c > create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/no-build-attribute-bti.c > create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/no-build-attribute-gcs.c > create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/no-build-attribute-pac.c > create mode 100644 gcc/testsuite/gcc.target/aarch64/build-attributes/no-build-attribute-standard.c
On 2024-10-23 17:43, Richard Sandiford wrote: > Matthieu Longo <matthieu.longo@arm.com> writes: >> The primary focus of this patch series is to add support for build attributes in the context of GCS (Guarded Control Stack, an Armv9.4-a extension) to the AArch64 backend. >> It addresses comments from revision 1 [2] and 2 [3], and proposes a different approach compared to the previous implementation of the build attributes. >> >> The series is composed of the following 4 patches: >> 1. Patch adding assembly debug comments (-dA) to the existing GNU properties, to improve testing and check the correctness of values. >> 2. The minimal patch adding support for build attributes in the context of GCS. >> 3. A refactoring of (2) to make things less error-prone and more modular, add support for asciz attributes and more debug information. >> 4. A refactoring of (1) relying partly on (3). >> The targeted final state of this series would consist in squashing (2) + (3), and (1) + (4). >> >> **Special note regarding (2):** If Gas has support for build attributes, both build attributes and GNU properties will be emitted. This behavior is still open for discussion. Please, let me know your thoughts regarding this behavior. > > I don't have a strong opinion. But emitting both seems like the safe > and conservatively correct behaviour, so I think the onus would be > on anyone who wants to drop the old information to make the case > for doing that. > >> This patch series needs to be applied on top of the patch series for GCS [1]. >> >> Bootstrapped on aarch64-none-linux-gnu, and no regression found. >> >> [1]: https://gcc.gnu.org/git/?p=gcc.git;a=shortlog;h=refs/vendors/ARM/heads/gcs >> [2]: https://gcc.gnu.org/pipermail/gcc-patches/2024-September/662825.html >> [3]: https://gcc.gnu.org/pipermail/gcc-patches/2024-September/664004.html >> >> Regards, >> Matthieu >> >> Diff with revision 1 [2]: >> - update the description of (2) >> - address the comments related to the tests in (2) >> - add new commits (1), (3) and (4) >> >> Diff with revision 2 [3]: >> - address comments of Richard Sandiford in revision 2. >> - fix several formatting mistakes. >> - remove RFC tag. >> >> >> Matthieu Longo (3): >> aarch64: add debug comments to feature properties in .note.gnu.property >> aarch64: improve assembly debug comments for AEABI build attributes >> aarch64: encapsulate note.gnu.property emission into a class >> >> Srinath Parvathaneni (1): >> aarch64: add minimal support of AEABI build attributes for GCS. > > Looks good, thanks. OK for trunk with the suggested changes for > patches 2 and 3. > > Richard > Thanks Richard for the review. I addressed all the comments as you requested. I will synchronize with Yury Khrustalev to see when he plans to merge GCS patch series for GCC. I would like those changes to be merged for stage 1. Matthieu