From 64efe6255e659a2aee0d19d631c0142b09e85463 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 14 Apr 2005 18:49:04 +0000 Subject: [PATCH] * configure.tgt: Add support for OpenBSD/sparc ELF. --- gas/ChangeLog | 2 ++ gas/configure.tgt | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index d39156b2262..59a384aeeb2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,7 @@ 2005-04-14 Mark Kettenis + * configure.tgt: Add support for OpenBSD/sparc ELF. + * configure.tgt: Set emulation for mips-*-openbsd*. Remove broken mips-dec-openbsd* config. * configure.in: Set default ABI for mips64-*-openbsd*. diff --git a/gas/configure.tgt b/gas/configure.tgt index 77c293876e5..58604990f43 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -375,11 +375,18 @@ case ${generic_target} in sparc-*-sysv4*) fmt=elf ;; sparc-*-solaris*) fmt=elf ;; sparc-*-netbsdelf*) fmt=elf em=nbsd ;; - sparc-*-*n*bsd*) + sparc-*-netbsd*) case ${cpu} in sparc64) fmt=elf em=nbsd ;; *) fmt=aout em=nbsd ;; esac ;; + sparc-*-openbsd[0-2].* | \ + sparc-*-openbsd3.[0-1]) + case ${cpu} in + sparc64) fmt=elf em=nbsd ;; + *) fmt=aout em=nbsd ;; + esac ;; + sparc-*-openbsd*) fmt=elf em=nbsd ;; tic30-*-*aout*) fmt=aout bfd_gas=yes ;; tic30-*-*coff*) fmt=coff bfd_gas=yes ;; -- 2.30.2