summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-06-17 16:42:59 +0200
committerMark Wielaard <mjw@redhat.com>2009-06-17 16:45:00 +0200
commite5964acd5d705b3ed7699c504b8317014f2b7e45 (patch)
tree8e14efc0ffd4885b5e00ea979a83af3b74664f97
parentfc4a80b88ef35892b1727b683e6ccf18c67a6877 (diff)
downloadsystemtap-steved-e5964acd5d705b3ed7699c504b8317014f2b7e45.tar.gz
systemtap-steved-e5964acd5d705b3ed7699c504b8317014f2b7e45.tar.xz
systemtap-steved-e5964acd5d705b3ed7699c504b8317014f2b7e45.zip
PR10273. uprobes fail to insert on prelinked library.
* dwflpp.cxx (relocate_address): For .dynamic section addresses adjust for module bias.
-rw-r--r--dwflpp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwflpp.cxx b/dwflpp.cxx
index 74294384..e01c6974 100644
--- a/dwflpp.cxx
+++ b/dwflpp.cxx
@@ -2366,7 +2366,7 @@ dwflpp::relocate_address(Dwarf_Addr addr,
{
blacklist_section = get_blacklist_section(addr);
reloc_section = ".dynamic";
- reloc_addr = addr;
+ reloc_addr += module_bias; // PR10273
}
}
else