This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/10323] some ustack exelib.exp tests fail with prelinked shared libs
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 25 Jun 2009 21:17:21 -0000
- Subject: [Bug runtime/10323] some ustack exelib.exp tests fail with prelinked shared libs
- References: <20090624101911.10323.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From mjw at redhat dot com 2009-06-25 21:17 -------
commit c65358e84b38bc84951a4e3c5e8e4f3cace9f63e
Author: Mark Wielaard <mjw@redhat.com>
Date: Thu Jun 25 23:07:17 2009 +0200
PR10323 Some ustack exelib.exp tests fail with prelinked shared libs.
For shared libraries (.dynamic sections) we need the eh frame section
address offset. This is the sh_addr if the shared library isn't prelinked
(since the base load address is zero in that case), otherwise it is
the module start address minus the bias (which also works for the
non-prelinked case).
* translate.cxx (get_unwind_data): Adjust eh_addr for module start and
bias if module isn't absolute (has no relocations).
* testsuite/systemtap.exelib/ustack.tcl: Accept all prelink tests.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://sourceware.org/bugzilla/show_bug.cgi?id=10323
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.