summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-undefined
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@acm.org>2008-02-04 23:41:54 +0000
committerBob Wilson <bob.wilson@acm.org>2008-02-04 23:41:54 +0000
commitcbc4fe577ec91445b01b525684cfde2724d08b7a (patch)
treeaed3ec35694bb8acd5a24bd90fd197c0a78d0fdc /ld/testsuite/ld-undefined
parent3fcbae3bda62d85abbd4b3f4f8038505f75e8cc7 (diff)
downloadbinutils-redhat-cbc4fe577ec91445b01b525684cfde2724d08b7a.tar.gz
binutils/testsuite/
* binutils-all/objdump.exp (cpus_expected): Add xtensa. ld/testsuite/ * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*.
Diffstat (limited to 'ld/testsuite/ld-undefined')
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp9
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp
index d546fd8056..dc9c47cd6f 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