From: Mark Kettenis Date: Thu, 22 Apr 2004 20:27:41 +0000 (+0000) Subject: * lib/gas-defs.exp (is_elf_format): Add OpenBSD support. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d9943e50f80c0cf5920068294ee8f78079cf6709;p=binutils-gdb.git * lib/gas-defs.exp (is_elf_format): Add OpenBSD support. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 68a45dd498f..da75cc22772 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-04-22 Mark Kettenis + + * lib/gas-defs.exp (is_elf_format): Add OpenBSD support. + 2004-04-22 Atsushi Nemoto * gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot. diff --git a/gas/testsuite/lib/gas-defs.exp b/gas/testsuite/lib/gas-defs.exp index fec27789488..f0c6b8c91a1 100644 --- a/gas/testsuite/lib/gas-defs.exp +++ b/gas/testsuite/lib/gas-defs.exp @@ -197,6 +197,7 @@ proc is_elf_format {} { && ![istarget *-*-irix5*] \ && ![istarget *-*-irix6*] \ && ![istarget *-*-netbsd*] \ + && ![istarget *-*-openbsd*] \ && ![istarget *-*-solaris2*] } { return 0 } @@ -217,6 +218,18 @@ proc is_elf_format {} { || [istarget ns32k-*-netbsd*]) } { return 0 } + + if { [istarget arm-*-openbsd*] \ + || [istarget i386-*-openbsd\[0-2\].*] \ + || [istarget i386-*-openbsd3.\[0-3\]] \ + || [istarget m68*-*-openbsd*] \ + || [istarget ns32k-*-openbsd*] \ + || [istarget sparc-*-openbsd\[0-2\].*] \ + || [istarget sparc-*-openbsd3.\[0-1\]] \ + || [istarget vax-*-openbsd*] } { + return 0 + } + return 1 }