* ld-elf/elf.exp: Use if_elf_format.

* ld-elf/sec64k.exp: Likewise.
* ld-elfcomm/elfcomm.exp: Likewise.
* lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*.
This commit is contained in:
Jason Thorpe 2003-05-29 00:16:46 +00:00
parent 7bd7a2abff
commit 43f9d75bc1
5 changed files with 11 additions and 28 deletions

View File

@ -1,3 +1,10 @@
2003-05-27 Jason Thorpe <thorpej@wasabisystems.com>
* ld-elf/elf.exp: Use if_elf_format.
* ld-elf/sec64k.exp: Likewise.
* ld-elfcomm/elfcomm.exp: Likewise.
* lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*.
2003-05-25 Jason Thorpe <thorpej@wasabisystems.com>
* ld-mips-elf/mips-elf.exp: Make all NetBSD targets match as elf.

View File

@ -18,15 +18,7 @@
# Exclude non-ELF targets.
if { ![istarget *-*-linux*] \
&& ![istarget *-*-gnu] \
&& ![istarget hppa*64*-*-hpux*] \
&& ![istarget *-*-elf] } {
return
}
if { [istarget *-*-linux*aout*] \
|| [istarget *-*-linux*oldld*] } {
if ![is_elf_format] {
return
}

View File

@ -20,15 +20,7 @@
# Exclude non-ELF targets.
if { ![istarget *-*-linux*] \
&& ![istarget *-*-gnu] \
&& ![istarget hppa*64*-*-hpux*] \
&& ![istarget *-*-elf] } {
return
}
if { [istarget *-*-linux*aout*] \
|| [istarget *-*-linux*oldld*] } {
if ![is_elf_format] {
return
}

View File

@ -21,16 +21,7 @@
# Make sure that ld correctly handles common symbols in ELF.
# This test can only be run on ELF platforms.
# Square bracket expressions seem to confuse istarget.
if { ![istarget hppa*64*-*-hpux*] \
&& ![istarget *-*-gnu] \
&& ![istarget *-*-linux*] \
&& ![istarget *-*-elf] } {
return
}
if { [istarget *-*-linux*aout*] \
|| [istarget *-*-linux*oldld*] } {
if ![is_elf_format] {
return
}

View File

@ -349,6 +349,7 @@ proc is_elf_format {} {
&& ![istarget *-*-unixware*] \
&& ![istarget *-*-elf*] \
&& ![istarget *-*-eabi*] \
&& ![istarget hppa*64*-*-hpux*] \
&& ![istarget *-*-linux*] \
&& ![istarget *-*-irix5*] \
&& ![istarget *-*-irix6*] \