* translate.cxx (dump_unwindsyms): Just check that dwfl_module_relocations()
return more than 1 relocation section bases before calling
dwfl_module_address_section().
// absolute, dynamic or kernel have just one relocation
// section, which covers the whole module address range.
unsigned size;
- if (secidx == 0
- && (n == 0
- || (n == 1
- && (strcmp(secname, ".dynamic") == 0
- || strcmp(secname, "_stext") == 0))))
+ if (n <= 1)
size = end - start;
else
{