From patchwork Mon Nov 25 13:43:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wilco Dijkstra X-Patchwork-Id: 2014932 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=PIjcEcs/; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=PIjcEcs/; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.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 4Xxn4d2VHKz1yCv for ; Tue, 26 Nov 2024 00:44:33 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 850A03858C78 for ; Mon, 25 Nov 2024 13:44:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 850A03858C78 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=PIjcEcs/; dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com header.a=rsa-sha256 header.s=selector1 header.b=PIjcEcs/ X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061c.outbound.protection.outlook.com [IPv6:2a01:111:f403:2613::61c]) by sourceware.org (Postfix) with ESMTPS id 9FE413858D37 for ; Mon, 25 Nov 2024 13:43:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9FE413858D37 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 9FE413858D37 Authentication-Results: server2.sourceware.org; arc=pass smtp.remote-ip=2a01:111:f403:2613::61c ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1732542223; cv=pass; b=oSlE0V7O4fcdtBUmUQ5oYdh51cwp9LHSzMCvluHyJEiSpIcLLwFzMPntcgV8tHJJSVVbkwr8FvGj6j05+/NdrwyykC0ivZNorInQL4pmgmG778w4mXGqA5Kmcj2q8zjrvQ3eUeRqhBP/pRs1Zi3L04c+VEHT4ysr54GcRURnRmg= ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1732542223; c=relaxed/simple; bh=pJHqrSdQ8pEZLSMXi3h/nNct+Rpzl/lEKWugLqiuz4w=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=Z4XPO+qKac4QaifPDo9KWe2nuGnBSrzkFUBlEssPTs8w/WNi0jhFFHf1W0TKhZNw71naDlRCywzTwRT6nJUQITN2Ygfwl2q2Y2lNcthTBwsXa8O89Treh+43adUniKGLw6eIbe8SUJOH1a2VPDL9baDcUDf6SnkBsLLfp42FCec= ARC-Authentication-Results: i=3; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9FE413858D37 ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=IMfjlKTD/jm9J4QNJLGDP7/a/oT9YKmbqSVgxZX53HO644ul4jXpOlm0T1Dwpzgim/Zd5N7gMpvLAmuraLprxmj3cSlQydtTBC1XBSIlN7K5dB7LsjW7zmW74GvwA5aWUFPRoVTsaP/DlI5ZHSSeR+AaIcDQUWLx83FCrPjzdaSsKgWJyP9uWC/RbRQ3oShkzvaGIkn3WDsmA8JbN9aMEwNhq82SNvFgF99JCROdOqCPj2xL/roQplo9nrfT2Nf0DY8LGavV6Iwf0EcwM8o5QSFy7vBsrizNP8Vw6vslfIHUrnG8no2xoZBsH29JJBIh1eL2N5hFsDLptknRTZOVRQ== 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=9+DyL+3ddfRyHh9QHjkNcOnGM8b3YzzJgxjF1zCCjeQ=; b=MzeHvEycRp4zEDDYD4jiQXXKTATRloga5LEn3XbcSU+xz/wuqMg01YR/y5OYHHlDsZ4W2rL5va0tPjOu9q9+0XOOR9nDdSDfOr4JwD2ajPu/QIwYRq2iKB42KHy+ggt7nSGagYIQHiTsSihnd2o2NStV3+tW99hzPdGvx1eWOmtUG459DfGvdGsrwl7xkkKRBfFU+XM54gTkrEjSfeQ175xAZWLvr7BI/acLpZWE0L+6aRwXKzLA5UACmHhtIfLBWOXyqvj5goPMYfNqoJXtCjY3CywT2EL1LdeL4qs+3Dn/xabNEdEuniREjl6Zu021UHwEFy2yyZwZ+Yuf/4Wf/g== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=sourceware.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] dkim=[1,1,header.d=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=9+DyL+3ddfRyHh9QHjkNcOnGM8b3YzzJgxjF1zCCjeQ=; b=PIjcEcs/otm6RmAFRZUybNdbEWWAe9aDiv9imIEp/A7ZNvKhkGdTYH0RQFU2VNBJBx8WLJA8CE0R/zsDdAutSX6jn2uSL+Tj+ZKjfRYPYNkS6kEBwR42nQUAxl77o04gRSGDmy3o9CZ0hKVDEGcV/i/AWr+Pzu8HXAENmpTXIM0= Received: from AS9PR06CA0273.eurprd06.prod.outlook.com (2603:10a6:20b:45a::13) by DU5PR08MB10803.eurprd08.prod.outlook.com (2603:10a6:10:525::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.20; Mon, 25 Nov 2024 13:43:28 +0000 Received: from AMS0EPF000001A3.eurprd05.prod.outlook.com (2603:10a6:20b:45a:cafe::4) by AS9PR06CA0273.outlook.office365.com (2603:10a6:20b:45a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.19 via Frontend Transport; Mon, 25 Nov 2024 13:43:28 +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 AMS0EPF000001A3.mail.protection.outlook.com (10.167.16.228) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8182.16 via Frontend Transport; Mon, 25 Nov 2024 13:43:28 +0000 Received: ("Tessian outbound a09d3701ea63:v490"); Mon, 25 Nov 2024 13:43:27 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: b2ccb85f95f598fd X-TessianGatewayMetadata: P6HsACDFeX7v9NrGiEJ/XLmUcAvriVkGznJXl181Zq3NmsRYkmNjcSmBdmOB2aAGpsRA5l5uy764N+rE1LDrY2x/KxT0cDNhYZqxQCAJP0lVcEBLbs8YnMi18+dJMIX5Jc/zvsO3NRMdfFTvFqc2057c/d690Ksn03lrDq02TdNMU9EoO4ZdClgsrXx8lp8XJpj66XhVwjC22pbyoHG7TQ== X-CR-MTA-TID: 64aa7808 Received: from Lee38bf0c160b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 38CDBC5B-C7DD-424A-8C7F-BA75117A01A0.1; Mon, 25 Nov 2024 13:43:21 +0000 Received: from EUR02-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id Lee38bf0c160b.1 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 25 Nov 2024 13:43:21 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ylQvJGEJMmkJbPWKytrUbz25DBqZ+3WO1leQGIND/nuPn3OQp4feyIstxOL6WYION56RFAphSrpl1FSbrcT+HrHDsz2Hi5aohDJx3QL35tacXUZSrX6PMuvv9UhJpqSHdd8KKcDneIsk+y6nsuoVvV27kec9ViyPYWfvpoLVlejEiGMwPbLyWSx4QK76V/nHNgqFbWcDqK9VvY5V2J5j1i1gw5T0WPTNkNM4T3EdpmR8VaLgAgQeIM/K0Cd99qailCrT4Kk2OPkCe+s1kMOmB7IGCa2lEhBAzO7MSbQ3DZr9fwpZ8FiNbSeTDVClTo8ZdTLKSZdMMptd1blpL0R5UQ== 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=9+DyL+3ddfRyHh9QHjkNcOnGM8b3YzzJgxjF1zCCjeQ=; b=aW5OMyamEa3h1v7xKBN2oBuOIPBBA8UdjTe4v0hOdJmPmvyGSwfW0KcZxgh4IE15gHW8K7sVs6kiNXdgTeWVbOq4r3efwGcu1WlJH8KgOgbmMz3+1+4o9o1orCt5FNvy77akUddrfxH2cC0zj1qClQB2EsRRS5QeOrcXWig9oplddbq4xr+QJqTvJ+SCFd3bohlg9NHjLbnfhXUo7pWHxbVHkb4c52fHhe0joYl/B53k9M9EULXKHecjiszeqmnoTal9bytVe16vE2hE4bWhCGLoovXjCGSnnKuv5QYZPnuom7C+jsbyIORcaVt0vASASsr6YAgnjKE0cljqHh8V6A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none 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=9+DyL+3ddfRyHh9QHjkNcOnGM8b3YzzJgxjF1zCCjeQ=; b=PIjcEcs/otm6RmAFRZUybNdbEWWAe9aDiv9imIEp/A7ZNvKhkGdTYH0RQFU2VNBJBx8WLJA8CE0R/zsDdAutSX6jn2uSL+Tj+ZKjfRYPYNkS6kEBwR42nQUAxl77o04gRSGDmy3o9CZ0hKVDEGcV/i/AWr+Pzu8HXAENmpTXIM0= Received: from PAWPR08MB8982.eurprd08.prod.outlook.com (2603:10a6:102:33f::20) by PAWPR08MB8813.eurprd08.prod.outlook.com (2603:10a6:102:335::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8182.18; Mon, 25 Nov 2024 13:43:19 +0000 Received: from PAWPR08MB8982.eurprd08.prod.outlook.com ([fe80::b366:6358:236e:352d]) by PAWPR08MB8982.eurprd08.prod.outlook.com ([fe80::b366:6358:236e:352d%5]) with mapi id 15.20.8182.019; Mon, 25 Nov 2024 13:43:19 +0000 From: Wilco Dijkstra To: 'GNU C Library' Subject: [PATCH] Remove unused dl-procinfo.h Thread-Topic: [PATCH] Remove unused dl-procinfo.h Thread-Index: AQHbPz/EvOiXoUYqGECVqgJcEiPaZw== Date: Mon, 25 Nov 2024 13:43:19 +0000 Message-ID: Accept-Language: en-GB, en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: PAWPR08MB8982:EE_|PAWPR08MB8813:EE_|AMS0EPF000001A3:EE_|DU5PR08MB10803:EE_ X-MS-Office365-Filtering-Correlation-Id: bc1dc1ea-42c7-4775-d2c0-08dd0d572483 x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; ARA:13230040|376014|1800799024|366016|38070700018; X-Microsoft-Antispam-Message-Info-Original: =?iso-8859-1?q?e7LvJNv2kLaXDd1nl?= =?iso-8859-1?q?5PXDlFjYhPUzo9iLO/J24RMGvA5wzGKIYNJ3W53WvvDOd79GPR8D68PsEN+s?= =?iso-8859-1?q?wnyXLh0p9IzpQStsGNdEzef4+hhqJNlL8VK6Ay1hBBxWWOcYgbnsXXY915uH?= =?iso-8859-1?q?NBYbp1Z0nHBT8ErRN2AUtqVKj4oLBiMiAvXJpRfleVGiOzyf73b5YGIeDoiy?= =?iso-8859-1?q?Mm6ugApliw86YRIK4yxhvJYNB7GGs1oVl+Bj4h9TedCN24jeJg42MqFjigcp?= =?iso-8859-1?q?fmMu4jOKAf2e13w/UsiyjNA2JYTPjzmsa4QxfaUqwsh2DwK+s+kLZbZPxsTp?= =?iso-8859-1?q?vFmYfEP/N/J+Ir8u/itevQp3DoPDTGGd5GpF4A6dr/BlK/dzs2RTl72/VEzz?= =?iso-8859-1?q?ftFXxuEZl69dxZ1eaarYlHmuPbA1Cp+0+Ycn3sLHYSDAo6JLP0v73HcA5VEA?= =?iso-8859-1?q?/K0OsFafrM7nOFI7VLZXkBHf2VtoKz3IUN3Mgkvxw6wU0NBLy89eLFdqpxXk?= =?iso-8859-1?q?TTbY/d4FyZNhA/j4K1auCaaGuALp7pGQH0/cjoH/rO4Cpl54h1R3TN9hnPHh?= =?iso-8859-1?q?zbYEbd4KDpRJDEBFMA4KlWV7seZDNTtqCu4sPaxeC8KYc8I+q1QSCa9zmnj6?= =?iso-8859-1?q?8sW0hZGBgWw/5hIoTXkuu+TZr7XAfzElcg5djf+qNN/8A7R3cED3zHla8vZT?= =?iso-8859-1?q?gfX+EOG1wQPv+RE+hTSpdbEAMRSRGEEI2HrfPkYqd9JF4IX0zJBdYwUPTllT?= =?iso-8859-1?q?n6ln0Bf+mN5OK2YlG2QPsTlpQE+CKWkYNzmCXrHkEql5htCQEArZ+RKwYtZ2?= =?iso-8859-1?q?vOKc1QMssapnTjM7n5OSqC0NSO4l98PfpMgGwxl1CLXPM30KaX/Q1l78Mw6P?= =?iso-8859-1?q?Tb7Jxr8QLmwLwIv5L79GljZY6xhamgrx0rehISKOjmt5cbAaG/c/FC8laK66?= =?iso-8859-1?q?zMFl39TBGwoRmO989yKV1PiythuGp11tJ7+Vjop8dMdQEGfWeiBKiu3eMMlz?= =?iso-8859-1?q?oXL/4A9JwtrWuwrnXF4omEIsW6t0gU5lprMuglSPNY9XpaP5COsCB6eXYGwC?= =?iso-8859-1?q?u+4exas9pT/UufTAmBGhVdy9WJ9q3/QYj6Xccb+UlyBT5+ujHwEOvkEh7mfk?= =?iso-8859-1?q?tNemvREzU3RMg5xd2W+lopeLdXQDUHDy9zO2PNnMhlGCtoANA5kks5vc8tDS?= =?iso-8859-1?q?r8UtQ8f6ygH1fxbHC+T80Tf0c5e581bqbGxhmcsyMhutYZc/VLqlI8u00z5u?= =?iso-8859-1?q?UyMgJbTXXIEI5qMZR6xNUbytAIsl0KTMrQlONWcV6HQ2tfHE8MAbUYnLMvVZ?= =?iso-8859-1?q?LChgqcvV7Cc55k/EfbRkM+9NJwNRKMxh9jZRILlLUl5BW9TIKZZ22JXsTtKT?= =?iso-8859-1?q?a3x6tgsRxcZUa9iF674gW//0RELKG6bFv68u5q/cD8axrSNOaj7ikuC4MFxv?= =?iso-8859-1?q?K0N1kueSTITvYaCEm/MYc95IX7m8d3KEQ=3D=3D?= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PAWPR08MB8982.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(376014)(1800799024)(366016)(38070700018); DIR:OUT; SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAWPR08MB8813 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:102:33f::20]; domain=PAWPR08MB8982.eurprd08.prod.outlook.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AMS0EPF000001A3.eurprd05.prod.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: a34eaa1d-4303-48f6-4823-08dd0d571f1f X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|82310400026|35042699022|14060799003|1800799024|36860700013; X-Microsoft-Antispam-Message-Info: =?iso-8859-1?q?iMAElGyG8mOoFY1bl4xL4EZ09J?= =?iso-8859-1?q?bMJRlqe25jW7dxPMcArMkZBoWePVtqIX7W1ZcscKGm7sZVLNpuIQIhS0Vn9V?= =?iso-8859-1?q?mHSyZYdBpWeUIhwV2Nyl+7zSogrUxsXuQq2ruhkiQ0B0ERmVN2hU9EVCzMtx?= =?iso-8859-1?q?qPh3XnQLFnDfPHGd100pzy3kwWLdlDn7u0zjpYIAl/mKJtGbk5m/IPI4ZUog?= =?iso-8859-1?q?JP1P+gEjU8by3b+KEsbXWamanW8k8io2CxHSMqd7/vviZSTvxwmOITvMaRsK?= =?iso-8859-1?q?bHB4ir/J8hIKWtzFpK3Y6ceN3L/ai8Pdcw5wWRmvIRXE5RFxY0FvkB7hi7hs?= =?iso-8859-1?q?PRd3HoCP/jQAzEVXWoJ8m/1jC58dXVaxMyfSDvacHaIBOqHRpkY5/LQ8VHHm?= =?iso-8859-1?q?XJx5oCZ5upFSdtBtAQrexE8Xq7QDTCWlILSNwy18nA1LHetPztak56gu/jz0?= =?iso-8859-1?q?dk5sAQ+N+4MavhDlFibTfMmtY31PRCQh8kNKZ2JL9CpsbzMVUfRB5ddWX+2k?= =?iso-8859-1?q?+7lBR5ysE3j7/T3qidyr+EWdDo8statnkgV2/DkU8KJXydByAm9iww8CjQ7V?= =?iso-8859-1?q?ji+6EFY9qV8cvc2g2bvxeFmZPCSpl6EQgiT39ifE6AoQs83HnMx364J2icUZ?= =?iso-8859-1?q?eATIi8/qCWIs4DD5CTvgMmyu1u5INJaETns8IobyzKlwe0P+7ZGh2Laty4ds?= =?iso-8859-1?q?cCDP+tpx0GyB5Coii/ktCGPJuRwnUfyWpyrJUWlZjYR16SS5HYRxGWnb1UG3?= =?iso-8859-1?q?IiCclreI90NSNt5Pe5rmyitge0ENQhhkRQ7malhUihyff0Zsf37B9RR0nixL?= =?iso-8859-1?q?t3CZeEIhpyspj4gTQ1Pdky4maLMg0QE6U7TcodgwDY0/OzfV7gfIpoim1Vby?= =?iso-8859-1?q?Gs4z7pQNIUHonT2v7cK86blZCDjOq0u0E2yi4nM+4FTtvplPddSgVBUqC8lt?= =?iso-8859-1?q?GvSxL4n9b/pSOTyhvZ1WfS0J/T5fy4Y9FYU74T5SEs8/G14WGGxqwsQcLmzF?= =?iso-8859-1?q?LRntxbEW13Zx8fFzqniud40XLWj92IhjRQ96oHpctL+McfXj2EptsFHaN1OY?= =?iso-8859-1?q?aYp/vES6UL+K3AQZ7SzKT0DgtVauw68CpnnUSfJF4eSOKxwzTtHyC8L1jFYb?= =?iso-8859-1?q?9+3hfgoPPVBAHpsylvPNumd9QvT9WvlwHeYG0dVAOGORiCr7MIhpE6ve0oeX?= =?iso-8859-1?q?lJW6uoeM4rNLnYh6udeHHKXTeSWAOpZW7vhQygg6VFcjNsZXi8vuAJkQ1mb3?= =?iso-8859-1?q?Fi2yjVEPoCxXkszctVBODI3KmT+uoCOuMFCGzwXQAAJ/iSalX4VpxyL7z1XB?= =?iso-8859-1?q?S0BCgtwJ2F46hSQfDCAgt7Z1Onxr7LGILyRXuwGoQRwIvUUKDpT9zsTUJ5OH?= =?iso-8859-1?q?dcwNvyNTXdAgRrznA8vg6iffT7cndP772jTbScY1sATa3/Dgh3ToG80JlrFs?= =?iso-8859-1?q?NY40PH0IrP4yqQRuclBrY5ToYlyBnYxlSJw7oH4mRh4hLMp5Av+oKsvfEgMn?= =?iso-8859-1?q?Dr+NzV?= 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:64aa7808-outbound-1.mta.getcheckrecipient.com; CAT:NONE; SFS:(13230040)(376014)(82310400026)(35042699022)(14060799003)(1800799024)(36860700013); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Nov 2024 13:43:28.1788 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: bc1dc1ea-42c7-4775-d2c0-08dd0d572483 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: AMS0EPF000001A3.eurprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU5PR08MB10803 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces~incoming=patchwork.ozlabs.org@sourceware.org Remove unused _dl_hwcap_string defines. As a result many dl-procinfo.h headers can be removed. This also removes target specific _dl_procinfo implementations which only printed HWCAP strings using dl_hwcap_string. Passes buildmanyglibc, OK for commit? diff --git a/sysdeps/alpha/dl-procinfo.h b/sysdeps/alpha/dl-procinfo.h deleted file mode 100644 index 8d17d42ce2da36be67e78a57c97b32ed02a57575..0000000000000000000000000000000000000000 --- a/sysdeps/alpha/dl-procinfo.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Alpha version of processor capability information handling macros. - Copyright (C) 2008-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - . */ - -#ifndef _DL_PROCINFO_H -#define _DL_PROCINFO_H 1 - -#include - -/* We cannot provide a general printing function. */ -#define _dl_procinfo(type, word) -1 - -/* There are no hardware capabilities defined. */ -#define _dl_hwcap_string(idx) "" - -/* We don't have any hardware capabilities. */ -#define _DL_HWCAP_COUNT 0 - -#endif /* dl-procinfo.h */ diff --git a/sysdeps/csky/dl-procinfo.h b/sysdeps/csky/dl-procinfo.h deleted file mode 100644 index f5f6343cf64b3448b28496934c6f7d07428c7280..0000000000000000000000000000000000000000 --- a/sysdeps/csky/dl-procinfo.h +++ /dev/null @@ -1,34 +0,0 @@ -/* C-SKY version of processor capability information handling macros. - Copyright (C) 2018-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - . */ - - -#ifndef _DL_PROCINFO_H -#define _DL_PROCINFO_H 1 - -#include - -/* We cannot provide a general printing function. */ -#define _dl_procinfo(word, val) -1 - -/* There are no hardware capabilities defined. */ -#define _dl_hwcap_string(idx) "" - -/* We don't have any hardware capabilities. */ -#define _DL_HWCAP_COUNT 0 - -#endif /* dl-procinfo.h */ diff --git a/sysdeps/generic/dl-procinfo.h b/sysdeps/generic/dl-procinfo.h index 93edfc00cb3830608d8715765cfa120cfe163d84..04d6fb00a202675aa6b895dd3b9c5a19ff68ca20 100644 --- a/sysdeps/generic/dl-procinfo.h +++ b/sysdeps/generic/dl-procinfo.h @@ -22,10 +22,4 @@ /* We cannot provide a general printing function. */ #define _dl_procinfo(type, word) -1 -/* There are no hardware capabilities defined. */ -#define _dl_hwcap_string(idx) "" - -/* We don't have any hardware capabilities. */ -#define _DL_HWCAP_COUNT 0 - #endif /* dl-procinfo.h */ diff --git a/sysdeps/i386/dl-procinfo.c b/sysdeps/i386/dl-procinfo.c index e7c82414c01003e6d69769debac385f6ff77cbbb..fb82fbd7f11416173109938211bb807764d42453 100644 --- a/sysdeps/i386/dl-procinfo.c +++ b/sysdeps/i386/dl-procinfo.c @@ -41,24 +41,5 @@ #include -#if !defined PROCINFO_DECL && defined SHARED - ._dl_x86_cap_flags -#else -PROCINFO_CLASS const char _dl_x86_cap_flags[32][8] -#endif -#ifndef PROCINFO_DECL -= { - "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce", - "cx8", "apic", "10", "sep", "mtrr", "pge", "mca", "cmov", - "pat", "pse36", "pn", "clflush", "20", "dts", "acpi", "mmx", - "fxsr", "sse", "sse2", "ss", "ht", "tm", "ia64", "pbe" - } -#endif -#if !defined SHARED || defined PROCINFO_DECL -; -#else -, -#endif - #undef PROCINFO_DECL #undef PROCINFO_CLASS diff --git a/sysdeps/mips/dl-procinfo.h b/sysdeps/mips/dl-procinfo.h deleted file mode 100644 index af2616e1db61a1485cc32323c3e0b3a4cd898587..0000000000000000000000000000000000000000 --- a/sysdeps/mips/dl-procinfo.h +++ /dev/null @@ -1,33 +0,0 @@ -/* Mips version of processor capability information handling macros. - Copyright (C) 2007-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - . */ - -#ifndef _DL_PROCINFO_H -#define _DL_PROCINFO_H 1 - -#include - -/* We cannot provide a general printing function. */ -#define _dl_procinfo(type, word) -1 - -/* There are no hardware capabilities defined. */ -#define _dl_hwcap_string(idx) "" - -/* We don't have any hardware capabilities. */ -#define _DL_HWCAP_COUNT 0 - -#endif /* dl-procinfo.h */ diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h index 45dd11c189b48e0fba436cc57dcee6b290d5c08f..ea9356735aea2b5d0b96d6e51bdc8ed8b3a04250 100644 --- a/sysdeps/s390/dl-procinfo.h +++ b/sysdeps/s390/dl-procinfo.h @@ -62,11 +62,4 @@ enum /* We cannot provide a general printing function. */ #define _dl_procinfo(type, word) -1 -static inline const char * -__attribute__ ((unused)) -_dl_hwcap_string (int idx) -{ - return _dl_s390_cap_flags[idx]; -}; - #endif /* dl-procinfo.h */ diff --git a/sysdeps/sparc/dl-procinfo.h b/sysdeps/sparc/dl-procinfo.h deleted file mode 100644 index 709178706c5a43a87d235ed40f1643e730135682..0000000000000000000000000000000000000000 --- a/sysdeps/sparc/dl-procinfo.h +++ /dev/null @@ -1,55 +0,0 @@ -/* Linux/sparc version of processor capability information handling macros. - Copyright (C) 1999-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#ifndef _DL_PROCINFO_H -#define _DL_PROCINFO_H 1 - -#include -#include - -#define _DL_HWCAP_COUNT 28 - -static inline int -__attribute__ ((unused)) -_dl_procinfo (unsigned int type, unsigned long int word) -{ - int i; - - /* Fallback to generic output mechanism. */ - if (type != AT_HWCAP) - return -1; - - _dl_printf ("AT_HWCAP: "); - - for (i = 0; i < _DL_HWCAP_COUNT; ++i) - if (word & (1 << i)) - _dl_printf (" %s", GLRO(dl_sparc_cap_flags)[i]); - - _dl_printf ("\n"); - - return 0; -} - -static inline const char * -__attribute__ ((unused)) -_dl_hwcap_string (int idx) -{ - return GLRO(dl_sparc_cap_flags)[idx]; -}; - -#endif /* dl-procinfo.h */ diff --git a/sysdeps/sparc/dl-procinfo.c b/sysdeps/sparc/dl-procinfo.c deleted file mode 100644 index 643fbd9ebf801cd0fff6a2b499c677153a601aa3..0000000000000000000000000000000000000000 --- a/sysdeps/sparc/dl-procinfo.c +++ /dev/null @@ -1,63 +0,0 @@ -/* Data for Linux/sparc version of processor capability information. - Copyright (C) 2002-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -/* This information must be kept in sync with the _DL_HWCAP_COUNT - definition in procinfo.h. - - If anything should be added here check whether the size of each string - is still ok with the given array size. - - All the #ifdefs in the definitions ar equite irritating but - necessary if we want to avoid duplicating the information. There - are three different modes: - - - PROCINFO_DECL is defined. This means we are only interested in - declarations. - - - PROCINFO_DECL is not defined: - - + if SHARED is defined the file is included in an array - initializer. The .element = { ... } syntax is needed. - - + if SHARED is not defined a normal array initialization is - needed. - */ - -#ifndef PROCINFO_CLASS -#define PROCINFO_CLASS -#endif - -#if !defined PROCINFO_DECL && defined SHARED - ._dl_sparc_cap_flags -#else -PROCINFO_CLASS const char _dl_sparc_cap_flags[28][11] -#endif -#ifndef PROCINFO_DECL - = { "flush", "stbar", "swap", "muldiv", "v9", "ultra3", "v9v", "v9v2", - "mul32", "div32", "fsmuld", "v8plus", "popc", "vis", "vis2", - "ASIBlkInit", "fmaf", "vis3", "hpc", "random", "trans", "fjfmau", - "ima", "cspare", "pause", "cbcond", "crypto", "adp" } -#endif -#if !defined SHARED || defined PROCINFO_DECL -; -#else -, -#endif - -#undef PROCINFO_DECL -#undef PROCINFO_CLASS diff --git a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h deleted file mode 100644 index b85d4ad8a32e41fb6f884517108f806ad62bf93b..0000000000000000000000000000000000000000 --- a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h +++ /dev/null @@ -1,37 +0,0 @@ -/* Processor capability information handling macros - aarch64 version. - Copyright (C) 2017-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#ifndef _DL_PROCINFO_H -#define _DL_PROCINFO_H 1 - -#include -#include -#include -#include - -/* We cannot provide a general printing function. */ -#define _dl_procinfo(type, word) -1 - -static inline const char * -__attribute__ ((unused)) -_dl_hwcap_string (int idx) -{ - return (unsigned)idx < _DL_HWCAP_COUNT ? GLRO(dl_aarch64_cap_flags)[idx] : ""; -}; - -#endif /* dl-procinfo.h */ diff --git a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c index 7af232de523e8e2cc95554a49fcf26842ad7ecaa..f303d7ab47903af547b05436c473eea1df9be5e2 100644 --- a/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c +++ b/sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c @@ -56,27 +56,5 @@ PROCINFO_CLASS struct cpu_features _dl_aarch64_cpu_features # endif #endif -/* Number of HWCAP bits set. */ -#define _DL_HWCAP_COUNT 32 - -#if !defined PROCINFO_DECL && defined SHARED - ._dl_aarch64_cap_flags -#else -PROCINFO_CLASS const char _dl_aarch64_cap_flags[_DL_HWCAP_COUNT][10] -#endif -#ifndef PROCINFO_DECL -/* Matches the names in arch/arm64/kernel/cpuinfo.c of Linux. */ -= { "fp", "asimd", "evtstrm", "aes", "pmull", "sha1", "sha2", "crc32", - "atomics", "fphp", "asimdhp", "cpuid", "asimdrdm", "jscvt", "fcma", - "lrcpc", "dcpop", "sha3", "sm3", "sm4", "asimddp", "sha512", "sve", - "asimdfhm", "dit", "uscat", "ilrcpc", "flagm", "ssbs", "sb", "paca", - "pacg" } -#endif -#if !defined SHARED || defined PROCINFO_DECL -; -#else -, -#endif - #undef PROCINFO_DECL #undef PROCINFO_CLASS diff --git a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h deleted file mode 100644 index 7d26216718d3b0bee35b16c62ff08a2e3bdbe873..0000000000000000000000000000000000000000 --- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h +++ /dev/null @@ -1,73 +0,0 @@ -/* Linux/ARM version of processor capability information handling macros. - Copyright (C) 2001-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - . */ - -#ifndef _DL_PROCINFO_H -#define _DL_PROCINFO_H 1 - -#include -#include - -#define _DL_HWCAP_COUNT 27 - -/* Low 28 bits are allocated in HWCAP. */ -#define _DL_HWCAP_LAST 27 - -/* Low 7 bits are allocated in HWCAP2. */ -#define _DL_HWCAP2_LAST 6 - - -static inline const char * -__attribute__ ((unused)) -_dl_hwcap_string (int idx) -{ - return GLRO(dl_arm_cap_flags)[idx]; -}; - -static inline int -__attribute__ ((unused)) -_dl_procinfo (unsigned int type, unsigned long int word) -{ - switch(type) - { - case AT_HWCAP: - _dl_printf ("AT_HWCAP: "); - - for (int i = 0; i <= _DL_HWCAP_LAST; ++i) - if (word & (1 << i)) - _dl_printf (" %s", _dl_hwcap_string (i)); - break; - case AT_HWCAP2: - { - unsigned int offset = _DL_HWCAP_LAST + 1; - - _dl_printf ("AT_HWCAP2: "); - - for (int i = 0; i <= _DL_HWCAP2_LAST; ++i) - if (word & (1 << i)) - _dl_printf (" %s", _dl_hwcap_string (offset + i)); - break; - } - default: - /* Fallback to generic output mechanism. */ - return -1; - } - _dl_printf ("\n"); - return 0; -} - -#endif /* dl-procinfo.h */ diff --git a/sysdeps/unix/sysv/linux/arm/dl-procinfo.c b/sysdeps/unix/sysv/linux/arm/dl-procinfo.c deleted file mode 100644 index ad18a8ce8f1dd1a202e03ec3f15da23d436cac15..0000000000000000000000000000000000000000 --- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.c +++ /dev/null @@ -1,66 +0,0 @@ -/* Data for Linux/ARM version of processor capability information. - Copyright (C) 2001-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library. If not, see - . */ - -/* This information must be kept in sync with the _DL_HWCAP_COUNT and - _DL_PLATFORM_COUNT definitions in procinfo.h. - - If anything should be added here check whether the size of each string - is still ok with the given array size. - - All the #ifdefs in the definitions are quite irritating but - necessary if we want to avoid duplicating the information. There - are three different modes: - - - PROCINFO_DECL is defined. This means we are only interested in - declarations. - - - PROCINFO_DECL is not defined: - - + if SHARED is defined the file is included in an array - initializer. The .element = { ... } syntax is needed. - - + if SHARED is not defined a normal array initialization is - needed. - */ - -#ifndef PROCINFO_CLASS -#define PROCINFO_CLASS -#endif - -#if !defined PROCINFO_DECL && defined SHARED - ._dl_arm_cap_flags -#else -PROCINFO_CLASS const char _dl_arm_cap_flags[35][10] -#endif -#ifndef PROCINFO_DECL -= { - "swp", "half", "thumb", "26bit", "fastmult", "fpa", "vfp", "edsp", - "java", "iwmmxt", "crunch", "thumbee", "neon", "vfpv3", "vfpv3d16", - "tls", "vfpv4", "idiva", "idivt", "vfpd32", "lpae", "evtstrm", - "fphp", "asimdhp", "asimddp", "asimdfhm", "asimdbf16", "i8mm", - "aes", "pmull", "sha1", "sha2", "crc32", "sb", "ssbs", - } -#endif -#if !defined SHARED || defined PROCINFO_DECL -; -#else -, -#endif - -#undef PROCINFO_DECL -#undef PROCINFO_CLASS diff --git a/sysdeps/unix/sysv/linux/i386/dl-procinfo.h b/sysdeps/unix/sysv/linux/i386/dl-procinfo.h deleted file mode 100644 index 3de8dea0df44086424524a9e58e4a455461fb74a..0000000000000000000000000000000000000000 --- a/sysdeps/unix/sysv/linux/i386/dl-procinfo.h +++ /dev/null @@ -1,46 +0,0 @@ -/* Linux/i386 version of processor capability information handling macros. - Copyright (C) 1998-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#ifndef _DL_I386_PROCINFO_H -#define _DL_I386_PROCINFO_H 1 -#include - -#undef _dl_procinfo -static inline int -__attribute__ ((unused)) -_dl_procinfo (unsigned int type, unsigned long int word) -{ - /* This table should match the information from arch/i386/kernel/setup.c - in the kernel sources. */ - int i; - - /* Fallback to generic output mechanism. */ - if (type != AT_HWCAP) - return -1; - - _dl_printf ("AT_HWCAP: "); - - for (i = 0; i < 32; ++i) - if (word & (1 << i)) - _dl_printf (" %s", GLRO(dl_x86_cap_flags)[i]); - - _dl_printf ("\n"); - - return 0; -} -#endif diff --git a/sysdeps/unix/sysv/linux/s390/dl-procinfo.h b/sysdeps/unix/sysv/linux/s390/dl-procinfo.h deleted file mode 100644 index bcae03e93416648ee7e895ae0759c91f04bd3635..0000000000000000000000000000000000000000 --- a/sysdeps/unix/sysv/linux/s390/dl-procinfo.h +++ /dev/null @@ -1,48 +0,0 @@ -/* Linux/s390 version of processor capability information handling macros. - Copyright (C) 2006-2024 Free Software Foundation, Inc. - This file is part of the GNU C Library. - - The GNU C Library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - The GNU C Library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with the GNU C Library; if not, see - . */ - -#ifndef _DL_S390_PROCINFO_H -#define _DL_S390_PROCINFO_H 1 -#include -#include - - -#undef _dl_procinfo -static inline int -__attribute__ ((unused)) -_dl_procinfo (unsigned int type, unsigned long int word) -{ - /* This table should match the information from arch/s390/kernel/setup.c - in the kernel sources. */ - int i; - - /* Fallback to generic output mechanism. */ - if (type != AT_HWCAP) - return -1; - - _dl_printf ("AT_HWCAP: "); - - for (i = 0; i < _DL_HWCAP_COUNT; ++i) - if (word & (1UL << i)) - _dl_printf (" %s", _dl_s390_cap_flags[i]); - - _dl_printf ("\n"); - - return 0; -} -#endif diff --git a/sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h b/sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h deleted file mode 100644 index 7b45fe4bf8675a16573764b316106c63401a5a45..0000000000000000000000000000000000000000 --- a/sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h +++ /dev/null @@ -1,5 +0,0 @@ -#if IS_IN (ldconfig) -# include -#else -# include -#endif diff --git a/sysdeps/x86/dl-hwcap.h b/sysdeps/x86/dl-hwcap.h index 325f1c467ca77bf4f4c9d5aa4009b39bcea9592e..8c181e3cb3639932997da42252ccd690081284e7 100644 --- a/sysdeps/x86/dl-hwcap.h +++ b/sysdeps/x86/dl-hwcap.h @@ -25,13 +25,6 @@ enum HWCAP_X86_AVX512_1 = 1 << 2 }; -static inline const char * -__attribute__ ((unused)) -_dl_hwcap_string (int idx) -{ - return GLRO(dl_x86_hwcap_flags)[idx]; -}; - /* We cannot provide a general printing function. */ #define _dl_procinfo(type, word) -1 diff --git a/sysdeps/x86/dl-procinfo.c b/sysdeps/x86/dl-procinfo.c index b791fd3e92ba53f7611e82d3fbbebc61fce34d7e..b6b8f7d24e8fca59c8066e7824ac61b0ad63f26d 100644 --- a/sysdeps/x86/dl-procinfo.c +++ b/sysdeps/x86/dl-procinfo.c @@ -54,22 +54,6 @@ PROCINFO_CLASS struct cpu_features _dl_x86_cpu_features # endif #endif -#if !defined PROCINFO_DECL && defined SHARED - ._dl_x86_hwcap_flags -#else -PROCINFO_CLASS const char _dl_x86_hwcap_flags[3][9] -#endif -#ifndef PROCINFO_DECL -= { - "sse2", "x86_64", "avx512_1" - } -#endif -#if !defined SHARED || defined PROCINFO_DECL -; -#else -, -#endif - #if defined SHARED && !IS_IN (ldconfig) # if !defined PROCINFO_DECL ._dl_x86_tlsdesc_dynamic