diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-06-25 23:07:17 +0200 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-06-25 23:15:47 +0200 |
commit | c65358e84b38bc84951a4e3c5e8e4f3cace9f63e (patch) | |
tree | 1b8ac066edfc7eea878fc28c059cbe980900af56 /testsuite/systemtap.exelib | |
parent | ad0e17094017350fc0010b8416579da42ab1d5a3 (diff) | |
download | systemtap-steved-c65358e84b38bc84951a4e3c5e8e4f3cace9f63e.tar.gz systemtap-steved-c65358e84b38bc84951a4e3c5e8e4f3cace9f63e.tar.xz systemtap-steved-c65358e84b38bc84951a4e3c5e8e4f3cace9f63e.zip |
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.
Diffstat (limited to 'testsuite/systemtap.exelib')
-rw-r--r-- | testsuite/systemtap.exelib/ustack.tcl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/testsuite/systemtap.exelib/ustack.tcl b/testsuite/systemtap.exelib/ustack.tcl index 07dcec10..b70b8334 100644 --- a/testsuite/systemtap.exelib/ustack.tcl +++ b/testsuite/systemtap.exelib/ustack.tcl @@ -7,9 +7,6 @@ lib: lib_func=lib_func lib: lib_func=lib_func lib: lib_func=lib_func} -# BUG XXX PR10323 skip all prelink scenarios for now. -if {[string match "*prelink*" "$testname"]} { return } - # Only run on make installcheck if {! [installtest_p]} { untested "ustack-$testname"; return } if {! [utrace_p]} { untested "ustack-$testname"; return } |