binutils/testsuite/
[deliverable/binutils-gdb.git] / ld / testsuite / ld-undefined / undefined.exp
index d546fd805635f0827ad7f1ed9ae4fad7ceb7ce63..dc9c47cd6fb1d9c7fb1e66d26c8e27a0921c4876 100644 (file)
@@ -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
This page took 0.023157 seconds and 4 git commands to generate.