* ld-elf/sec64k.exp: Likewise.
* ld-elfcomm/elfcomm.exp: Likewise.
* lib/ld-lib.exp (is_elf_format): Match hppa*64*-*-hpux*.
+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.
# 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
}
# 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
}
# 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
}
&& ![istarget *-*-unixware*] \
&& ![istarget *-*-elf*] \
&& ![istarget *-*-eabi*] \
+ && ![istarget hppa*64*-*-hpux*] \
&& ![istarget *-*-linux*] \
&& ![istarget *-*-irix5*] \
&& ![istarget *-*-irix6*] \