summaryrefslogtreecommitdiffstats
path: root/tapsets.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tapsets.cxx')
-rw-r--r--tapsets.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/tapsets.cxx b/tapsets.cxx
index 5acf50cb..25d88a9c 100644
--- a/tapsets.cxx
+++ b/tapsets.cxx
@@ -791,7 +791,7 @@ struct dwflpp
assert(dwfl);
assert(module);
get_module_dwarf();
- if (module_name == TOK_KERNEL)
+ if (module_name == TOK_KERNEL || dwfl_module_relocations (module) <= 0)
return a;
return a + module_start;
}