mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
ecoff testsuite fixes
The aim of this change is to remove a whole lot of "assembly failed" errors for ecoff targets. * testsuite/ld-alpha/alpha.exp: Exclude *ecoff targets. * testsuite/ld-elf/binutils.exp: Likewise. * testsuite/ld-elf/tls.exp: Likewise. * testsuite/ld-elf/tls_common.exp: Likewise. * testsuite/ld-scripts/phdrs2.exp: Likewise.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2020-06-20 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* testsuite/ld-alpha/alpha.exp: Exclude *ecoff targets.
|
||||||
|
* testsuite/ld-elf/binutils.exp: Likewise.
|
||||||
|
* testsuite/ld-elf/tls.exp: Likewise.
|
||||||
|
* testsuite/ld-elf/tls_common.exp: Likewise.
|
||||||
|
* testsuite/ld-scripts/phdrs2.exp: Likewise.
|
||||||
|
|
||||||
2020-06-20 Alan Modra <amodra@gmail.com>
|
2020-06-20 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
* testsuite/ld-sh/sh.exp: Don't run relax tests for non-ELF.
|
* testsuite/ld-sh/sh.exp: Don't run relax tests for non-ELF.
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
# Test Alpha ELF linking; all types of relocs. This tests the
|
# Test Alpha ELF linking; all types of relocs. This tests the
|
||||||
# assembler and tools like objdump as well as the linker.
|
# assembler and tools like objdump as well as the linker.
|
||||||
|
|
||||||
if { !([istarget "alpha*-*-elf*"]
|
if { !([istarget alpha*-*-elf*]
|
||||||
|| [istarget "alpha*-*-linux*"]) } {
|
|| ([istarget alpha*-*-linux*] && ![istarget *ecoff])) } {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,10 +23,10 @@
|
|||||||
|
|
||||||
# Make sure that binutils can correctly handle ld output in ELF.
|
# Make sure that binutils can correctly handle ld output in ELF.
|
||||||
|
|
||||||
if { ![istarget *-*-linux*]
|
if { !([istarget *-*-linux*]
|
||||||
&& ![istarget arm*-*-uclinuxfdpiceabi]
|
|| [istarget arm*-*-uclinuxfdpiceabi]
|
||||||
&& ![istarget *-*-nacl*]
|
|| [istarget *-*-nacl*]
|
||||||
&& ![istarget *-*-gnu*]} {
|
|| [istarget *-*-gnu*]) || [istarget *ecoff] } then {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,10 +21,10 @@
|
|||||||
|
|
||||||
# Make sure that binutils can correctly handle TLS.
|
# Make sure that binutils can correctly handle TLS.
|
||||||
|
|
||||||
if { ![istarget *-*-linux*]
|
if { !([istarget *-*-linux*]
|
||||||
&& ![istarget arm*-*-uclinuxfdpiceabi]
|
|| [istarget arm*-*-uclinuxfdpiceabi]
|
||||||
&& ![istarget *-*-nacl*]
|
|| [istarget *-*-nacl*]
|
||||||
&& ![istarget *-*-gnu*] } {
|
|| [istarget *-*-gnu*]) || [istarget *ecoff] } then {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,10 +23,10 @@
|
|||||||
|
|
||||||
# Make sure that binutils can correctly handle ld output in ELF.
|
# Make sure that binutils can correctly handle ld output in ELF.
|
||||||
|
|
||||||
if { ![istarget *-*-linux*]
|
if { !([istarget *-*-linux*]
|
||||||
&& ![istarget arm*-*-uclinuxfdpiceabi]
|
|| [istarget arm*-*-uclinuxfdpiceabi]
|
||||||
&& ![istarget *-*-nacl*]
|
|| [istarget *-*-nacl*]
|
||||||
&& ![istarget *-*-gnu*] } {
|
|| [istarget *-*-gnu*]) || [istarget *ecoff] } then {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -19,17 +19,17 @@
|
|||||||
# MA 02110-1301, USA.
|
# MA 02110-1301, USA.
|
||||||
|
|
||||||
# PHDRS2 is only meaningful for ELF.
|
# PHDRS2 is only meaningful for ELF.
|
||||||
if { ![istarget *-*-sysv4*] \
|
if { !([istarget *-*-sysv4*]
|
||||||
&& ![istarget *-*-unixware*] \
|
|| [istarget *-*-unixware*]
|
||||||
&& ![istarget *-*-elf*] \
|
|| [istarget *-*-elf*]
|
||||||
&& ![istarget *-*-eabi*] \
|
|| [istarget *-*-eabi*]
|
||||||
&& ![istarget hppa*64*-*-hpux*] \
|
|| [istarget hppa*64*-*-hpux*]
|
||||||
&& ![istarget *-*-linux*] \
|
|| [istarget *-*-linux*]
|
||||||
&& ![istarget arm*-*-uclinuxfdpiceabi] \
|
|| [istarget arm*-*-uclinuxfdpiceabi]
|
||||||
&& ![istarget *-*-gnu*] \
|
|| [istarget *-*-gnu*]
|
||||||
&& ![istarget *-*-irix5*] \
|
|| [istarget *-*-irix5*]
|
||||||
&& ![istarget *-*-irix6*] \
|
|| [istarget *-*-irix6*]
|
||||||
&& ![istarget *-*-solaris2*] } {
|
|| [istarget *-*-solaris2*]) || [istarget *ecoff] } then {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user