From d52f97627ba913161b2a834c1eb885fccfce5424 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 6 Jun 2001 12:11:53 +0000 Subject: [PATCH] * ld-undefined/undefined.exp: Add a setup_xfail line for a test that will always fail on s/390. --- ld/testsuite/ChangeLog | 5 +++++ ld/testsuite/ld-undefined/undefined.exp | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 7dd9075..2933c8d 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-06-06 Martin Schwidefsky + + * ld-undefined/undefined.exp: Add a setup_xfail line for a test + that will always fail on s/390. + 2001-05-28 kaz Kojima * ld-sh/sh.exp: For sh-*-linux-gnu target add a start address for 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 -- 2.7.4