* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.

This commit is contained in:
Mark Kettenis 2004-04-22 20:27:41 +00:00
parent bb6a587dd3
commit d9943e50f8
2 changed files with 17 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2004-04-22 Mark Kettenis <kettenis@gnu.org>
* lib/gas-defs.exp (is_elf_format): Add OpenBSD support.
2004-04-22 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
* gas/mips/lb-xgot-ilocks.d: Remove nops in load delay slot.

View file

@ -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
}