diff options
author | Stan Cox <scox@redhat.com> | 2008-11-06 10:01:42 -0500 |
---|---|---|
committer | Stan Cox <scox@redhat.com> | 2008-11-06 10:01:42 -0500 |
commit | 76e954ca894160d4f4d3319b98c9cb6f94b42476 (patch) | |
tree | 9b5735aa7e161140ed2655753f5bf8cdaebcdf82 | |
parent | 05357b75ce6983b306f5c454fe41fd167d6cda85 (diff) | |
download | systemtap-steved-76e954ca894160d4f4d3319b98c9cb6f94b42476.tar.gz systemtap-steved-76e954ca894160d4f4d3319b98c9cb6f94b42476.tar.xz systemtap-steved-76e954ca894160d4f4d3319b98c9cb6f94b42476.zip |
ET_EXEC needs no further relocation.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | tapsets.cxx | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2008-11-06 Stan Cox <scox@redhat.com> + + * tapsets.cxx (dwflpp::module_address_to_global): + ET_EXEC needs no further relocation. + 2008-11-04 Frank Ch. Eigler <fche@elastic.org> From Masami Hiramatsu <mhiramat@redhat.com>, PR 6028. 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; } |