aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-undefined
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-06-06 12:11:53 +0000
committerAlan Modra <amodra@gmail.com>2001-06-06 12:11:53 +0000
commitd52f97627ba913161b2a834c1eb885fccfce5424 (patch)
tree3f3cc6fd29653e5d870f3a970d5f33d69b9fe73a /ld/testsuite/ld-undefined
parent3277f888ebe48c337590250a640e12dede66d415 (diff)
downloadgdb-d52f97627ba913161b2a834c1eb885fccfce5424.zip
gdb-d52f97627ba913161b2a834c1eb885fccfce5424.tar.gz
gdb-d52f97627ba913161b2a834c1eb885fccfce5424.tar.bz2
* ld-undefined/undefined.exp: Add a setup_xfail line for a test
that will always fail on s/390.
Diffstat (limited to 'ld/testsuite/ld-undefined')
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp7
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp
index 93136a2..8ac4bbe 100644
--- a/ld/testsuite/ld-undefined/undefined.exp
+++ b/ld/testsuite/ld-undefined/undefined.exp
@@ -135,4 +135,11 @@ setup_xfail i?86-*-freebsd*
setup_xfail mcore-*-elf
setup_xfail mips-sgi-irix6*
+# The undefined test fails on 31 bit s/390 because the address of the
+# function `this_function_is_not_defined' is stored in the literal pool of
+# the function. Therefore the line number in the error message is 8 instead
+# of 9. On 64 bit s/390 this works because of the new brasl instruction that
+# doesn't need a literal pool entry.
+setup_xfail s390-*-elf
+
checkund $ml $testline