On 2021-11-17 10:51 a.m., Matthias Klose wrote:
debugedit shows some test failures on hppa:
The attached change fixes the test fails.  See:
https://sourceware.org/bugzilla/show_bug.cgi?id=28598

Dave

--
John David Anglin  dave.ang...@bell.net
diff --git a/tools/debugedit.c b/tools/debugedit.c
index 3f1e830..a0e86d3 100644
--- 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;

Reply via email to