[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/24783] [Regression] test failure on mips*: dwz.c:10475: verify_sections: Assertion failed



https://sourceware.org/bugzilla/show_bug.cgi?id=24783

--- Comment #3 from Tom de Vries <vries at gcc dot gnu.org> ---
Regression introduced by commit 3b335ec "Handle .bss at same offset as
.debug_pubnames".

Fix:
...
diff --git a/dwz.c b/dwz.c
index 13f67f2..7f6db58 100644
--- a/dwz.c
+++ b/dwz.c
@@ -10691,7 +10691,7 @@ write_dso (DSO *dso, const char *file, struct stat *st)
                       && (dso->shdr[j].sh_offset < min_shoff
                           || (dso->shdr[j].sh_offset == min_shoff
                               && (dso->shdr[j].sh_size == 0
-                                  || dso->shdr[j].sh_type & SHT_NOBITS))))
+                                  || dso->shdr[j].sh_type == SHT_NOBITS))))
                continue;
              else if ((dso->shdr[j].sh_flags & SHF_ALLOC) != 0)
                {
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.