summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Lo <kevlo@cvs.openbsd.org>2001-09-13 10:44:55 +0000
committerKevin Lo <kevlo@cvs.openbsd.org>2001-09-13 10:44:55 +0000
commit9efbb7d71d43c371ee3ba1e6fcb38df9e752341b (patch)
treecf0db6afec917bc172388e829338a67d29eebf94
parenta5a11d83728eca790e180f6c51f0fa0f14ef2c37 (diff)
Support for arm.
-rw-r--r--gnu/usr.bin/binutils/bfd/config.bfd2
-rw-r--r--gnu/usr.bin/binutils/gas/configure1
-rw-r--r--gnu/usr.bin/binutils/ld/configure.tgt1
3 files changed, 3 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/bfd/config.bfd b/gnu/usr.bin/binutils/bfd/config.bfd
index 623080ccbb4..e666b150ac6 100644
--- a/gnu/usr.bin/binutils/bfd/config.bfd
+++ b/gnu/usr.bin/binutils/bfd/config.bfd
@@ -90,7 +90,7 @@ case "${targ}" in
targ_selvecs=bfd_elf32_bigarc_vec
;;
- arm-*-netbsd*)
+ arm-*-netbsd* | arm-*-openbsd*)
targ_defvec=armnetbsd_vec
targ_underscore=yes
;;
diff --git a/gnu/usr.bin/binutils/gas/configure b/gnu/usr.bin/binutils/gas/configure
index c1286f4ad8e..3bb13f50ca1 100644
--- a/gnu/usr.bin/binutils/gas/configure
+++ b/gnu/usr.bin/binutils/gas/configure
@@ -1681,6 +1681,7 @@ for this_target in $target $canon_targets ; do
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;;
diff --git a/gnu/usr.bin/binutils/ld/configure.tgt b/gnu/usr.bin/binutils/ld/configure.tgt
index 8a5cced9539..d0a25dbbd56 100644
--- a/gnu/usr.bin/binutils/ld/configure.tgt
+++ b/gnu/usr.bin/binutils/ld/configure.tgt
@@ -159,6 +159,7 @@ arm-*-aout | armel-*-aout) targ_emul=armaoutl ;;
armeb-*-aout) targ_emul=armaoutb ;;
arm-*-coff) targ_emul=armcoff ;;
arm-*-netbsd*) targ_emul=armnbsd ;;
+arm-*-openbsd*) targ_emul=armnbsd ;;
arm-*-elf) targ_emul=armelf ;;
arm-*-oabi) targ_emul=armelf_oabi ;;
arm*-*-linux-gnu*) targ_emul=armelf_linux; targ_extra_emuls="armelf_linux26 armelf" ;;