aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-09-14 11:46:40 +0000
committerNick Clifton <nickc@redhat.com>2001-09-14 11:46:40 +0000
commit056a1d49d70097de36b5293dd52690927e0762bd (patch)
tree8eb1b32383eb97d2c00aa87f86770042aeb9f306 /gas
parentd132876a03877efa59ef0714d56cd53ae338b1e6 (diff)
downloadgdb-056a1d49d70097de36b5293dd52690927e0762bd.zip
gdb-056a1d49d70097de36b5293dd52690927e0762bd.tar.gz
gdb-056a1d49d70097de36b5293dd52690927e0762bd.tar.bz2
Add support for arm-openbsd target
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rwxr-xr-xgas/configure6
-rw-r--r--gas/configure.in2
3 files changed, 9 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a62036f..fb45adb 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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
diff --git a/gas/configure b/gas/configure
index a381f4b..d2b1629 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 d812d7b..1686ef3 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 ;;