From d9943e50f80c0cf5920068294ee8f78079cf6709 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 22 Apr 2004 20:27:41 +0000 Subject: [PATCH] * lib/gas-defs.exp (is_elf_format): Add OpenBSD support. --- gas/testsuite/ChangeLog | 4 ++++ gas/testsuite/lib/gas-defs.exp | 13 +++++++++++++ 2 files changed, 17 insertions(+) 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 } -- 2.30.2