From: Joseph Myers Date: Wed, 6 Apr 2011 17:09:56 +0000 (+0000) Subject: bfd: X-Git-Url: http://git.efficios.com/?a=commitdiff_plain;h=8c5fc8001110c72f83edccd8d3872cc868454f54;p=deliverable%2Fbinutils-gdb.git bfd: * config.bfd (thumb-*-oabi): Don't handle in list of obsolete targets. (strongarm*, thumb*, xscale*): Remove architectures. (strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe*, thumb-*-pe*, strongarm-*-elf, strongarm-*-coff, xscale-*-elf, xscale-*-coff): Remove targets. binutils: * configure.in (thumb-*-pe*): Remove. * configure: Regenerate. binutils/testsuite: * binutils-all/objcopy.exp (*arm*-*-coff): Change to arm*-*-coff. (xscale-*-coff, thumb*-*-coff, thumb*-*-pe): Don't handle. gas: * configure.tgt (strongarm*be, strongarm*b, strongarm*, xscale*be|xscale*b, xscale*): Remove architectures. (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets. gas/testsuite: * gas/all/gas.exp (*arm*-*-coff): Change to arm*-*-coff. (thumb*-*-coff, thumb*-*-pe*): Don;t handle. * gas/arm/arm.exp (*arm*-*-*): Change to arm*-*-*. (*xscale*-*-*): Don't handle. * gas/cfi/cfi.exp (xscale*-*): Don't handle. * gas/elf/elf.exp (*arm*-*-*): Change to arm*-*-*. (xscale*-*-*): Don't handle. ld: * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets. ld/testsuite: * ld-selective/selective.exp (xscale-*-*): Don't handle. * ld-srec/srec.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't handle. (*arm*-*-*): Change to arm*-*-*. (strongarm*-*-coff, xscale*-*-coff, thumb-*-coff*, thumb-*-pe*, thumb-*-elf*, strongarm*-*-*, thumb-*-*): Remove xfails. * ld-undefined/undefined.exp (thumb*-*-pe*, thumb*-*-pe*): Remove commented-out xfails. (thumb-elf): Remove reference in comment. * lib/ld-lib.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't handle. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 1c342934a9..785f90faa8 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +2011-04-06 Joseph Myers + + * config.bfd (thumb-*-oabi): Don't handle in list of obsolete + targets. + (strongarm*, thumb*, xscale*): Remove architectures. + (strongarm-*-kaos*, thumb-*-coff, thumb-*-elf, thumb-epoc-pe*, + thumb-*-pe*, strongarm-*-elf, strongarm-*-coff, xscale-*-elf, + xscale-*-coff): Remove targets. + 2011-04-01 Tristan Gingold * elfxx-ia64.c: include bfd_stdint.h diff --git a/bfd/config.bfd b/bfd/config.bfd index 76d1927147..ef9daef21f 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -53,7 +53,6 @@ case $targ in sparc-*-lynxos* | \ vax-*-vms* | \ arm-*-oabi | \ - thumb-*-oabi | \ a29k-* | \ hppa*-*-rtems* | \ *-go32-rtems* | \ @@ -101,11 +100,8 @@ s390*) targ_archs=bfd_s390_arch ;; sh*) targ_archs=bfd_sh_arch ;; sparc*) targ_archs=bfd_sparc_arch ;; spu*) targ_archs=bfd_spu_arch ;; -strongarm*) targ_archs=bfd_arm_arch ;; -thumb*) targ_archs=bfd_arm_arch ;; v850*) targ_archs=bfd_v850_arch ;; x86_64*) targ_archs=bfd_i386_arch ;; -xscale*) targ_archs=bfd_arm_arch ;; xtensa*) targ_archs=bfd_xtensa_arch ;; z80|r800) targ_archs=bfd_z80_arch ;; z8k*) targ_archs=bfd_z8k_arch ;; @@ -275,7 +271,7 @@ case "${targ}" in targ_defvec=bfd_elf32_bigarm_vec targ_selvecs=bfd_elf32_littlearm_vec ;; - arm-*-kaos* | strongarm-*-kaos*) + arm-*-kaos*) targ_defvec=bfd_elf32_littlearm_vec targ_selvecs=bfd_elf32_bigarm_vec ;; @@ -298,44 +294,6 @@ case "${targ}" in targ_selvecs=bfd_elf32_bigarm_vec ;; - thumb-*-coff) - targ_defvec=armcoff_little_vec - targ_selvecs=armcoff_big_vec - targ_underscore=yes - ;; - thumb-*-elf) - targ_defvec=bfd_elf32_littlearm_vec - targ_selvecs=bfd_elf32_bigarm_vec - ;; - thumb-epoc-pe*) - targ_defvec=arm_epoc_pe_little_vec - targ_selvecs="arm_epoc_pe_little_vec arm_epoc_pe_big_vec arm_epoc_pei_little_vec arm_epoc_pei_big_vec" - targ_underscore=no - ;; - thumb-*-pe*) - targ_defvec=armpe_little_vec - targ_selvecs="armpe_little_vec armpe_big_vec armpei_little_vec armpei_big_vec" - targ_underscore=yes - ;; - strongarm-*-elf) - targ_defvec=bfd_elf32_littlearm_vec - targ_selvecs=bfd_elf32_bigarm_vec - ;; - strongarm-*-coff) - targ_defvec=armcoff_little_vec - targ_selvecs=armcoff_big_vec - targ_underscore=yes - ;; - xscale-*-elf) - targ_defvec=bfd_elf32_littlearm_vec - targ_selvecs=bfd_elf32_bigarm_vec - ;; - xscale-*-coff) - targ_defvec=armcoff_little_vec - targ_selvecs=armcoff_big_vec - targ_underscore=yes - ;; - avr-*-*) targ_defvec=bfd_elf32_avr_vec ;; diff --git a/binutils/ChangeLog b/binutils/ChangeLog index bbded4ca95..2297df868e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2011-04-06 Joseph Myers + + * configure.in (thumb-*-pe*): Remove. + * configure: Regenerate. + 2011-04-05 Sterling Augustine * MAINTAINERS: Update my email address. diff --git a/binutils/configure b/binutils/configure index 3f284a44ae..b191a616b0 100755 --- a/binutils/configure +++ b/binutils/configure @@ -13846,15 +13846,6 @@ do BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)' ;; - thumb-*-pe*) - BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' - if test -z "$DLLTOOL_DEFAULT"; then - DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM" - fi - DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM" - BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' - BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)' - ;; x86_64-*-mingw*) BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' if test -z "$DLLTOOL_DEFAULT"; then diff --git a/binutils/configure.in b/binutils/configure.in index 99fc22d6f3..b1564bb856 100644 --- a/binutils/configure.in +++ b/binutils/configure.in @@ -248,15 +248,6 @@ changequote([,])dnl BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)' ;; - thumb-*-pe*) - BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' - if test -z "$DLLTOOL_DEFAULT"; then - DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_ARM" - fi - DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_ARM" - BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)' - BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)' - ;; x86_64-*-mingw*) BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)' if test -z "$DLLTOOL_DEFAULT"; then diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog index bad1b83fb2..5b927747bc 100644 --- a/binutils/testsuite/ChangeLog +++ b/binutils/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2011-04-06 Joseph Myers + + * binutils-all/objcopy.exp (*arm*-*-coff): Change to arm*-*-coff. + (xscale-*-coff, thumb*-*-coff, thumb*-*-pe): Don't handle. + 2011-03-31 Bernd Schmidt * lib/binutils-common.exp (is_elf_format): Accept tic6x*-*-uclinux*. diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp index 7eb9ee3479..3ee8bbe94e 100644 --- a/binutils/testsuite/binutils-all/objcopy.exp +++ b/binutils/testsuite/binutils-all/objcopy.exp @@ -1,5 +1,5 @@ # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, -# 2004, 2006, 2007, 2009, 2010 +# 2004, 2006, 2007, 2009, 2010, 2011 # Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify @@ -620,11 +620,8 @@ proc copy_executable { prog flags test1 test2 } { # mips_elf_sym_is_global. setup_xfail "mips*-*-elf" - setup_xfail "*arm*-*-coff" - setup_xfail "xscale-*-coff" + setup_xfail "arm*-*-coff" setup_xfail "arm*-*-pe" - setup_xfail "thumb*-*-coff" - setup_xfail "thumb*-*-pe" setup_xfail "*-*-mingw*" setup_xfail "*-*-cygwin*" diff --git a/gas/ChangeLog b/gas/ChangeLog index 3eaa37677a..90f8d7f704 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +2011-04-06 Joseph Myers + + * configure.tgt (strongarm*be, strongarm*b, strongarm*, + xscale*be|xscale*b, xscale*): Remove architectures. + (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe, + thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets. + 2011-04-01 Tristan Gingold * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning. diff --git a/gas/configure.tgt b/gas/configure.tgt index a01ff6c973..d3b338c16e 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -80,13 +80,8 @@ case ${cpu} in sparclet*) cpu_type=sparc arch=sparclet ;; sparclite*) cpu_type=sparc arch=sparclite ;; sparc*) cpu_type=sparc arch=sparclite ;; # ??? See tc-sparc.c. - strongarm*be) cpu_type=arm endian=big ;; - strongarm*b) cpu_type=arm endian=big ;; - strongarm*) cpu_type=arm endian=little ;; v850*) cpu_type=v850 ;; x86_64*) cpu_type=i386 arch=x86_64;; - xscale*be|xscale*b) cpu_type=arm endian=big ;; - xscale*) cpu_type=arm endian=little ;; xtensa*) cpu_type=xtensa arch=xtensa ;; *) cpu_type=${cpu} ;; esac @@ -106,9 +101,9 @@ case ${generic_target} in arc-*-elf*) fmt=elf ;; arm-*-aout) fmt=aout ;; - arm-*-coff | thumb-*-coff) fmt=coff ;; - arm-*-rtems* | thumb-*-rtems*) fmt=elf ;; - arm-*-elf | thumb-*-elf) fmt=elf ;; + arm-*-coff) fmt=coff ;; + arm-*-rtems*) fmt=elf ;; + arm-*-elf) fmt=elf ;; arm-*-eabi*) fmt=elf em=armeabi ;; arm-*-symbianelf*) fmt=elf em=symbian ;; arm-*-kaos*) fmt=elf ;; @@ -121,10 +116,10 @@ case ${generic_target} in arm-*-netbsdelf*) fmt=elf em=nbsd ;; arm-*-*n*bsd*) fmt=aout em=nbsd ;; arm-*-nto*) fmt=elf ;; - arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;; + arm-epoc-pe) fmt=coff em=epoc-pe ;; arm-wince-pe | arm-*-wince | arm*-*-mingw32ce* | arm*-*-cegcc*) fmt=coff em=wince-pe ;; - arm-*-pe | thumb-*-pe) fmt=coff em=pe ;; + arm-*-pe) fmt=coff em=pe ;; arm-*-riscix*) fmt=aout em=riscix ;; avr-*-*) fmt=elf bfd_gas=yes ;; @@ -409,9 +404,6 @@ case ${generic_target} in vax-*-netbsdelf*) fmt=elf em=nbsd ;; vax-*-linux-*) fmt=elf em=linux ;; - xscale-*-coff) fmt=coff ;; - xscale-*-elf) fmt=elf ;; - xstormy16-*-*) fmt=elf ;; xtensa*-*-*) fmt=elf ;; diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 62fa86d09e..d77b730a2e 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,13 @@ +2011-04-06 Joseph Myers + + * gas/all/gas.exp (*arm*-*-coff): Change to arm*-*-coff. + (thumb*-*-coff, thumb*-*-pe*): Don;t handle. + * gas/arm/arm.exp (*arm*-*-*): Change to arm*-*-*. + (*xscale*-*-*): Don't handle. + * gas/cfi/cfi.exp (xscale*-*): Don't handle. + * gas/elf/elf.exp (*arm*-*-*): Change to arm*-*-*. + (xscale*-*-*): Don't handle. + 2011-03-31 Bernd Schmidt * gas/tic6x/scomm-directive-1.s: New test. diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp index f9330d96e3..70210c0eb6 100644 --- a/gas/testsuite/gas/all/gas.exp +++ b/gas/testsuite/gas/all/gas.exp @@ -285,8 +285,8 @@ case $target_triplet in { # We omit the ARM toolchains because they define locals to # start with '.', which eliminates .eos, .text etc from the output. # Omit c54x, since .tag and .def mean something different on that target -if { ([istarget *-*-coff*] && ![istarget *arm*-*-coff] && ![istarget thumb*-*-coff] && ![istarget xscale-*-coff] && ![istarget *c4x*-*-coff] && ![istarget *c54x*-*-coff]) \ - ||([istarget *-*-pe*] && ![istarget arm*-*-pe*] && ![istarget thumb*-*-pe*]) \ +if { ([istarget *-*-coff*] && ![istarget arm*-*-coff] && ![istarget *c4x*-*-coff] && ![istarget *c54x*-*-coff]) \ + ||([istarget *-*-pe*] && ![istarget arm*-*-pe*]) \ || [istarget i*86-*-aix*] \ || [istarget i*86-*-sco*] \ || [istarget i*86-*-isc*] \ diff --git a/gas/testsuite/gas/arm/arm.exp b/gas/testsuite/gas/arm/arm.exp index 56aef3b869..9f494a30d8 100644 --- a/gas/testsuite/gas/arm/arm.exp +++ b/gas/testsuite/gas/arm/arm.exp @@ -2,6 +2,6 @@ # Some ARM tests # -if {[istarget *arm*-*-*] || [istarget *xscale*-*-*]} { +if {[istarget arm*-*-*]} { run_dump_tests [lsort [glob -nocomplain $srcdir/$subdir/*.d]] } diff --git a/gas/testsuite/gas/cfi/cfi.exp b/gas/testsuite/gas/cfi/cfi.exp index c5e3acfeb7..dfe0cf51eb 100644 --- a/gas/testsuite/gas/cfi/cfi.exp +++ b/gas/testsuite/gas/cfi/cfi.exp @@ -72,7 +72,7 @@ if { [istarget "i*86-*-*"] || [istarget "x86_64-*-*"] } then { run_dump_test "cfi-sh-1" } -} elseif { [istarget "arm*-*"] || [istarget "xscale*-*"] } then { +} elseif { [istarget "arm*-*"] } then { # Only ELF based ARM targets support CFI. if { [is_pecoff_format] } then { return diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index 8bfeb95e21..6eff0dd56b 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -69,8 +69,7 @@ if { ([istarget "*-*-*elf*"] if {[istarget "rx-*-*"]} then { set target_machine -rx } - if { ([istarget "*arm*-*-*"] - || [istarget "xscale*-*-*"]) } { + if {[istarget "arm*-*-*"]} { if { ([istarget "*-*-*eabi"] || [istarget "*-*-linux-*"] @@ -165,8 +164,7 @@ if { ([istarget "*-*-*elf*"] # So for these targets we cannot include an IFUNC symbol type # in the symbol type test. if { [istarget "msp*-*-*"] - || [istarget "arm*-*-*"] - || [istarget "xscale*-*-*"]} then { + || [istarget "arm*-*-*"]} then { run_elf_list_test "type-noifunc" "" "" "-s" "| grep \"1 *\\\[FONTC\\\]\"" } else { run_dump_test ifunc-1 diff --git a/ld/ChangeLog b/ld/ChangeLog index a63c961101..54ed744641 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2011-04-06 Joseph Myers + + * configure.tgt (thumb-*-linux-* | thumb-*-uclinux*, + strongarm-*-coff, strongarm-*-elf, strongarm-*-kaos*, + thumb-*-coff, thumb-*-elf, thumb-epoc-pe, thumb-*-pe, + xscale-*-coff, xscale-*-elf): Remove targets. + 2011-03-31 H.J. Lu * configure.tgt: Add elf_l1om to targ_extra_libpath for diff --git a/ld/configure.tgt b/ld/configure.tgt index e1430c7f2c..713013d5a4 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -97,18 +97,6 @@ arm*-*-uclinux*) targ_emul=armelf_linux ;; arm-*-vxworks) targ_emul=armelf_vxworks ;; arm*-*-conix*) targ_emul=armelf ;; -thumb-*-linux-* | thumb-*-uclinux*) targ_emul=armelf_linux; targ_extra_emuls=armelf ;; -strongarm-*-coff) targ_emul=armcoff ;; -strongarm-*-elf) targ_emul=armelf ;; -strongarm-*-kaos*) targ_emul=armelf ;; -thumb-*-coff) targ_emul=armcoff ;; -thumb-*-elf) targ_emul=armelf ;; -thumb-epoc-pe) targ_emul=arm_epoc_pe ; - targ_extra_ofiles="deffilep.o pe-dll.o" ;; -thumb-*-pe) targ_emul=armpe ; - targ_extra_ofiles="deffilep.o pe-dll.o" ;; -xscale-*-coff) targ_emul=armcoff ;; -xscale-*-elf) targ_emul=armelf ;; avr-*-*) targ_emul=avr2 targ_extra_emuls="avr1 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 avrxmega1 avrxmega2 avrxmega3 avrxmega4 avrxmega5 avrxmega6 avrxmega7" diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index ddbb461b7f..7c81bcb711 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,17 @@ +2011-04-06 Joseph Myers + + * ld-selective/selective.exp (xscale-*-*): Don't handle. + * ld-srec/srec.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't + handle. + (*arm*-*-*): Change to arm*-*-*. + (strongarm*-*-coff, xscale*-*-coff, thumb-*-coff*, thumb-*-pe*, + thumb-*-elf*, strongarm*-*-*, thumb-*-*): Remove xfails. + * ld-undefined/undefined.exp (thumb*-*-pe*, thumb*-*-pe*): Remove + commented-out xfails. + (thumb-elf): Remove reference in comment. + * lib/ld-lib.exp (strongarm*-*-*, xscale*-*-*, thumb-*-*): Don't + handle. + 2011-04-04 H.J. Lu PR ld/12627 diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp index 81870c2a05..505db65615 100644 --- a/ld/testsuite/ld-selective/selective.exp +++ b/ld/testsuite/ld-selective/selective.exp @@ -1,6 +1,6 @@ # Expect script for LD selective linking tests -# Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009 -# Free Software Foundation, Inc. +# Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, +# 2010, 2011 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -139,7 +139,7 @@ foreach testitem $seltests { } # ARM targets need libgcc.a in THUMB mode so that __call_via_r3 is provided - if {[istarget arm-*-*] || [istarget xscale-*-*]} { + if {[istarget arm-*-*]} { set libgcc [remote_exec host "$compiler -print-libgcc-file-name"] set libgcc [lindex $libgcc 1] regsub -all "\[\r\n\]" $libgcc "" libgcc diff --git a/ld/testsuite/ld-srec/srec.exp b/ld/testsuite/ld-srec/srec.exp index cb01f3f8d9..305102668f 100644 --- a/ld/testsuite/ld-srec/srec.exp +++ b/ld/testsuite/ld-srec/srec.exp @@ -1,6 +1,6 @@ # Test linking directly to S-records. # By Ian Lance Taylor, Cygnus Support. -# Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2009 +# Copyright 1999, 2000, 2001, 2002, 2003, 2005, 2006, 2007, 2009, 2011 # Free Software Foundation, Inc. # # This file is part of the GNU Binutils. @@ -250,15 +250,10 @@ proc run_srec_test { test objs } { setup_xfail "sh64*-*-*" } - if {[istarget arm*-*-*] || \ - [istarget strongarm*-*-*] || \ - [istarget xscale*-*-*] || \ - [istarget thumb-*-*] } { + if {[istarget arm*-*-*]} { # ARM targets cannot convert format in the linker # using the --oformat command line switch - setup_xfail "*arm*-*-*" - setup_xfail "xscale-*-*" - setup_xfail "thumb-*-*" + setup_xfail "arm*-*-*" } # V850 targets need libgcc.a @@ -342,13 +337,8 @@ setup_xfail "*-*-aix*" "*-*-xcoff*" # The S-record linker doesn't build ARM/Thumb stubs. setup_xfail "arm-*-coff" -setup_xfail "strongarm*-*-coff" -setup_xfail "xscale*-*-coff" setup_xfail "arm-*-pe*" # setup_xfail "arm-*elf*" -setup_xfail "thumb-*-coff*" -setup_xfail "thumb-*-pe*" -setup_xfail "thumb-*-elf*" setup_xfail "arm*-*-linux*" # The S-record linker doesn't include the .{zda} sections. @@ -395,8 +385,6 @@ setup_xfail "i*86-*-aout*" setup_xfail "mips*-*-irix5*" "mips*-*-irix6*" "mips*-*-linux*" setup_xfail "*-*-aix*" "*-*-xcoff*" setup_xfail "arm*-*-*" -setup_xfail "strongarm*-*-*" -setup_xfail "thumb-*-*" setup_xfail "v850*-*-elf" setup_xfail "alpha*-*-elf*" "alpha*-*-linux-*" "alpha*-*-gnu*" setup_xfail "alpha*-*-netbsd*" diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp index 29273515e1..65fbc4b4d7 100644 --- a/ld/testsuite/ld-undefined/undefined.exp +++ b/ld/testsuite/ld-undefined/undefined.exp @@ -2,7 +2,7 @@ # By Ian Lance Taylor, Cygnus Support # # Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, -# 2005, 2007, 2008 Free Software Foundation, Inc. +# 2005, 2007, 2008, 2010, 2011 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -69,7 +69,6 @@ checkund $mu $testund # ARM PE defaults to using stabs debugging, which we can't handle for # a COFF file. #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 @@ -89,12 +88,11 @@ if ![is_elf_format] { # ARM PE defaults to using stabs debugging, which we can't handle for # a COFF file. #setup_xfail "arm*-*-pe*" - #setup_xfail "thumb*-*-pe*" } set ml "undefined.c:9: undefined reference to `*this_function_is_not_defined'" -# With targets that use elf/dwarf2, such as the arm-elf and thumb-elf -# toolchains, the code in bfd/elf.c:_bfd_elf_find_nearest_line() is called +# With targets that use elf/dwarf2, such as the arm-elf +# toolchain, the code in bfd/elf.c:_bfd_elf_find_nearest_line() is called # in order to locate the file name/line number where the undefined # reference occurs. Unfortunately this tries to use the dwarf2 debug # information held in the .debug_info section. This section contains a series diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 48e9635d03..0591e8b6eb 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -1,6 +1,7 @@ # Support routines for LD testsuite. # Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, -# 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. +# 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 +# Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -369,10 +370,7 @@ proc ld_simple_link_defsyms {} { set flags "--defsym __stack_chk_fail=0" # ARM targets call __gccmain - if {[istarget arm*-*-*] || \ - [istarget strongarm*-*-*] || \ - [istarget xscale*-*-*] || \ - [istarget thumb-*-*] } { + if {[istarget arm*-*-*]} { append flags " --defsym __gccmain=0" }