summaryrefslogtreecommitdiffstats
path: root/translate.cxx
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-04-22 11:57:40 -0400
committerDave Brolley <brolley@redhat.com>2009-04-22 11:57:40 -0400
commitbc815e0692536da04956f038f5f79941579f8d74 (patch)
tree98b0f8cfdd90c225f5b5fede18352caee5d9a546 /translate.cxx
parent88e8da383e47adafc9e75c4f10aecd0ce4ad959f (diff)
parent247f1e1fa09953347a4e5313ae0022f151316dae (diff)
downloadsystemtap-steved-bc815e0692536da04956f038f5f79941579f8d74.tar.gz
systemtap-steved-bc815e0692536da04956f038f5f79941579f8d74.tar.xz
systemtap-steved-bc815e0692536da04956f038f5f79941579f8d74.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
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
{