binutils/testsuite/
authorBob Wilson <bob.wilson@acm.org>
Mon, 4 Feb 2008 23:41:54 +0000 (23:41 +0000)
committerBob Wilson <bob.wilson@acm.org>
Mon, 4 Feb 2008 23:41:54 +0000 (23:41 +0000)
    * binutils-all/objdump.exp (cpus_expected): Add xtensa.
ld/testsuite/
    * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*.

binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/objdump.exp
ld/testsuite/ChangeLog
ld/testsuite/ld-undefined/undefined.exp

index d083e00..bc86f49 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-04  Bob Wilson  <bob.wilson@acm.org>
+       
+       * binutils-all/objdump.exp (cpus_expected): Add xtensa.
+       
 2007-10-26  Alan Modra  <amodra@bigpond.net.au>
 
        * binutils-all/windres/windres.exp: Don't xfail.
index 09b6f5d..335b8bd 100644 (file)
@@ -42,7 +42,7 @@ lappend cpus_expected m32r m68hc11 m68hc12 m68k m88k MCore
 lappend cpus_expected mips mn10200 mn10300 msp ns32k pj powerpc pyramid
 lappend cpus_expected romp rs6000 s390 sh sparc
 lappend cpus_expected tahoe tic54x tic80 tms320c30 tms320c4x tms320c54x v850
-lappend cpus_expected vax we32k x86-64 xscale z8k z8001 z8002
+lappend cpus_expected vax we32k x86-64 xscale xtensa z8k z8001 z8002
 
 # Make sure the target CPU shows up in the list.
 lappend cpus_expected ${target_cpu}
index a2596f5..749a3a1 100644 (file)
@@ -1,3 +1,7 @@
+2008-02-04  Bob Wilson  <bob.wilson@acm.org>
+
+       * ld-undefined/undefined.exp: XFAIL for xtensa*-*-linux*.
+       
 2008-01-31  Marc Gauthier  <marc@tensilica.com>
 
        * ld-elf/merge.d: Recognize Xtensa processor variants.
index d546fd8..dc9c47c 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