From 056a1d49d70097de36b5293dd52690927e0762bd Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 14 Sep 2001 11:46:40 +0000 Subject: [PATCH] Add support for arm-openbsd target --- bfd/ChangeLog | 4 ++++ bfd/config.bfd | 2 +- gas/ChangeLog | 5 +++++ gas/configure | 6 +++--- gas/configure.in | 2 +- ld/ChangeLog | 4 ++++ ld/configure.tgt | 1 + 7 files changed, 19 insertions(+), 5 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 93546b2b1ec..9b69654b0c1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2001-09-14 Kevin Lo + + * configure.bfd: Add arm-openbsd target. + 2001-09-14 Thiemo Seufer * config.bfd: Change machine triplets from mips*el*-* to mips*el-*. diff --git a/bfd/config.bfd b/bfd/config.bfd index 934d97b9d24..0cfb661e12c 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -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 ;; diff --git a/gas/ChangeLog b/gas/ChangeLog index a62036f4b49..fb45adbf98c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-09-14 Kevin Lo + + * configure.in: Add arm-openbsd target. + * configure: Regenerate. + 2001-09-14 Thiemo Seufer * configure.in: Change machine triplets from mips-*-linux-gnu* to diff --git a/gas/configure b/gas/configure index a381f4bbe6f..d2b16298eb2 100755 --- a/gas/configure +++ b/gas/configure @@ -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 ;; diff --git a/gas/configure.in b/gas/configure.in index d812d7b3511..1686ef3db47 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -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 ;; diff --git a/ld/ChangeLog b/ld/ChangeLog index d225d774cf2..de358dcbbdc 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2001-09-14 Kevin Lo + + * configure.tgt: Add arm-openbsd target. + 2001-09-12 H.J. Lu * Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and diff --git a/ld/configure.tgt b/ld/configure.tgt index bc9489b2cf9..41aebf26312 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -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 ;; -- 2.30.2