[v1,04/14] clean-up bfd/elf-attrs.c: change return type of uleb128_size to unsigned
| Message ID | 20250227104811.178094-5-matthieu.longo@arm.com |
|---|---|
| State | Committed |
| Headers |
Return-Path: <binutils-bounces~patchwork=sourceware.org@sourceware.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 817893858C30
for <patchwork@sourceware.org>; Thu, 27 Feb 2025 10:51:37 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 817893858C30
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=Ia8fJFW/;
dkim=pass (1024-bit key) header.d=arm.com header.i=@arm.com
header.a=rsa-sha256 header.s=selector1 header.b=Ia8fJFW/
X-Original-To: binutils@sourceware.org
Delivered-To: binutils@sourceware.org
Received: from OSPPR02CU001.outbound.protection.outlook.com
(mail-norwayeastazlp170130007.outbound.protection.outlook.com
[IPv6:2a01:111:f403:c20f::7])
by sourceware.org (Postfix) with ESMTPS id C61D43858402
for <binutils@sourceware.org>; Thu, 27 Feb 2025 10:49:26 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C61D43858402
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 C61D43858402
Authentication-Results: server2.sourceware.org;
arc=pass smtp.remote-ip=2a01:111:f403:c20f::7
ARC-Seal: i=3; a=rsa-sha256; d=sourceware.org; s=key; t=1740653367; cv=pass;
b=ufSV8NmEqdr9XNXY3BqczfDJMiET3rvFvR6o+GuD5up5M6MoVC1fII8yk24bm/NDUhSCepUVw0/nxS0Mb9ijgZbKD31u0jVtcQcg3scRnTJx7XyVvYXSFpm7WbAiQ8jDkp49tMJah60aSWEkim+9+HTtQp+P1T8gYWWLyhn8rTo=
ARC-Message-Signature: i=3; a=rsa-sha256; d=sourceware.org; s=key;
t=1740653367; c=relaxed/simple;
bh=BJGXiAqtQWJeRtWFA5i+CN+b+rnS4VFk0D5Yx/Cf5NM=;
h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID:
MIME-Version;
b=xY/yhD7aZkD8QOxtys1RE8TXKVHf5U2XOqeMvblwsp3eIlTBKjq9HE8yYunEj5ZV2FIODpffcqgkz4cN5JaxwOAdzawxxZ6ajd4o2ANC0WsKLi4dH+Y+dITTF4A+Yg9Xhk/dRX07dB9yWEh6LmHtviORja5hDrjj53PUBVkWS/g=
ARC-Authentication-Results: i=3; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C61D43858402
ARC-Seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass;
b=HU0wWWKuC6NgoT6Tt1plpLg/ngbXgwIx2GBNUVLkQBBA2yT+pXjSvSNLT0UYcV5gvY1rvJNU/18uSxpODVkzz2WzsAWfcVxvWZ6WeRBGMvXgKsyiFDZmw51tvZnxc9yE6FBfZv3f287FEwA3vBwoFJRf+9pJJ2MfXpjThDn8rHj5SmEwZELMgQLcI/8u9efNsvIyhJhcA8XvWc2nK0vSj13LXV5fAG8oBAc2rPQAAPvOaQYFIxQMrLbRRSd82yDo+GqfIYhL4Lx+BdgR75kyKYPJcO7FPiHDUKFv0g0U2ESGClJzmZ5u8dPYnclV9VLZF5BwsHDvWjIxgd0aNpuMpQ==
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=TJHMsdLhaFr1+8G96kTCi17wXBieEsmdK49oTSEpgLs=;
b=XS2fYzP3bMNS+Yg8UdXDRiKU3+Eb9RpY4nvhKzuad0Jj6NBkfyq1hJoxfhKFHannMHsiKyH6DZZ2O+272hUKVj7T0d5RdhpsUR3pV+ixpImxJ8j1hltI7bmVWSxbYKBQpASB55YESq2I1rDzF6Hfz7NBNd8fm5XqOn36Gw1KET5lZBTJDwDjCTQpTR7F3LVgObKDpPNby8+aqOqAx0s6MiTd3UYZlACojNSN0O8jJkrjmCFieRZ7+rbJSM+e2Gqey17zRb3m/ZUuc4XIwbl8DvMIxHo4lOFmMH37LtQo3Dy5kZYBVP+R561EbsqFfv9kTc31kVenMmFqJ6plSpBPJg==
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=0
ltdi=1)
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=TJHMsdLhaFr1+8G96kTCi17wXBieEsmdK49oTSEpgLs=;
b=Ia8fJFW/J7u7Kyyz7DjFucnJGvjiLQ/EAlxchzbt9b6yRR9ytrFoY0NMdAbYL8l56ZcNxiu6M8ks2d7AF8A3RpRHxswVDpJTY+TGvloa6ZszlFZpc4m9nzCHKOqZV4xWWCZbVEm7zJut05dZUTNwR2GYxTbB3Qjas+c+cfIy1Hc=
Received: from DUZPR01CA0095.eurprd01.prod.exchangelabs.com
(2603:10a6:10:4bb::18) by GV1PR08MB10808.eurprd08.prod.outlook.com
(2603:10a6:150:160::16) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8466.20; Thu, 27 Feb
2025 10:49:23 +0000
Received: from DB5PEPF00014B93.eurprd02.prod.outlook.com
(2603:10a6:10:4bb:cafe::e7) by DUZPR01CA0095.outlook.office365.com
(2603:10a6:10:4bb::18) with Microsoft SMTP Server (version=TLS1_3,
cipher=TLS_AES_256_GCM_SHA384) id 15.20.8489.21 via Frontend Transport; Thu,
27 Feb 2025 10:49:22 +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
DB5PEPF00014B93.mail.protection.outlook.com (10.167.8.231) with
Microsoft
SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.20.8489.16
via Frontend Transport; Thu, 27 Feb 2025 10:49:22 +0000
Received: ("Tessian outbound bc832f6acacf:v585");
Thu, 27 Feb 2025 10:49:22 +0000
X-CheckRecipientChecked: true
X-CR-MTA-CID: ac1e55398543edfe
X-TessianGatewayMetadata:
29wd9jNIIWvFM9VvPIAsJWg/7JtPIfPjPR+51UXwJEAC11Isq7f8/pd1Q4N31rFCAkMOHY8MDZQAwqrqkz9tRaZIAu8bCo2rYrQYuQda5kJdoLwDu7atesgWnNiyAPVai/XabG4th1SJB5rw2Oa8r0dsoibLPDgshlw4LOK8I/E=
X-CR-MTA-TID: 64aa7808
Received: from Lee0555d304a1.2
by 64aa7808-outbound-1.mta.getcheckrecipient.com id
0A8ADF5F-0F5F-41CE-85A3-7803F0E6F141.1;
Thu, 27 Feb 2025 10:49:15 +0000
Received: from EUR05-AM6-obe.outbound.protection.outlook.com
by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id
Lee0555d304a1.2 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384);
Thu, 27 Feb 2025 10:49:15 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
b=Qm0nv55gYg2pRjqFheni4nnFPUGdMCxKyfxPJVE0tDyL1RtHNmf+uKbQ9Watj24W4xainjvgNNMEIjhveLoK807Ju8ulvASlOsn/1WLZcdv9PmkFqGyYRvvlKKHmCDtgl29zj1JUdknJ7uifygTja/Ai+SlRyKyT1cGuarQSh5g8qc126hyE/L8oZg2pj434tppYyBrUCflr85a/Asgn87CvvcRClyfO9Xcanx8k32NlOuxlBLHWJ/srBafowfsfLgaTCwTQuqzFSPlGsrq9xwygK+CKv83NhAtfIUXldeIfYyvOZSbn4mraf8U4ZwgjjvHBOFrcf4c6Wi/rhUz2ww==
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=TJHMsdLhaFr1+8G96kTCi17wXBieEsmdK49oTSEpgLs=;
b=QePOhjOeUMRkOwDAYlCyyUmmla63ZSnE01QaCiJfdyZvDA6Dpy2qainBBvrBmV97NpYyrPbf9rTtJvMuz3uG2//+jaABDWUDH9AFNRelNbNllSJE5tWpLN1oBwFb0vC2bEWA9s8l2HVkTK4N6zvvXDMTa5MbJIzjj6EES7k8Jk+CwUFHiSHVIxqJXMbVIKHddXdoLPmAvYs4KPbutMSjoUJZGaAj6VUz3wXCDIWWErrsVglLOr3/n/RohgyLhdek08ERs6s9zN2GibpfFSb8HKkNiod9FX8HK0YRzGLnXUjDz6ugdV738PfLzOjgatm1q596X6k1X+R9SC/CkR4NPQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is
172.205.89.229) smtp.rcpttodomain=sourceware.org smtp.mailfrom=arm.com;
dmarc=fail (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=TJHMsdLhaFr1+8G96kTCi17wXBieEsmdK49oTSEpgLs=;
b=Ia8fJFW/J7u7Kyyz7DjFucnJGvjiLQ/EAlxchzbt9b6yRR9ytrFoY0NMdAbYL8l56ZcNxiu6M8ks2d7AF8A3RpRHxswVDpJTY+TGvloa6ZszlFZpc4m9nzCHKOqZV4xWWCZbVEm7zJut05dZUTNwR2GYxTbB3Qjas+c+cfIy1Hc=
Received: from PA7P264CA0515.FRAP264.PROD.OUTLOOK.COM (2603:10a6:102:3da::15)
by AM9PR08MB6273.eurprd08.prod.outlook.com (2603:10a6:20b:2d7::12)
with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8489.21; Thu, 27 Feb
2025 10:49:11 +0000
Received: from AM4PEPF00025F97.EURPRD83.prod.outlook.com
(2603:10a6:102:3da:cafe::14) by PA7P264CA0515.outlook.office365.com
(2603:10a6:102:3da::15) with Microsoft SMTP Server (version=TLS1_3,
cipher=TLS_AES_256_GCM_SHA384) id 15.20.8489.19 via Frontend Transport; Thu,
27 Feb 2025 10:49:11 +0000
X-MS-Exchange-Authentication-Results: spf=fail (sender IP is 172.205.89.229)
smtp.mailfrom=arm.com; dkim=none (message not signed)
header.d=none;dmarc=fail action=none header.from=arm.com;
Received-SPF: Fail (protection.outlook.com: domain of arm.com does not
designate 172.205.89.229 as permitted sender)
receiver=protection.outlook.com; client-ip=172.205.89.229;
helo=nebula.arm.com;
Received: from nebula.arm.com (172.205.89.229) by
AM4PEPF00025F97.mail.protection.outlook.com (10.167.16.6) with Microsoft SMTP
Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id
15.20.8511.0 via Frontend Transport; Thu, 27 Feb 2025 10:49:11 +0000
Received: from AZ-NEU-EX05.Arm.com (10.240.25.133) by AZ-NEU-EX05.Arm.com
(10.240.25.133) with Microsoft SMTP Server (version=TLS1_2,
cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 27 Feb
2025 10:49:07 +0000
Received: from PW070M4K.arm.com (10.1.29.163) by mail.arm.com (10.240.25.133)
with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport;
Thu, 27 Feb 2025 10:49:07 +0000
From: Matthieu Longo <matthieu.longo@arm.com>
To: <binutils@sourceware.org>
CC: Richard Earnshaw <richard.earnshaw@arm.com>, Nick Clifton
<nickc@redhat.com>, Alan Modra <amodra@gmail.com>, Matthieu Longo
<matthieu.longo@arm.com>
Subject: [PATCH v1 04/14] clean-up bfd/elf-attrs.c: change return type of
uleb128_size to unsigned
Date: Thu, 27 Feb 2025 10:47:29 +0000
Message-ID: <20250227104811.178094-5-matthieu.longo@arm.com>
X-Mailer: git-send-email 2.48.1
In-Reply-To: <20250227104811.178094-1-matthieu.longo@arm.com>
References: <20250227104811.178094-1-matthieu.longo@arm.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain
X-EOPAttributedMessage: 1
X-MS-TrafficTypeDiagnostic:
AM4PEPF00025F97:EE_|AM9PR08MB6273:EE_|DB5PEPF00014B93:EE_|GV1PR08MB10808:EE_
X-MS-Office365-Filtering-Correlation-Id: 93cbe912-3d86-4fff-d92d-08dd571c653f
X-LD-Processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr
x-checkrecipientrouted: true
NoDisclaimer: true
X-MS-Exchange-SenderADCheck: 1
X-MS-Exchange-AntiSpam-Relay: 0
X-Microsoft-Antispam-Untrusted: BCL:0;
ARA:13230040|82310400026|1800799024|36860700013|376014;
X-Microsoft-Antispam-Message-Info-Original:
9wdaT14ByoSDPGnPr0TBkTc84RH6dm/wTbdZd7dbMV2FAiPBC7zz84U4zFDOzspbcWemYv458B8LB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YTU85tSqe8bjkBi/7QrKyMJdkXIrEaHZsXE6Dr+ljYwLLp/RC2TlyO05WILGVn2/bFaGqrEV8XfH8SlP8CgKpFtcts89vTezPy0otCF+iNzyDruwqrN9NuSI5S/wO4XAEEwr3MYFUjDwNmjEhxMkwh/wHwfRbJt8R/Z0iRypk32eFtu3wM7z2lK+UdyA79YzIPx/GZBC8P4Y8z9I96PpiVSBHApRluefioUEA5JpgXOkA1RQqTi+jJozHwlLCj37lInMW0mWlumXbJLfogyLx6QNfrN4VWuRU7wpdcay7osk96kuERsVUkSpciCJtBaVWzFVCJJCCoGQZgpLkpdUKdLjzRPtvkYiXhg=
X-Forefront-Antispam-Report-Untrusted: CIP:172.205.89.229; CTRY:IE; LANG:en;
SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:nebula.arm.com; PTR:InfoDomainNonexistent;
CAT:NONE; SFS:(13230040)(82310400026)(1800799024)(36860700013)(376014);
DIR:OUT; SFP:1101;
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6273
X-MS-Exchange-SkipListedInternetSender: ip=[2603:10a6:102:3da::15];
domain=PA7P264CA0515.FRAP264.PROD.OUTLOOK.COM
X-MS-Exchange-Transport-CrossTenantHeadersStripped:
DB5PEPF00014B93.eurprd02.prod.outlook.com
X-MS-PublicTrafficType: Email
X-MS-Office365-Filtering-Correlation-Id-Prvs:
ab868bed-fac7-43a5-d33b-08dd571c5eb4
X-Microsoft-Antispam: BCL:0;
ARA:13230040|35042699022|36860700013|82310400026|376014|1800799024|14060799003;
X-Microsoft-Antispam-Message-Info:
RMyZacThYcPafho3CKRFlYyh/W+21MJfz1aUteL9kb1hNyK9Wcu4tOYkuLTXGyMdzUik448wlbO9FejJlqHzeq1CoOFaCPRae53mFrFSqvjmZA2Yh7oFPOmisNt7Sld/nXt8Vxrx2g41zmnPeaxRRwNCI60KocazUSZz2FU8LXX9qnoSxPj4t0Da6Expb4My2li5OUXP6MkXdWS+ZTNUhRxgory5ZWwYMnmC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1Ui66i3oS4yHJryhDlOeiijwI5LewkdY8nfte0DkYdGtH4tQpaPlQbaC7kiMOowsxkeejYY4lvt1Vui9wJwRbC5ZZ/RS5dS4VzRseZQO4B+xqadZ6H7yule0zovrasxHrrXZ25yVimm+OEaneulWxJlQT7qDSmikUdrwAF9KYFewPrzXiTKS/iXwitmxHeGQaZc7rx9i8=
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)(35042699022)(36860700013)(82310400026)(376014)(1800799024)(14060799003);
DIR:OUT; SFP:1101;
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Feb 2025 10:49:22.5706 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id:
93cbe912-3d86-4fff-d92d-08dd571c653f
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:
DB5PEPF00014B93.eurprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV1PR08MB10808
X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, 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: binutils@sourceware.org
X-Mailman-Version: 2.1.30
Precedence: list
List-Id: Binutils mailing list <binutils.sourceware.org>
List-Unsubscribe: <https://sourceware.org/mailman/options/binutils>,
<mailto:binutils-request@sourceware.org?subject=unsubscribe>
List-Archive: <https://sourceware.org/pipermail/binutils/>
List-Post: <mailto:binutils@sourceware.org>
List-Help: <mailto:binutils-request@sourceware.org?subject=help>
List-Subscribe: <https://sourceware.org/mailman/listinfo/binutils>,
<mailto:binutils-request@sourceware.org?subject=subscribe>
Errors-To: binutils-bounces~patchwork=sourceware.org@sourceware.org
|
| Series |
Several clean-ups and refactorings before a long patch series on AArch64 build attributes
|
|
Checks
| Context | Check | Description |
|---|---|---|
| linaro-tcwg-bot/tcwg_binutils_build--master-arm | fail | Patch failed to apply |
| linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 | fail | Patch failed to apply |
Commit Message
Matthieu Longo
Feb. 27, 2025, 10:47 a.m. UTC
--- bfd/elf-attrs.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/bfd/elf-attrs.c b/bfd/elf-attrs.c index f9fe0880264..4785f286792 100644 --- a/bfd/elf-attrs.c +++ b/bfd/elf-attrs.c @@ -25,11 +25,10 @@ #include "elf-bfd.h" /* Return the number of bytes needed by I in uleb128 format. */ -static int -uleb128_size (unsigned int i) +static uint32_t +uleb128_size (uint32_t i) { - int size; - size = 1; + uint32_t size = 1; while (i >= 0x80) { i >>= 7; @@ -127,7 +126,7 @@ bfd_elf_obj_attr_size (bfd *abfd) /* Write VAL in uleb128 format to P, returning a pointer to the following byte. */ static bfd_byte * -write_uleb128 (bfd_byte *p, unsigned int val) +write_uleb128 (bfd_byte *p, uint32_t val) { bfd_byte c; do