Add support for arm-openbsd target
authorNick Clifton <nickc@redhat.com>
Fri, 14 Sep 2001 11:46:40 +0000 (11:46 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 14 Sep 2001 11:46:40 +0000 (11:46 +0000)
bfd/ChangeLog
bfd/config.bfd
gas/ChangeLog
gas/configure
gas/configure.in
ld/ChangeLog
ld/configure.tgt

index 93546b2..9b69654 100644 (file)
@@ -1,3 +1,7 @@
+2001-09-14  Kevin Lo <kevlo@openbsd.org>
+
+       * configure.bfd: Add arm-openbsd target.
+
 2001-09-14  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
        * config.bfd: Change machine triplets from mips*el*-* to mips*el-*.
index 934d97b..0cfb661 100644 (file)
@@ -112,7 +112,7 @@ case "${targ}" in
     targ_selvecs=bfd_elf32_bigarc_vec
     ;;
 
-  arm-*-netbsd*)
+  arm-*-netbsd* | arm-*-openbsd*)
     targ_defvec=armnetbsd_vec
     targ_underscore=yes
     ;;
index a62036f..fb45adb 100644 (file)
@@ -1,3 +1,8 @@
+2001-09-14  Kevin Lo <kevlo@openbsd.org>
+
+       * configure.in: Add arm-openbsd target.
+       * configure: Regenerate.
+
 2001-09-14  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
        * configure.in: Change machine triplets from mips-*-linux-gnu* to
index a381f4b..d2b1629 100755 (executable)
@@ -2327,7 +2327,7 @@ for this_target in $target $canon_targets ; do
       arm-*-linux*aout*)               fmt=aout em=linux ;;
       arm*-*-linux-gnu* | arm*-*-uclinux*)     
                                        fmt=elf  em=linux ;;
-      arm-*-netbsd*)                   fmt=aout em=nbsd ;;
+      arm-*-netbsd* | arm-*-openbsd*)   fmt=aout em=nbsd ;;
       arm-*-oabi | thumb-*-oabi)        fmt=elf ;;
       arm-epoc-pe | thumb-epoc-pe)      fmt=coff em=epoc-pe ;;
       arm-*-wince)                     fmt=coff em=wince-pe ;;
@@ -2489,7 +2489,7 @@ EOF
       mips-*-irix*)         fmt=ecoff ;;
       mips-*-lnews*)        fmt=ecoff em=lnews ;;
       mips-*-riscos*)       fmt=ecoff ;;
-      mips-*-linux-gnu*)
+      mips*-*-linux*)
                            fmt=elf em=tmips
                            cat >> confdefs.h <<\EOF
 #define MIPS_STABS_ELF 1
@@ -2766,7 +2766,7 @@ EOF
 
     case ${generic_target}-${fmt} in
       mips-*-irix5*-*) emulation="mipsbelf mipslelf mipself mipsbecoff mipslecoff mipsecoff" ;;
-      mips-*-linux-gnu*-*) case "$endian" in
+      mips*-*-linux*-*) case "$endian" in
                        big)    emulation="mipsbelf mipslelf mipself" ;;
                        *)      emulation="mipslelf mipsbelf mipself" ;;
                        esac ;;
index d812d7b..1686ef3 100644 (file)
@@ -191,7 +191,7 @@ changequote([,])dnl
       arm-*-linux*aout*)               fmt=aout em=linux ;;
       arm*-*-linux-gnu* | arm*-*-uclinux*)     
                                        fmt=elf  em=linux ;;
-      arm-*-netbsd*)                   fmt=aout em=nbsd ;;
+      arm-*-netbsd* | arm-*-openbsd*)   fmt=aout em=nbsd ;;
       arm-*-oabi | thumb-*-oabi)        fmt=elf ;;
       arm-epoc-pe | thumb-epoc-pe)      fmt=coff em=epoc-pe ;;
       arm-*-wince)                     fmt=coff em=wince-pe ;;
index d225d77..de358dc 100644 (file)
@@ -1,3 +1,7 @@
+2001-09-14  Kevin Lo <kevlo@openbsd.org>
+
+       * configure.tgt: Add arm-openbsd target.
+
 2001-09-12  H.J. Lu  <hjl@gnu.org>
 
        * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
index bc9489b..41aebf2 100644 (file)
@@ -197,6 +197,7 @@ arm-*-coff)         targ_emul=armcoff ;;
 arm-*-vxworks)         targ_emul=armcoff ;;
 arm-*-freebsd*)                targ_emul=armelf ;;
 arm-*-netbsd*)         targ_emul=armnbsd ;;
+arm-*-openbsd*)                targ_emul=armnbsd ;;
 arm-*-rtems*)          targ_emul=armelf ;;
 arm-*-elf)             targ_emul=armelf ;;
 arm-*-oabi)            targ_emul=armelf_oabi ;;