https://bugs.kde.org/show_bug.cgi?id=471807

--- Comment #20 from Carl Love <c...@us.ibm.com> ---
Aaron created a patch to fix the BE failures.  It was sent out on Monday Sept
18, subject Re: [Valgrind-developers] ppc64le results

>From 626b205bb9fbe209353b708ace7b22644ca0607a Mon Sep 17 00:00:00 2001
From: Aaron Merey <ame...@redhat.com>
Date: Mon, 18 Sep 2023 17:42:42 -0400
Subject: [PATCH] Try to find section .opd in read_elf_object

read_elf_debug skips checking for .opd ELF section, causing
assert failures on PPC BE.

This patch adds the missing check for .opd.
---
 coregrind/m_debuginfo/readelf.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/coregrind/m_debuginfo/readelf.c b/coregrind/m_debuginfo/readelf.c
index 13efc46b8..56a9ce6b2 100644
--- a/coregrind/m_debuginfo/readelf.c
+++ b/coregrind/m_debuginfo/readelf.c
@@ -2883,6 +2883,7 @@ Bool ML_(read_elf_object) ( struct _DebugInfo* di )
 #        if defined(VGO_solaris)
          FIND_MIMG(   ".SUNW_ldynsym",      ldynsym_escn)
 #        endif
+         FIND_MIMG(   ".opd",               opd_escn)

          FINDX_MIMG(  ".eh_frame",          ehframe_escn[ehframe_mix],
                do { ehframe_mix++; vg_assert(ehframe_mix <= N_EHFRAME_SECTS);
-- 
2.41.0

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to