From 2d312b6be3acaf6cac82abf81dd10124efd2705e Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Mon, 4 Feb 2008 23:41:54 +0000 Subject: binutils/testsuite/ * binutils-all/objdump.exp (cpus_expected): Add xtensa. ld/testsuite/ * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*. --- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-undefined/undefined.exp | 9 +++++++++ 2 files changed, 13 insertions(+) (limited to 'ld') diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index a2596f5..749a3a1 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-02-04 Bob Wilson + + * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*. + 2008-01-31 Marc Gauthier * ld-elf/merge.d: Recognize Xtensa processor variants. diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp index d546fd8..dc9c47c 100644 --- a/ld/testsuite/ld-undefined/undefined.exp +++ b/ld/testsuite/ld-undefined/undefined.exp @@ -71,6 +71,12 @@ checkund $mu $testund #setup_xfail "arm*-*-pe*" #setup_xfail "thumb*-*-pe*" +# For Xtensa on GNU Linux systems (or any other system where PIC code is +# always used), the address of the undefined function is in a literal pool +# outside the function, so that both the "undefined function" and "undefined +# line" tests fail. +setup_xfail xtensa*-*-linux* + set mf "tmpdir/undefined.o* In function `function':" checkund $mf $testfn @@ -132,4 +138,7 @@ setup_xfail "sh64-*-*" # doesn't need a literal pool entry. setup_xfail s390-*-* +# See comments above for Xtensa. +setup_xfail xtensa*-*-linux* + checkund $ml $testline -- cgit v1.1