aboutsummaryrefslogtreecommitdiff
path: root/gas/configure.tgt
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2005-04-14 18:49:04 +0000
committerMark Kettenis <kettenis@gnu.org>2005-04-14 18:49:04 +0000
commit64efe6255e659a2aee0d19d631c0142b09e85463 (patch)
tree5cad7e76190e8623d8c11e0dbf3a83b77c43b867 /gas/configure.tgt
parent28e97307c863a9285018e912c2e735f1c0e168ee (diff)
downloadgdb-64efe6255e659a2aee0d19d631c0142b09e85463.zip
gdb-64efe6255e659a2aee0d19d631c0142b09e85463.tar.gz
gdb-64efe6255e659a2aee0d19d631c0142b09e85463.tar.bz2
* configure.tgt: Add support for OpenBSD/sparc ELF.
Diffstat (limited to 'gas/configure.tgt')
-rw-r--r--gas/configure.tgt9
1 files changed, 8 insertions, 1 deletions
diff --git a/gas/configure.tgt b/gas/configure.tgt
index 77c2938..5860499 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 ;;