From patchwork Sat Oct 7 07:11:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neal Frager X-Patchwork-Id: 77236 Return-Path: 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 E0DEB3856974 for ; Sat, 7 Oct 2023 07:11:34 +0000 (GMT) X-Original-To: binutils@sourceware.org Delivered-To: binutils@sourceware.org Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2048.outbound.protection.outlook.com [40.107.220.48]) by sourceware.org (Postfix) with ESMTPS id AC1BA3858426 for ; Sat, 7 Oct 2023 07:11:18 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AC1BA3858426 Authentication-Results: sourceware.org; dmarc=fail (p=quarantine dis=none) header.from=amd.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=amd.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IeXl73ooPoeCOQAP+YSjWFWZudHbCXddCbLmUmhSHSmEZrXHs+VFuG3oGFV719TYl9HNMuaWJpXCh131vdIVWmNBfXB5J2s8Ep8JhaP6Sljwgpu0zBWk3REw7kPuIFyluJO27SYTTXJMOzxQrPhzoehXne9aSfXjWzq4+jXqjf/8OisfLY7JGz0a3y5DK7SlFZGnmyc+5k+qaLhAZUYXM0LF6KPc6FJ1UDensMhGmXV1qqmmI+KOWCwh8yauejjgVp0fRe1JSi5ph1u1PlerMK4BlwPczOSjEmSiXWGA/9Zf/hE7lr9uKFrBaMa8bAkwnpiEWOhisfzfs48OI6tamw== 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=ZHhqsai+ms2M9CxmksaI2UrG+jBjEMjCTgQzuZdD7to=; b=JKdXbesFyUU8b77TRBgx7dj70LhCHb5KdSz3y/7N3mnP6fDMG828MgiZP4xgqBedRBi/TB2SFdwhA6ovHT90uZ3OYowMNwoiv+q4qqfeOYDMFhbVJeG8G1rfUVrAsaPhkF25H9jv9wZ/hPmJhZhz7Np1sSXB0SUnYdAujZpZTXZQIbfPDyUGwWRLhP7LqyWQXehKNXXZzbogVdUn+ZcfKXWuIO3A/XZkVw0aBJouAiMEXV8CSg1UJFo/GpB9aT+TIP2IfonRilN/+cy8eFkuLM7gxcr/V9ZTbslf5rdi3HGtlMUC4fbB3kTqlo6U3ItyyhciVqW6trZzGcoHaTxvUw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=sourceware.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZHhqsai+ms2M9CxmksaI2UrG+jBjEMjCTgQzuZdD7to=; b=Y8lT20lqsYddUL+EdWajMHQ+YuTFah2QHh9UWU41x3S5fUtOYl8GvdgWSxoZYAsn5/6LKBightAXA7+TTcMQEH8e8iGTcXmsp1Mzh79AAoS7Ils6Z+diR7K0R1Hv5qS4DfwrUU02DwdUz99U2YHlVfy2xSfEvtb2/3uLeLsmzdg= Received: from MW4PR04CA0369.namprd04.prod.outlook.com (2603:10b6:303:81::14) by MW4PR12MB7015.namprd12.prod.outlook.com (2603:10b6:303:218::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.41; Sat, 7 Oct 2023 07:11:15 +0000 Received: from CO1PEPF000042A9.namprd03.prod.outlook.com (2603:10b6:303:81:cafe::fc) by MW4PR04CA0369.outlook.office365.com (2603:10b6:303:81::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6863.33 via Frontend Transport; Sat, 7 Oct 2023 07:11:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C Received: from SATLEXMB03.amd.com (165.204.84.17) by CO1PEPF000042A9.mail.protection.outlook.com (10.167.243.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.6838.17 via Frontend Transport; Sat, 7 Oct 2023 07:11:15 +0000 Received: from SATLEXMB08.amd.com (10.181.40.132) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 7 Oct 2023 02:11:14 -0500 Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB08.amd.com (10.181.40.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Sat, 7 Oct 2023 00:11:14 -0700 Received: from xirengwts09.xilinx.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.27 via Frontend Transport; Sat, 7 Oct 2023 02:11:13 -0500 From: Neal Frager To: CC: , , , , , , , , Neal Frager Subject: [PATCH v1 1/1] bfd: microblaze: Fix automated build errors Date: Sat, 7 Oct 2023 08:11:10 +0100 Message-ID: <20231007071110.401935-1-neal.frager@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: CO1PEPF000042A9:EE_|MW4PR12MB7015:EE_ X-MS-Office365-Filtering-Correlation-Id: c93c28f6-38d1-42fa-abae-08dbc7049879 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oZ3xPTPbxNLN/3D5xbColpIaBe2389/Q+uLHQpc+z1ycaxRzEG+XuUsJPAtPcuTCwpURDaAGEePSQZ50lD37hC8Lm5gcuSHX1DhGG8QNR3erLPwuS/DS+HntJVcY/KtFPWxepGKL6RP+6zM6itoDwIZc1yMR/xvlDlosqZkflZNT+3H0ZS56/n97zDzoxdg9dtxXfUKKUhjxzBbGalTHDsR+gieobMLIyfN62TuC+Q7rwi4z76BIrAsFnUkTcvM9OWzUz48U6KylPPtLSM9te3YS5hnWuc5fFmx+j95jFmZ/T4EsSrd+fzABHbStyoLgvazQ3W8stGmHpgc/iumgrQMUKVINNU6xOTTZuN48fM2ZqhRzx60VIXtM+ffVqS3WFZ/MyQ6j9C+UU/9EoihT0DBlWPorPsWOqDo2Z//GVRVclRcEIDAl43vk6DTXnGkXsf9cIhB+6sBvwkHfXtKG29mG4gzRi+MzFrP2BoFHXKeRQGnLCZ3fZ4RmzRrRzQ0LRvcgeQDwe/am6LrpgBg2Q3y2GPoi+uyqSavyN9dPOpZH9ovd1BnloCcr+OA3sP7F7jfQ19b4CPZ/hTyGwcQ2IiKBfFA0pm+cckDvukjza4D+st+/DbDDk9gjuWEimm4t6Gf3Pz+YicL47yoC+Hm7KRX3EafM73nHHPSsWk4xpZ1oFqk/E1TSRy3aGPmYZmBqTgAf/9yFpORiyFBWayDHcFDNcLNmTjtpwxDLiD8t6YIPlL8ZHUxIIxRuopVxLMaE X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB03.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230031)(4636009)(346002)(396003)(136003)(39860400002)(376002)(230922051799003)(82310400011)(186009)(1800799009)(64100799003)(451199024)(46966006)(36840700001)(40470700004)(966005)(478600001)(26005)(8676002)(1076003)(426003)(336012)(316002)(2906002)(8936002)(41300700001)(83380400001)(70206006)(70586007)(5660300002)(6916009)(54906003)(44832011)(4326008)(36756003)(36860700001)(47076005)(82740400003)(86362001)(356005)(81166007)(2616005)(40480700001)(40460700003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Oct 2023 07:11:15.3558 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c93c28f6-38d1-42fa-abae-08dbc7049879 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: CO1PEPF000042A9.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR12MB7015 X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FORGED_SPF_HELO, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_NONE, TXREP 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: binutils-bounces+patchwork=sourceware.org@sourceware.org This patch fixes the following automated build errors: https://builder.sourceware.org/buildbot/#/builders/80/builds/2101/steps/4/logs/stdio https://builder.sourceware.org/buildbot/#/builders/72/builds/3405/steps/4/logs/stdio Signed-off-by: Neal Frager --- bfd/elf32-microblaze.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bfd/elf32-microblaze.c b/bfd/elf32-microblaze.c index a8ced43c08a..96bb63fbd2e 100644 --- a/bfd/elf32-microblaze.c +++ b/bfd/elf32-microblaze.c @@ -1986,7 +1986,7 @@ microblaze_elf_relax_section (bfd *abfd, /* Validate the in-band val. */ val = bfd_get_32 (abfd, contents + irel->r_offset); if (val != irel->r_addend && ELF32_R_TYPE (irel->r_info) == R_MICROBLAZE_32_NONE) { - fprintf(stderr, "%d: CORRUPT relax reloc %x %lx\n", __LINE__, val, irel->r_addend); + fprintf(stderr, "%d: CORRUPT relax reloc %x %x\n", __LINE__, val, irel->r_addend); } irel->r_addend -= (efix - sfix); /* Should use HOWTO. */ @@ -2071,7 +2071,7 @@ microblaze_elf_relax_section (bfd *abfd, val = bfd_get_32 (abfd, ocontents + irelscan->r_offset); if (val != irelscan->r_addend) { - fprintf(stderr, "%d: CORRUPT relax reloc! %x %lx\n", __LINE__, val, irelscan->r_addend); + fprintf(stderr, "%d: CORRUPT relax reloc! %x %x\n", __LINE__, val, irelscan->r_addend); } irelscan->r_addend -= calc_fixup (irelscan->r_addend, 0, sec);