diff options
author | Sam James <sam@gentoo.org> | 2022-02-02 06:12:39 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-02-02 06:13:54 +0000 |
commit | 8d9fa65d81d14143e4c6a45cf46d0a5147d68b8b (patch) | |
tree | 3ca126249431f235b8bd56d0804b0f89feb79e0f /dev-util/debugedit/files | |
parent | Revert "sys-cluster/knem: Stabilize 1.1.3-r3 amd64, #816579" (diff) | |
download | gentoo-8d9fa65d81d14143e4c6a45cf46d0a5147d68b8b.tar.gz gentoo-8d9fa65d81d14143e4c6a45cf46d0a5147d68b8b.tar.bz2 gentoo-8d9fa65d81d14143e4c6a45cf46d0a5147d68b8b.zip |
dev-util/debugedit: add HPPA patch
Fixes tests but it's really a runtime error. Should affect
non-HPPA uses too if cross-compiling or otherwise handling
PARISC objects.
Bug: https://bugs.gentoo.org/831766
Thanks-to: Rolf Eike Beer <eike@sf-mail.de>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-util/debugedit/files')
-rw-r--r-- | dev-util/debugedit/files/debugedit-5.0-hppa.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-util/debugedit/files/debugedit-5.0-hppa.patch b/dev-util/debugedit/files/debugedit-5.0-hppa.patch new file mode 100644 index 000000000000..296b9a4390ff --- /dev/null +++ b/dev-util/debugedit/files/debugedit-5.0-hppa.patch @@ -0,0 +1,25 @@ +https://sourceware.org/git/?p=debugedit.git;a=commitdiff;h=86130f41d05584581530fc65aa119badb400f4d4 + +From: Mark Wielaard <mark@klomp.org> +Date: Thu, 18 Nov 2021 14:14:28 +0100 +Subject: [PATCH] debugedit: Handle hppa EM_PARISC and R_PARISC_DIR32 + + * tools/debugedit.c (setup_relbuf): Handle EM_PARISC + +https://sourceware.org/bugzilla/show_bug.cgi?id=28598 + +Patch-provided-by: dave.anglin@bell.net +Signed-off-by: Mark Wielaard <mark@klomp.org> +--- a/tools/debugedit.c ++++ b/tools/debugedit.c +@@ -590,6 +590,10 @@ setup_relbuf (DSO *dso, debug_section *sec, int *reltype) + if (rtype != R_390_32) + goto fail; + break; ++ case EM_PARISC: ++ if (rtype != R_PARISC_DIR32) ++ goto fail; ++ break; + case EM_IA_64: + if (rtype != R_IA64_SECREL32LSB) + goto fail; |