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 93546b2b1ec82102bd9e7671d476af6c2e2101c9..9b69654b0c183896a6abfcd02190d281753e5585 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 934d97b9d24a953c202137a6ed734b4c0fb897db..0cfb661e12c7f4086ab189df92da23548fc5f54d 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 a62036f4b490cc9f013e674442e4c9d99630aa38..fb45adbf98c972953707ada088a3adac9d33b41d 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 a381f4bbe6f81be74ae30baed39b0a35f165a226..d2b16298eb2ac2637bba728a79a3f439dc293907 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 d812d7b3511bb16bbde7d7bc661758ded0f340c5..1686ef3db4743acccedd63bb3478ddbbc75613c9 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 d225d774cf2c9d3975068c967fb9d046a3da8ae0..de358dcbbdc8bc3210f51599735421453bda5ae2 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 bc9489b2cf94feb6c3e05e598415a6d5e8bd4320..41aebf263125f754bc82d674eca66609574f6462 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 ;;