]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Don't match libfunc symbol on ppc64 in run-deleted.sh testcase. elfutils-0.161
authorMark Wielaard <mjw@redhat.com>
Fri, 19 Dec 2014 19:53:22 +0000 (20:53 +0100)
committerMark Wielaard <mjw@redhat.com>
Fri, 19 Dec 2014 19:53:22 +0000 (20:53 +0100)
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 <mjw@redhat.com>
tests/ChangeLog
tests/run-deleted.sh

index 94058fd68c693a35283501f16b1b4e26855d0b4a..59048f65fae221d0d0e92afeaa8a6765e0d288d2 100644 (file)
@@ -1,3 +1,7 @@
+2014-12-19  Mark Wielaard  <mjw@redhat.com>
+
+       * run-deleted.sh: Don't check libfunc on ppc64.
+
 2014-12-19  Mark Wielaard  <mjw@redhat.com>
 
        * vdsosyms.c (vdso_seen): Removed.
index 95d9444c671ace5dcac7508d3f9410c548b36590..2b5a9a84f56bdbbed84fa067c7d42c1e8ee7dce9 100755 (executable)
@@ -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