From e5964acd5d705b3ed7699c504b8317014f2b7e45 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Wed, 17 Jun 2009 16:42:59 +0200 Subject: PR10273. uprobes fail to insert on prelinked library. * dwflpp.cxx (relocate_address): For .dynamic section addresses adjust for module bias. --- dwflpp.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit