* ld-undefined/undefined.exp: Add a setup_xfail line for a test
authorAlan Modra <amodra@gmail.com>
Wed, 6 Jun 2001 12:11:53 +0000 (12:11 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 6 Jun 2001 12:11:53 +0000 (12:11 +0000)
that will always fail on s/390.

ld/testsuite/ChangeLog
ld/testsuite/ld-undefined/undefined.exp

index 7dd9075..2933c8d 100644 (file)
@@ -1,3 +1,8 @@
+2001-06-06  Martin Schwidefsky <schwidefsky@de.ibm.com>
+
+       * ld-undefined/undefined.exp: Add a setup_xfail line for a test
+       that will always fail on s/390.
+
 2001-05-28  kaz Kojima  <kkojima@rr.iij4u.or.jp>
 
        * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for
index 93136a2..8ac4bbe 100644 (file)
@@ -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