mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
Recognize more targets as ELF for testing
Also use the correct rel strip-13 variant for more ARM targets. * testsuite/lib/binutils-common.exp (is_elf_format): Add chorus, cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*, and *uclinux* into *linux*. * testsuite/binutils-all/objcopy.exp: Accept armeb for rel strip-13 test, exclude arm-vxworks and arm-windiss.
This commit is contained in:
@ -1,3 +1,11 @@
|
|||||||
|
2018-05-15 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* testsuite/lib/binutils-common.exp (is_elf_format): Add chorus,
|
||||||
|
cloudabi, fuchsia, kaos and nto. Merge netbsdelf* into *elf*,
|
||||||
|
and *uclinux* into *linux*.
|
||||||
|
* testsuite/binutils-all/objcopy.exp: Accept armeb for rel
|
||||||
|
strip-13 test, exclude arm-vxworks and arm-windiss.
|
||||||
|
|
||||||
2018-05-10 John Darrington <john@darrington.wattle.id.au>
|
2018-05-10 John Darrington <john@darrington.wattle.id.au>
|
||||||
|
|
||||||
* readelf.c (get_machine_name): EM_S12Z - handle new case.
|
* readelf.c (get_machine_name): EM_S12Z - handle new case.
|
||||||
|
@ -1081,7 +1081,9 @@ if [is_elf_format] {
|
|||||||
|
|
||||||
if { [istarget "mips64*-*-openbsd*"] } {
|
if { [istarget "mips64*-*-openbsd*"] } {
|
||||||
set reloc_format mips64
|
set reloc_format mips64
|
||||||
} elseif { [istarget "arm-*"] \
|
} elseif { ([istarget "arm*-*"] \
|
||||||
|
&& ![istarget "*-*-vxworks"] \
|
||||||
|
&& ![istarget "*-*-windiss"]) \
|
||||||
|| [istarget "d10v-*"] \
|
|| [istarget "d10v-*"] \
|
||||||
|| [istarget "dlx-*"] \
|
|| [istarget "dlx-*"] \
|
||||||
|| [istarget "i*86-*"] \
|
|| [istarget "i*86-*"] \
|
||||||
|
@ -26,32 +26,35 @@ proc is_elf_format {} {
|
|||||||
if { [istarget m68hc1*-*] || [istarget xgate-*] } {
|
if { [istarget m68hc1*-*] || [istarget xgate-*] } {
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
# vxworks (and windiss) excluded due to number of ELF tests that need
|
||||||
|
# modifying to pass on those targets.
|
||||||
|
# && ![istarget *-*-vxworks*]
|
||||||
|
# && ![istarget *-*-windiss*]
|
||||||
|
|
||||||
if { ![istarget *-*-eabi*]
|
if { ![istarget *-*-chorus*]
|
||||||
&& ![istarget *-*-elf*]
|
&& ![istarget *-*-cloudabi*]
|
||||||
&& ![istarget *-*-freebsd*]
|
&& ![istarget *-*-eabi*]
|
||||||
|
&& ![istarget *-*-*elf*]
|
||||||
|
&& ![istarget *-*-*freebsd*]
|
||||||
|
&& ![istarget *-*-fuchsia*]
|
||||||
&& ![istarget *-*-gnu*]
|
&& ![istarget *-*-gnu*]
|
||||||
&& ![istarget *-*-irix5*]
|
&& ![istarget *-*-irix5*]
|
||||||
&& ![istarget *-*-irix6*]
|
&& ![istarget *-*-irix6*]
|
||||||
&& ![istarget *-*-linux*]
|
&& ![istarget *-*-kaos*]
|
||||||
|
&& ![istarget *-*-*linux*]
|
||||||
&& ![istarget *-*-lynxos*]
|
&& ![istarget *-*-lynxos*]
|
||||||
&& ![istarget *-*-nacl*]
|
&& ![istarget *-*-nacl*]
|
||||||
&& ![istarget *-*-netbsd*]
|
&& ![istarget *-*-netbsd*]
|
||||||
|
&& ![istarget *-*-nto*]
|
||||||
&& ![istarget *-*-openbsd*]
|
&& ![istarget *-*-openbsd*]
|
||||||
&& ![istarget *-*-rtems*]
|
&& ![istarget *-*-rtems*]
|
||||||
&& ![istarget *-*-solaris2*]
|
&& ![istarget *-*-solaris2*]
|
||||||
&& ![istarget *-*-symbianelf*]
|
|
||||||
&& ![istarget *-*-sysv4*]
|
&& ![istarget *-*-sysv4*]
|
||||||
&& ![istarget *-*-unixware*]
|
&& ![istarget *-*-unixware*]
|
||||||
&& ![istarget *-*-wasm32*]
|
&& ![istarget *-*-wasm32*]
|
||||||
&& ![istarget arm*-*-uclinuxfdpiceabi]
|
|
||||||
&& ![istarget avr-*-*]
|
&& ![istarget avr-*-*]
|
||||||
&& ![istarget bfin-*-uclinux]
|
|
||||||
&& ![istarget frv-*-uclinux*]
|
|
||||||
&& ![istarget hppa*64*-*-hpux*]
|
&& ![istarget hppa*64*-*-hpux*]
|
||||||
&& ![istarget ia64-*-hpux*]
|
&& ![istarget ia64-*-hpux*] } {
|
||||||
&& ![istarget sh*-*-uclinux*]
|
|
||||||
&& ![istarget tic6x*-*-uclinux*] } {
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user