aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rwxr-xr-xgas/configure2
-rw-r--r--gas/configure.in2
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/mips/mips.exp4
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.tgt8
7 files changed, 26 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 625a5cd..f79ce03 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-04 Chris Demetriou <cgd@broadcom.com>
+
+ * configure.in (mips-*-netbsd*): Add support for target.
+ * configure: Regenerate.
+
2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
* configure.in (ALL_LINGUAS): Add 'fr'.
diff --git a/gas/configure b/gas/configure
index 0a1a666..8391c62 100755
--- a/gas/configure
+++ b/gas/configure
@@ -2484,7 +2484,7 @@ EOF
mips-*-sysv4*MP* | mips-*-gnu*)
fmt=elf em=tmips ;;
mips-*-sysv*) fmt=ecoff ;;
- mips-*-elf* | mips-*-rtems* | mips-*-openbsd*)
+ mips-*-elf* | mips-*-rtems* | mips-*-netbsd* | mips-*-openbsd*)
fmt=elf ;;
mips-*-vxworks*) fmt=elf mips_stabs_elf=y ;;
mmix-*-*) fmt=elf bfd_gas=yes ;;
diff --git a/gas/configure.in b/gas/configure.in
index e0c36cd..c3467d7 100644
--- a/gas/configure.in
+++ b/gas/configure.in
@@ -356,7 +356,7 @@ changequote([,])dnl
mips-*-sysv4*MP* | mips-*-gnu*)
fmt=elf em=tmips ;;
mips-*-sysv*) fmt=ecoff ;;
- mips-*-elf* | mips-*-rtems* | mips-*-openbsd*)
+ mips-*-elf* | mips-*-rtems* | mips-*-netbsd* | mips-*-openbsd*)
fmt=elf ;;
mips-*-vxworks*) fmt=elf mips_stabs_elf=y ;;
mmix-*-*) fmt=elf bfd_gas=yes ;;
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 47abda3..c11f008 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-04 Chris Demetriou <cgd@broadcom.com>
+
+ * gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*.
+ (aout): Don't set if *-*-netbsd*.
+
2001-11-02 NIIBE Yutaka <gniibe@m17n.org>
* gas/sh/basic.exp: For Linux, add "-big" option for the
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index 9fec565..1981271 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -17,9 +17,9 @@ proc run_list_test { name opts } {
if { [istarget mips*-*-*] } then {
set no_mips16 0
- set svr4pic [expr [istarget *-*-elf*] || [istarget *-*-irix5*] || [istarget *-*-irix6* ] || [istarget *-*-linux*] ]
+ set svr4pic [expr [istarget *-*-elf*] || [istarget *-*-irix5*] || [istarget *-*-irix6* ] || [istarget *-*-linux*] || [istarget *-*-netbsd*] ]
set empic [expr [istarget *-*-ecoff*] || [istarget *-*-ultrix*] || [istarget *-*-irix\[1-4\]*] ]
- set aout [expr [istarget *-*-bsd*] || [istarget *-*-netbsd*] || [istarget *-*-openbsd*] ]
+ set aout [expr [istarget *-*-bsd*] || [istarget *-*-openbsd*] ]
set ilocks [istarget mipstx39*-*-*]
set gpr_ilocks [expr [istarget mipstx39*-*-*]]
set addr32 [expr [istarget mipstx39*-*-*]]
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3b5e47e..ecc7577 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-04 Chris Demetriou <cgd@broadcom.com>
+
+ * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*):
+ Add support for targets.
+
2001-11-02 Nick Clifton <nickc@cambridge.redhat.com>
* configure.in (ALL_LINGUAS): Add "fr" and "sv"
diff --git a/ld/configure.tgt b/ld/configure.tgt
index f54064e..63d2fb7 100644
--- a/ld/configure.tgt
+++ b/ld/configure.tgt
@@ -287,7 +287,13 @@ mips*-sgi-irix*) targ_emul=mipsbig ;;
mips*el-*-ecoff*) targ_emul=mipsidtl ;;
mips*-*-ecoff*) targ_emul=mipsidt ;;
mips*-dec-bsd*) targ_emul=mipsbsd ;;
-mips*-dec-netbsd*) targ_emul=elf32lmip ;;
+mips*-dec-netbsd* | mips*el-*-netbsd*)
+ targ_emul=elf32lmip
+ targ_extra_emuls="elf32bmip"
+ ;;
+mips*-*-netbsd*) targ_emul=elf32bmip
+ targ_extra_emuls="elf32lmip"
+ ;;
mips*-*-bsd*) targ_emul=mipsbig ;;
mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;;
mips*vr4300-*-elf*) targ_emul=elf32b4300 ;;