From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 2BE573858C52 for ; Thu, 19 Jan 2023 22:17:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2BE573858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIdDk-0000hD-Up; Thu, 19 Jan 2023 17:17:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=QsCPN/6J1hDCfoG7BuZtqVaI3rCPt40GZKZ8s5qvecU=; b=FpRsCerp9ivpNKykoKRH y7obHMOL30DLxUNbA//nXHP2Ojxj8/ZMbNg6RHM7hdjOezSVZzqbqPyd1mO7L1sC/65csq6z8tahl ncW65MHLzcWpNDBppX6z3zBdd9SI29+OuMNLO7OKWoB/IfsXhrov93r8DicTAZBaAbInJ7ABSTzOu NOg66Cpze39y23kAthvyRExUldsF9CSBAJEVrvGjQfuLnZnhhdIKNt9tFnB9oY3iN0+0MVHd3sDz2 4AK9+7BN3wCv4iKmDUKKJ5Dd96Yx5GiQZlLWcam9+1ojMMZC6pLGQ/vK7opCxmEL0p7YUUr7xjDrS lu3+aEKm9kVtEg==; Received: from [141.143.193.77] (helo=termi) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIdDh-0007qd-BZ; Thu, 19 Jan 2023 17:17:19 -0500 From: "Jose E. Marchesi" To: Mark Wielaard Cc: elfutils-devel@sourceware.org, Sam James Subject: Re: [PATCH] backends: sparc uses NONE relocation type in ET_EXEC and ET_DYN files In-Reply-To: <20230119221138.291056-1-mark@klomp.org> (Mark Wielaard's message of "Thu, 19 Jan 2023 23:11:38 +0100") References: <20230119221138.291056-1-mark@klomp.org> Date: Thu, 19 Jan 2023 23:17:13 +0100 Message-ID: <87k01icgpi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_PASS,SPF_PASS,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 List-Id: > Using the NONE relocation doesn't do anything, but is harmless. > > This fixes several (self) tests on sparc that use elflint to > check files are valid ELF. FWIW looks good to me. > > Signed-off-by: Mark Wielaard > --- > backends/ChangeLog | 4 ++++ > backends/sparc_reloc.def | 2 +- > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/backends/ChangeLog b/backends/ChangeLog > index f28ab89b..40ec7c0c 100644 > --- a/backends/ChangeLog > +++ b/backends/ChangeLog > @@ -1,3 +1,7 @@ > +2023-01-19 Mark Wielaard > + > + * sparc_reloc.def (NONE): Add EXEC and DYN. > + > 2022-12-21 Shahab Vahedi > > * Makefile.am (modules): Add arc. > diff --git a/backends/sparc_reloc.def b/backends/sparc_reloc.def > index 7cd5ce96..f0eeb5c6 100644 > --- a/backends/sparc_reloc.def > +++ b/backends/sparc_reloc.def > @@ -28,7 +28,7 @@ > > /* NAME, REL|EXEC|DYN */ > > -RELOC_TYPE (NONE, REL) > +RELOC_TYPE (NONE, REL|EXEC|DYN) > RELOC_TYPE (8, REL) > RELOC_TYPE (16, REL) > RELOC_TYPE (32, REL|DYN)