aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-12-23 17:43:21 +1030
committerAlan Modra <amodra@gmail.com>2023-01-02 14:03:22 +1030
commit3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e (patch)
tree63a1b394aac8e6785ce103500e119fb2fcc19830 /binutils
parente2a3b3256f5c9da1f9731d24d3d32da6c9719b99 (diff)
downloadgdb-3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e.zip
gdb-3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e.tar.gz
gdb-3002e78a7d3dba2cf2776cebfd5f2a9e53071b3e.tar.bz2
obsolete target tidy
Delete a few files only used for obsolete targets, and tidy config, xfails and other pieces of support specific to those targets. And since I was editing target triplets in test files, fix the nm alpha-linuxecoff fails.
Diffstat (limited to 'binutils')
-rwxr-xr-xbinutils/configure9
-rw-r--r--binutils/configure.ac9
-rw-r--r--binutils/testsuite/binutils-all/nm.exp14
-rw-r--r--binutils/testsuite/binutils-all/objcopy.exp6
-rw-r--r--binutils/testsuite/lib/binutils-common.exp4
5 files changed, 6 insertions, 36 deletions
diff --git a/binutils/configure b/binutils/configure
index 9770aa3..20fd420 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -14646,15 +14646,6 @@ do
spu-*-*)
BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
;;
- mips*-*-pe)
- BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
- if test -z "$DLLTOOL_DEFAULT"; then
- DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MIPS"
- fi
- DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
- BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
- BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
- ;;
mcore-*-pe)
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
if test -z "$DLLTOOL_DEFAULT"; then
diff --git a/binutils/configure.ac b/binutils/configure.ac
index 053cbb4..a217c81 100644
--- a/binutils/configure.ac
+++ b/binutils/configure.ac
@@ -431,15 +431,6 @@ changequote([,])dnl
spu-*-*)
BUILD_MISC="${BUILD_MISC} "'bin2c$(EXEEXT_FOR_BUILD)'
;;
- mips*-*-pe)
- BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
- if test -z "$DLLTOOL_DEFAULT"; then
- DLLTOOL_DEFAULT="-DDLLTOOL_DEFAULT_MIPS"
- fi
- DLLTOOL_DEFS="$DLLTOOL_DEFS -DDLLTOOL_MIPS"
- BUILD_WINDRES='$(WINDRES_PROG)$(EXEEXT)'
- BUILD_WINDMC='$(WINDMC_PROG)$(EXEEXT)'
- ;;
mcore-*-pe)
BUILD_DLLTOOL='$(DLLTOOL_PROG)$(EXEEXT)'
if test -z "$DLLTOOL_DEFAULT"; then
diff --git a/binutils/testsuite/binutils-all/nm.exp b/binutils/testsuite/binutils-all/nm.exp
index 0c956a9..d0f4c3e 100644
--- a/binutils/testsuite/binutils-all/nm.exp
+++ b/binutils/testsuite/binutils-all/nm.exp
@@ -44,9 +44,7 @@ if {![binutils_assemble $srcdir/$subdir/bintest.s tmpdir/bintest.o]} then {
# This test does not work correctly on ECOFF targets, because ECOFF
# stores most symbols twice, which messes up the nm output.
- setup_xfail "alpha*-*-osf*"
- setup_xfail "mips*-*-ultrix*" "mips*-*-ecoff*" "mips*-*-irix4*"
- setup_xfail "mips*-*-riscos*" "mips*-*-sysv3*"
+ setup_xfail "alpha*-*-*ecoff" "alpha*-*-osf*"
# This test does not work correctly on XCOFF targets, because XCOFF
# does not enter static symbols in the symbol table.
@@ -104,9 +102,7 @@ if {![binutils_assemble $srcdir/$subdir/bintest.s tmpdir/bintest.o]} then {
# This test does not work correctly on ECOFF targets, because ECOFF
# stores most symbols twice, which messes up the nm output.
- setup_xfail "alpha*-*-osf*"
- setup_xfail "mips*-*-ultrix*" "mips*-*-ecoff*" "mips*-*-irix4*"
- setup_xfail "mips*-*-riscos*" "mips*-*-sysv3*"
+ setup_xfail "alpha*-*-*ecoff" "alpha*-*-osf*"
# This test does not work correctly on XCOFF targets, because XCOFF
# does not enter static symbols in the symbol table.
@@ -181,12 +177,6 @@ if {![binutils_assemble $srcdir/$subdir/$nm_1_src tmpdir/nm-1.o]} then {
set tempfile tmpdir/nm-1.o
}
- # This test does not work correctly on ECOFF targets, because ECOFF
- # stores most symbols twice, which messes up the nm output.
- setup_xfail "alpha*-*-osf*"
- setup_xfail "mips*-*-ultrix*" "mips*-*-ecoff*" "mips*-*-irix4*"
- setup_xfail "mips*-*-riscos*" "mips*-*-sysv3*"
-
set got [binutils_run $NM "$NMFLAGS --size-sort $tempfile"]
set want "0*4 T text_symbol3.*0*8 T text_symbol2.*0*c T text_symbol1"
diff --git a/binutils/testsuite/binutils-all/objcopy.exp b/binutils/testsuite/binutils-all/objcopy.exp
index eec93da..77af5ba 100644
--- a/binutils/testsuite/binutils-all/objcopy.exp
+++ b/binutils/testsuite/binutils-all/objcopy.exp
@@ -130,7 +130,7 @@ setup_xfail "hppa*-*-*"
setup_xfail "sh-*-coff*"
setup_xfail "tic54x-*-*"
clear_xfail "hppa*64*-*-hpux*" "hppa*-*-linux*" "hppa*-*-lites*"
-clear_xfail "hppa*-*-*n*bsd*" "hppa*-*-rtems*" "hppa*-*-*elf*"
+clear_xfail "hppa*-*-*n*bsd*" "hppa*-*-*elf*"
objcopy_test "simple copy" bintest.s object "" ""
# Test verilog data width
@@ -1220,7 +1220,7 @@ if [is_elf_format] {
setup_xfail "sh-*-coff*"
setup_xfail "tic54x-*-*"
clear_xfail "hppa*64*-*-hpux*" "hppa*-*-linux*" "hppa*-*-lites*"
- clear_xfail "hppa*-*-*n*bsd*" "hppa*-*-rtems*" "hppa*-*-*elf*"
+ clear_xfail "hppa*-*-*n*bsd*" "hppa*-*-*elf*"
objcopy_test "ELF unknown section type" unknown.s object "" ""
objcopy_test_readelf "ELF group 1" group.s
@@ -1464,7 +1464,7 @@ setup_xfail "hppa*-*-*"
setup_xfail "sh-*-coff*"
setup_xfail "spu-*-*"
clear_xfail "hppa*64*-*-hpux*" "hppa*-*-linux*" "hppa*-*-lites*"
-clear_xfail "hppa*-*-*n*bsd*" "hppa*-*-rtems*" "hppa*-*-*elf*"
+clear_xfail "hppa*-*-*n*bsd*" "hppa*-*-*elf*"
if { [istarget pdp11-*-*] } {
set src "pr25662-pdp11.s"
} else {
diff --git a/binutils/testsuite/lib/binutils-common.exp b/binutils/testsuite/lib/binutils-common.exp
index e46909b..b0190ac 100644
--- a/binutils/testsuite/lib/binutils-common.exp
+++ b/binutils/testsuite/lib/binutils-common.exp
@@ -50,7 +50,6 @@ proc is_elf_format {} {
&& ![istarget *-*-rtems*]
&& ![istarget *-*-solaris2*]
&& ![istarget *-*-sysv4*]
- && ![istarget *-*-unixware*]
&& ![istarget *-*-wasm32*]
&& ![istarget avr-*-*]
&& ![istarget hppa*64*-*-hpux*]
@@ -63,8 +62,7 @@ proc is_elf_format {} {
return 0
}
- if { [istarget *-*-linux*ecoff*]
- || [istarget *-*-rtemscoff*] } {
+ if { [istarget *-*-linux*ecoff*] } {
return 0
}