From: Mark Wielaard Date: Thu, 19 Jan 2023 22:04:04 +0000 (+0100) Subject: backends: sparc uses NONE relocation type in ET_EXEC and ET_DYN files X-Git-Tag: elfutils-0.189~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=10bee029441544dab81ea9e2b408eca9679aee38;p=thirdparty%2Felfutils.git backends: sparc uses NONE relocation type in ET_EXEC and ET_DYN files 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. Signed-off-by: Mark Wielaard --- diff --git a/backends/ChangeLog b/backends/ChangeLog index f28ab89bc..40ec7c0c3 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 7cd5ce968..f0eeb5c67 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)