forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
9
binutils/configure
vendored
9
binutils/configure
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user