From: Mark Wielaard Date: Fri, 19 Dec 2014 19:53:22 +0000 (+0100) Subject: tests: Don't match libfunc symbol on ppc64 in run-deleted.sh testcase. X-Git-Tag: elfutils-0.161^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3943a3893619466d0927495485bca8a9b96a3dc9;p=thirdparty%2Felfutils.git tests: Don't match libfunc symbol on ppc64 in run-deleted.sh testcase. For PPC64 we need access to the OPD table which we get through the shdrs but for the deleted-lib we only have phdrs. So we don't have the name of the function. But since we should find the EH_FRAME through phdrs just fine, we can unwind into main. Skip the libfunc name check for now till we find a nice way to enable the lookup without opd: https://bugzilla.redhat.com/show_bug.cgi?id=1176238 Signed-off-by: Mark Wielaard --- diff --git a/tests/ChangeLog b/tests/ChangeLog index 94058fd68..59048f65f 100644 --- a/tests/ChangeLog +++ b/tests/ChangeLog @@ -1,3 +1,7 @@ +2014-12-19 Mark Wielaard + + * run-deleted.sh: Don't check libfunc on ppc64. + 2014-12-19 Mark Wielaard * vdsosyms.c (vdso_seen): Removed. diff --git a/tests/run-deleted.sh b/tests/run-deleted.sh index 95d9444c6..2b5a9a84f 100755 --- a/tests/run-deleted.sh +++ b/tests/run-deleted.sh @@ -38,5 +38,11 @@ cat bt bt.err kill -9 $pid wait check_native_unsupported bt.err deleted -grep -qw libfunc bt +# For PPC64 we need access to the OPD table which we get through the shdrs +# (see backends/ppc64_init.c) but for the deleted-lib we only have phdrs. +# So we don't have the name of the function. But since we should find +# the EH_FRAME through phdrs just fine, we can unwind into main. +if test "`uname -m`" != "ppc64"; then + grep -qw libfunc bt +fi grep -qw main bt