From patchwork Wed Jul 10 11:59:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Earnshaw X-Patchwork-Id: 1958819 Return-Path: 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=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=DOxbXRH3; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=DOxbXRH3; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; 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 [8.43.85.97]) (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 4WJxHZ27rcz1yNy for ; Wed, 10 Jul 2024 21:59:54 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 5D62D3839153 for ; Wed, 10 Jul 2024 11:59:52 +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-am6eur05on2060a.outbound.protection.outlook.com [IPv6:2a01:111:f403:2612::60a]) by sourceware.org (Postfix) with ESMTPS id C3D5D385B50C for ; Wed, 10 Jul 2024 11:59:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C3D5D385B50C 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 C3D5D385B50C Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2612::60a ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1720612767; cv=pass; b=P/cII7Cpzd5PQCYBAoPpgQBjOuHKXEtU+eu9UpYgCGPCCqgt7dG4jVdXbm8KR/ySJ60Rr3DXyWCugMz2soSzQAt+Frb32FlwyGKk4T/3QxX6L0kGQIK+mmMkEDtqVKZKhG0TdiHCAXSzcjTg9dTlM46FuYOJd1shO8FvPTcHJnI= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1720612767; c=relaxed/simple; bh=N9q7gNQCmNnqBsP661WOC4S0ey9fGqUAIPGY99I7BOQ=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=v2nqvZBld2Fa+E0iSGuWORacYzhSjwwtCTdfcdfV5vuhze8y2Pc0KSAi5nxt65F8PyHZIvI5KuzfTWxBXajsXWV6iSuBEJsQ++5KkX4bzJNvhFSc2Ce8coo4xZy0lswICadW96M8+ILJmeaYi6YJ3hEykyOcQCIQWpjsjypbAZY= ARC-Authentication-Results: i=3; server2.sourceware.org ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=cUf4dNABEvcprGEgkIUqCMvunpW6e5aTOdksxrmYXKAGk/Taa76Wux8BjbREeLIxozoUOTzLtXqmTbEmfVFFaF3MpnyuydheY4NfpPp/Y495E7DwX8dvFn0NQWwVz2GlbE2WboIhBOjy2CYu7iu92M17KjVxi9bsqgn73K+lgCbxZe4qyXQXumBODNnMtq3J9h/iebnPG5ot6M/lYe7ak6OY/QQdnQomw/3udFfIG6+bA9Oux1cnFa9VPQo182IZxQkrAtDQar/94SoVygS9tmZa+1IOUwZRq6X+y+oV9hnz/sAGiJkWmqfu8bSTMmHOFfSJ0u8m3OzDZexizrXFBg== ARC-Message-Signature: i=2; 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=cd7V9avwGe5n0sB5VV2E6WJZvplvWqRGiPLeTGRNnZI=; b=hgC8AqzPpCEXk5HVcimmfW102yWP4AuOAQlaJLcwArdgEaseogOpVgMniT5IRhktW4JmYnAaNl1FyzyKq454hRXjzP0Smv8BMOgVowPeV8e6UugU7NSm9BTWYu5PeFiKRrHFR2rIq30x9F40ENqjAtcHCtQJB0SY3fx6FvKgwBkh2MaoSRokM/xTLw0At19J73nx6rEDrbAKJBYGW7d7cq2djP5EmHSZdZwyivP4v8JuCk8PB6A6kGu+Igqk5vgjIwS7DcuPsC40rqsrrlwdtc+t434sbE+U23qbdqiUBu+78kVPsU9U4I1W6vL6otN+OdgtQQOo/dxNFYSFm+1D6A== 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=cd7V9avwGe5n0sB5VV2E6WJZvplvWqRGiPLeTGRNnZI=; b=DOxbXRH3l2ga+ZPA3u64Ggj/QV2/brvtAwkhlOC31ur5an6fa408sPcBvakm43Y79LL35xl5aEWdCz1iEqe42Mc6qFwKP0IjCFSzIiw3hRXrwXq7QvYVd2CCjpzi8XSwCUp+VP9RRfdyHp16bBdkb8u0CAlTQN6LHinTpD1Mn+c= Received: from DB8PR03CA0023.eurprd03.prod.outlook.com (2603:10a6:10:be::36) by DB5PR08MB10093.eurprd08.prod.outlook.com (2603:10a6:10:4a3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.34; Wed, 10 Jul 2024 11:59:21 +0000 Received: from DU2PEPF0001E9C0.eurprd03.prod.outlook.com (2603:10a6:10:be:cafe::30) by DB8PR03CA0023.outlook.office365.com (2603:10a6:10:be::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.20 via Frontend Transport; Wed, 10 Jul 2024 11:59:21 +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 DU2PEPF0001E9C0.mail.protection.outlook.com (10.167.8.69) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.7762.17 via Frontend Transport; Wed, 10 Jul 2024 11:59:20 +0000 Received: ("Tessian outbound 69dff5ccb08e:v359"); Wed, 10 Jul 2024 11:59:20 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d8da6cc2d7b58bd1 X-CR-MTA-TID: 64aa7808 Received: from 5b9152e9acdb.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 765F9D7B-AE6D-476A-8CD8-7F9C367DBF8D.1; Wed, 10 Jul 2024 11:59:14 +0000 Received: from EUR02-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5b9152e9acdb.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 10 Jul 2024 11:59:14 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TQsmaBMjuf8V/BhB+dyqSjaoPknnVCwUG1289nVmnrf/S4onoZjnwTeA1NONRlUJzOlE2UZdUz5AWBxcDJ5WPm0+1jRdwHOR71V6P03jmEYAG6DFmUUHOnK3XZDO5f5xd3uqe8EnX2jfwnA1MxztLqFOjpDYRKpil/FlNI5Ma7ygUWOi49/G4pxibvrhZgn9OaAaE+IcrpbgMNDYfRApS0QeXVvQwlnkp0JBir75c1HkkrV6AEdRBz8rF/vfoECcYP1A+vdjhvbO5peU/Sqbvkzo3dISp7bteA/NYbUUpqw62NDg3GQxkGZVayz5i9nImgH7eqBOjtNLX8Wr6kQtJQ== 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=cd7V9avwGe5n0sB5VV2E6WJZvplvWqRGiPLeTGRNnZI=; b=VhwgfAJw+hr/HFeSfK2YjDCzOkkqhT5GuVOJt2bCxzMmZgZH5v7iPNOCmWeDNlMafHKElePXSZIO4b6Z3PCBYQbJvY994n3bngnUnD8naPvR75UJDe1bfnwIgWGhUqdfc58STq/i+AHUv3sWpgmnYRgucBlq0OZcDtze0ztBmcLPEApEpdacvKAn/zb8RRL6RHnrIBGJhQJjEW+zbVmCzeJDSEv9Nvc65pmA5FB+JBGWjdjXuD0ZNUp6fcy11Qfz4rGazS9FPJ7ZCBXFkwsyjIc54mpkQM9N8v5tkrFSzJ1h3jCj98ubxaYOuUUKTq//k96DrIO55F3gZHK7Yx1R6w== 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=cd7V9avwGe5n0sB5VV2E6WJZvplvWqRGiPLeTGRNnZI=; b=DOxbXRH3l2ga+ZPA3u64Ggj/QV2/brvtAwkhlOC31ur5an6fa408sPcBvakm43Y79LL35xl5aEWdCz1iEqe42Mc6qFwKP0IjCFSzIiw3hRXrwXq7QvYVd2CCjpzi8XSwCUp+VP9RRfdyHp16bBdkb8u0CAlTQN6LHinTpD1Mn+c= Received: from AM0PR10CA0079.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:15::32) by DB9PR08MB7818.eurprd08.prod.outlook.com (2603:10a6:10:39a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.36; Wed, 10 Jul 2024 11:59:12 +0000 Received: from AM4PEPF00027A61.eurprd04.prod.outlook.com (2603:10a6:208:15:cafe::b9) by AM0PR10CA0079.outlook.office365.com (2603:10a6:208:15::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.36 via Frontend Transport; Wed, 10 Jul 2024 11:59:12 +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 AM4PEPF00027A61.mail.protection.outlook.com (10.167.16.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7762.17 via Frontend Transport; Wed, 10 Jul 2024 11:59:11 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) 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.35; Wed, 10 Jul 2024 11:59:10 +0000 Received: from e120077-lin.cambridge.arm.com (10.2.78.57) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Wed, 10 Jul 2024 11:59:10 +0000 From: Richard Earnshaw To: CC: Richard Earnshaw Subject: [committed] arm: cleanup legacy ARM_PE code Date: Wed, 10 Jul 2024 12:59:07 +0100 Message-ID: <20240710115907.3366160-1-rearnsha@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-TrafficTypeDiagnostic: AM4PEPF00027A61:EE_|DB9PR08MB7818:EE_|DU2PEPF0001E9C0:EE_|DB5PR08MB10093:EE_ X-MS-Office365-Filtering-Correlation-Id: 5685ca7c-957e-48d5-c315-08dca0d7bbc6 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|1800799024|376014|82310400026; X-Microsoft-Antispam-Message-Info-Original: kgilcqi3MPQdQfRGhiq6Cc0xB54xeHtHxQnEqnmkNHCT3RKXYQZFaXvtQ5D6B0Mn2sntpnCXtxCSweC8MsAh/md/5jEEsB1EjTw6i5Sc2xzNmaWQCaowBTfQBD1fUtJi7vQ8Xmduq/TDBulECrlkaC+TH71Y6s/XFVivqU9oKJ9RwePGOXsKTlRg7TyU3WqmPjgI8E2QM8/Z/41L7G8v24y0XZq5Yaky1ittocEI/8FF4vhaIpLU8luSzCSU9A0JfEciJ2iVnbFb/O6bWCuk5VJVC91v8limVAEL3BeYzsP5NYw7uQ92uazU4oexHBJNeG1b+eGpdXUk8nYgsmCjbg8EgybFdfO2J1Lh5Lm8AMqhpSb76CK3I+zCzqp2T5q0iMuvR0gajLsD+k1DssTALrSIokT0Hj4q/1lzrE4kWkQqoUttXgySufd2lBioS4xw4UcZDs/DfiAB+U6cjDKP7A7hYMzeOkyJ7PiX72Tl+gclAbbU+jl2UgJFS40F1+V7HwNU3d9/8pBsGDFjlNM2wrbYgLKPgRuKPQ2bIMOU9wStLw/go3ZBJr+fFBHyHmOPSbOjOrPDQWEFuhzOjOgs63f5A/V+xMCUYVD8ECdIIvx19SsbbcLYC9blPuvjdg5BAEwrbhV/X+8fTo+PVSotZ/K8t/RL+mIISDCg/B8WLHXPLf2SQo+gCs+8wZG9aYUsH6yu3liXyVp20xrYISgpa3E9jyBpQO9gVK5jpyt0vh9yZYDCfTHQkJ14ZQpwFDwPMql5MYJsPxATlCRRYxaR9HkdF8636UC5pl6rbm1oAc0fJuOldz29w2yJKEqn2InQDz7HEoswBRcGjt8I7iXFkUcg4SnAxrs5OfXZiVrf7oPqiBtmLRRZc5uVuWzPL3ZXHLr4slQcjOYZP4EmiC8jBOs+iGR+0Y9NSkmPt9gq9eYBr3gRV1IJI0DYv7xBM6h0CFt7FSOpUpgvnOMlwDauH0vkxtYjte/JqjuKWhA2JE4vZIhfhbOZoNvJuISQ762nSFmj4e16zqVXWO/sleuNMSTCA3NL7YiRCspkZS5P1D+xe+RwzJxhTb3Zw6RlMPzGuCdPuB7rKT0AFjq9XJT7b7fokCJA+OH44l+K8yaxO8FtnEFUeDapAEhevhhJbiieVE9AWUZCZuX43TLNDdUVjC8dBNiKWHdX/qclqn/kp/1gkNJYd7D7OP60dfaz5jn/OefHgLABu9l+i8hGpuBBusgXo6UggiaiBc2maS5BnfmTCwLLrts6KhCWJC1A1AMEaJAHSDRDFTAKXV21NgzscjHDIEz+UYn9CA9skkIGrvNkRnBEhKaajcjaRR4KpELWiOpDcfBlE5xHv69ZemRvvhBvzhDfw56sYKShawTSRFU0Z3VN4nTc7yAGdaE3gWpYRBm6taw0KIG5iG2qiD1uqNC/KfjCIafpMaMo7s6sn3U7oc11t5Dmnm+5w+pMAmMM 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)(1800799024)(376014)(82310400026); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB7818 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DU2PEPF0001E9C0.eurprd03.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 6addf758-19df-4a52-8a0c-08dca0d7b60c X-Microsoft-Antispam: BCL:0; ARA:13230040|35042699022|1800799024|36860700013|82310400026|376014; X-Microsoft-Antispam-Message-Info: Ev/qAPPVh/IahkrhMyPOkOaNxShynmXewhwdwGWcDswh0GSDFcyuHTJHqKGaBhw7Z8xZleMgxCcCZwpQV3c00ZwgKTgYc3pHp9tkZb0ZSo5GP+JCEEsq6suJRPeUyz2/p5nfPXzQeLToD+dBcckBfOR0FrDeeonOqfiS2is0qQsbsj1X2P2nU5GIiIW3jmDlReKSeRdeB+5CRLUyFqeJc4JEQhQD6Ht1roLhgrz/49NTVMgr7tYmtyKt3Kncgx8lAtUKqWoA1WkKnY9x7lJdgNaAdHIpumNNeVxHZvu4yKf3IE4VQTmdmL8fL4SUYg5x8QFZxjrb+5wBGT2CBIOTKbn9T5Ke/6M19Xf4DT1n8ewDgQOHlul2INryB74IqJJlTRGPBo/yTUUz1z3Y6T5qz0Lh8qKbJ43DZILmk80/NOn8ADC23mSST4SFJkA8LWSYw7jYOM/QtutlNxWs0hK9tymkiZEFhs6jdOqRyDUl95MqBxHJrUw5OTEFpoyZPPH2GvgUZauztQvu8v6fpUj8tsHhEuQpx4xLyCYtTmPVUqrMyl5Ko2ITx52T8getkhQb61QNcR09uA3Q/BnDLSXbB6nLdNyHdWLgAB2QmGSY6j0lIgKpP4g+aHIB00JVPA+gKWVjveM25BHXPTcT44LAhtsvT3X074aTXp0VjYAzYTgCiT+rPSpX5DrvYxkC77rtLkXYnCeExCuVf7pURKSpTZkkd0R5WoBEgOlq1D/K8eoaYpReB/2nuGe0XESnmg289y+qykP38FeXw0fbz+kSFeJrmssQb2S7qT1f/6J8S2CULLsDwb23VPGj/QXA9bgO3s4HVG9KPr0vfzsFYPukcyN3Bcb1aXIs2uV+iIwqJBG3oC61NjwgR2I/yuUCAUHVLUieJa2D37M9S7Nd8NLGFH+sANeOUoYhLRBGAbxVKodJiscSqoAZWdtSO/Z/dhdhH2t+dOs1LD38RZKxQ6U8VpqGQxdZk5wOXG+wnnqgWWQJmKcYRVHiTfbj4s7lssG2IHOLndUmc6hz5QPdjKomQ9ze4eAfK9uEjbOf4Ip9lDUXrO3wzjYNJW5O76m07xi0SWXNso22gqvLXRoAizSr2WfVYn8+1X+EaDZ6/B+5AC2Vy3hGi4A1letMssGwo01aXoLoABoy5z+wId9XXCjtqccLmN+TDLg01xpvViwjtCXOXBmIoAeAWzI+hADcFZ+EGAhImh9Bi+LpC8mfmh6js6wQoduAN2vmUPFn0QuH8ijgzt2t86kIdJ5Uh1BcXkL8nM8NZ8gMLiSEnUPAVjLyKBgZhuMY87lJQIjZUz9qj/8Evhq9aS/zqemNUCFehTWaFRSKK/TyiINV486gWfDEZjFS7VmV8HMuJPqwN7qFfLswWnVfmH10YrbIw5dfPkreJWIwbah9A6MMswHRloAiGMc9z/CbfL2sLz3ahvr9KOOATMbN/ouUd/QCxYWGb2sl 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)(35042699022)(1800799024)(36860700013)(82310400026)(376014); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jul 2024 11:59:20.8546 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5685ca7c-957e-48d5-c315-08dca0d7bbc6 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: DU2PEPF0001E9C0.eurprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR08MB10093 X-Spam-Status: No, score=-12.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS, SPF_NONE, TXREP, UNPARSEABLE_RELAY 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org The arm 'pe' target was removed back in 2012 when the FPA support was removed, but in a small number of places some conditional code was accidentally left behind. It's no-longer needed, so remove it. gcc/ChangeLog: * config/arm/arm-protos.h (arm_dllexport_name_p): Remove prototype. (arm_dllimport_name_p): Likewise. (arm_pe_unique_section): Likewise. (arm_pe_encode_section_info): Likewise. (arm_dllexport_p): Likewise. (arm_dllimport_p): Likewise. (arm_mark_dllexport): Likewise. (arm_mark_dllimport): Likewise. (arm_change_mode_p): Likewise. * config/arm/arm.cc (arm_gnu_attributes): Remove attributes for ARM_PE. (TARGET_ENCODE_SECTION_INFO): Remove setting for ARM_PE. (is_called_in_ARM_mode): Remove ARM_PE conditional code. (thumb1_output_interwork): Remove obsolete ARM_PE code. (arm_encode_section_info): Remove surrounding #ifndef. --- gcc/config/arm/arm-protos.h | 12 ------------ gcc/config/arm/arm.cc | 32 +------------------------------- 2 files changed, 1 insertion(+), 43 deletions(-) diff --git a/gcc/config/arm/arm-protos.h b/gcc/config/arm/arm-protos.h index 34d6be76e94..50cae2b513a 100644 --- a/gcc/config/arm/arm-protos.h +++ b/gcc/config/arm/arm-protos.h @@ -266,19 +266,7 @@ extern const char *thumb1_output_casesi (rtx *); extern const char *thumb2_output_casesi (rtx *); #endif -/* Defined in pe.c. */ -extern int arm_dllexport_name_p (const char *); -extern int arm_dllimport_name_p (const char *); - -#ifdef TREE_CODE -extern void arm_pe_unique_section (tree, int); -extern void arm_pe_encode_section_info (tree, rtx, int); -extern int arm_dllexport_p (tree); -extern int arm_dllimport_p (tree); -extern void arm_mark_dllexport (tree); -extern void arm_mark_dllimport (tree); extern bool arm_change_mode_p (tree); -#endif extern tree arm_valid_target_attribute_tree (tree, struct gcc_options *, struct gcc_options *); diff --git a/gcc/config/arm/arm.cc b/gcc/config/arm/arm.cc index 93993d95eb9..92cd168e659 100644 --- a/gcc/config/arm/arm.cc +++ b/gcc/config/arm/arm.cc @@ -208,9 +208,7 @@ static int aapcs_select_return_coproc (const_tree, const_tree); static void arm_elf_asm_constructor (rtx, int) ATTRIBUTE_UNUSED; static void arm_elf_asm_destructor (rtx, int) ATTRIBUTE_UNUSED; #endif -#ifndef ARM_PE static void arm_encode_section_info (tree, rtx, int); -#endif static void arm_file_end (void); static void arm_file_start (void); @@ -352,21 +350,7 @@ static const attribute_spec arm_gnu_attributes[] = NULL }, { "naked", 0, 0, true, false, false, false, arm_handle_fndecl_attribute, NULL }, -#ifdef ARM_PE - /* ARM/PE has three new attributes: - interfacearm - ? - dllexport - for exporting a function/variable that will live in a dll - dllimport - for importing a function/variable from a dll - - Microsoft allows multiple declspecs in one __declspec, separating - them with spaces. We do NOT support this. Instead, use __declspec - multiple times. - */ - { "dllimport", 0, 0, true, false, false, false, NULL, NULL }, - { "dllexport", 0, 0, true, false, false, false, NULL, NULL }, - { "interfacearm", 0, 0, true, false, false, false, - arm_handle_fndecl_attribute, NULL }, -#elif TARGET_DLLIMPORT_DECL_ATTRIBUTES +#if TARGET_DLLIMPORT_DECL_ATTRIBUTES { "dllimport", 0, 0, false, false, false, false, handle_dll_attribute, NULL }, { "dllexport", 0, 0, false, false, false, false, handle_dll_attribute, @@ -488,11 +472,7 @@ static const scoped_attribute_specs *const arm_attribute_table[] = #define TARGET_MEMORY_MOVE_COST arm_memory_move_cost #undef TARGET_ENCODE_SECTION_INFO -#ifdef ARM_PE -#define TARGET_ENCODE_SECTION_INFO arm_pe_encode_section_info -#else #define TARGET_ENCODE_SECTION_INFO arm_encode_section_info -#endif #undef TARGET_STRIP_NAME_ENCODING #define TARGET_STRIP_NAME_ENCODING arm_strip_name_encoding @@ -26821,11 +26801,7 @@ is_called_in_ARM_mode (tree func) if (TARGET_CALLEE_INTERWORKING && TREE_PUBLIC (func)) return true; -#ifdef ARM_PE - return lookup_attribute ("interfacearm", DECL_ATTRIBUTES (func)) != NULL_TREE; -#else return false; -#endif } /* Given the stack offsets and register mask in OFFSETS, decide how @@ -28301,10 +28277,6 @@ thumb1_output_interwork (void) #define STUB_NAME ".real_start_of" fprintf (f, "\t.code\t16\n"); -#ifdef ARM_PE - if (arm_dllexport_name_p (name)) - name = arm_strip_name_encoding (name); -#endif asm_fprintf (f, "\t.globl %s%U%s\n", STUB_NAME, name); fprintf (f, "\t.thumb_func\n"); asm_fprintf (f, "%s%U%s:\n", STUB_NAME, name); @@ -28893,7 +28865,6 @@ arm_file_end (void) } } -#ifndef ARM_PE /* Symbols in the text segment can be accessed without indirecting via the constant pool; it may take an extra binary operation, but this is still faster than indirecting via memory. Don't do this when not optimizing, @@ -28908,7 +28879,6 @@ arm_encode_section_info (tree decl, rtx rtl, int first) default_encode_section_info (decl, rtl, first); } -#endif /* !ARM_PE */ static void arm_internal_label (FILE *stream, const char *prefix, unsigned long labelno)