summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'translate.cxx')
-rw-r--r--translate.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/translate.cxx b/translate.cxx
index 79c05d4b..b704b3a6 100644
--- a/translate.cxx
+++ b/translate.cxx
@@ -4689,11 +4689,7 @@ dump_unwindsyms (Dwfl_Module *m,
// 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
{