summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2001-09-17 07:03:15 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2001-09-17 07:03:15 +0000
commit8f5658ef1d1fa2dc303975474983dd23072aca60 (patch)
treeba94c2f03a402d3b6790469817bac3d2512e30a3
parentff8c6efd9e03c449b128db7104fca027529c00b2 (diff)
Support for arm and sparc64 platforms. ok espie
-rw-r--r--gnu/usr.bin/binutils/gas/configure.in9
1 files changed, 7 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/gas/configure.in b/gnu/usr.bin/binutils/gas/configure.in
index e3b0c734756..fd8a0189bd1 100644
--- a/gnu/usr.bin/binutils/gas/configure.in
+++ b/gnu/usr.bin/binutils/gas/configure.in
@@ -159,6 +159,7 @@ changequote([,])dnl
arm-*-linux*aout*) fmt=aout em=linux ;;
arm*-*-linux-gnu*) fmt=elf em=linux ;;
arm-*-netbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
+ arm-*-openbsd*) fmt=aout em=nbsd bfd_gas=yes ;;
arm-*-oabi | thumb-*-oabi) fmt=elf ;;
arm-epoc-pe | thumb-epoc-pe) fmt=coff em=epoc-pe ;;
arm-*-wince) fmt=coff em=wince-pe bfd_gas=yes;;
@@ -359,8 +360,12 @@ changequote([,])dnl
sparc64) fmt=elf ;;
esac
;;
- sparc-*-openbsd*) fmt=aout em=nbsd ;;
-
+ sparc-*-openbsd*) em=nbsd
+ case ${cpu} in
+ sparc) fmt=aout ;;
+ sparc64) fmt=elf ;;
+ esac
+ ;;
strongarm-*-coff) fmt=coff ;;
strongarm-*-elf) fmt=elf ;;