From 9fb9af6ef405a449cf46021a32ecf8631025b674 Mon Sep 17 00:00:00 2001 From: Chris Demetriou Date: Sun, 4 Nov 2001 19:06:38 +0000 Subject: [PATCH] [ gas/ChangeLog ] 2001-11-04 Chris Demetriou * configure.in (mips-*-netbsd*): Add support for target. * configure: Regenerate. [ gas/testsuite/ChangeLog ] 2001-11-04 Chris Demetriou * gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*. (aout): Don't set if *-*-netbsd*. [ ld/ChangeLog ] 2001-11-04 Chris Demetriou * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): Add support for targets. --- gas/ChangeLog | 5 +++++ gas/configure | 2 +- gas/configure.in | 2 +- gas/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/mips/mips.exp | 4 ++-- ld/ChangeLog | 5 +++++ ld/configure.tgt | 8 +++++++- 7 files changed, 26 insertions(+), 5 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 625a5cd10dc..f79ce0380b4 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-11-04 Chris Demetriou + + * configure.in (mips-*-netbsd*): Add support for target. + * configure: Regenerate. + 2001-11-02 Nick Clifton * configure.in (ALL_LINGUAS): Add 'fr'. diff --git a/gas/configure b/gas/configure index 0a1a6664cad..8391c62c6ac 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 e0c36cdd3dc..c3467d7761b 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 47abda35621..c11f008084d 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2001-11-04 Chris Demetriou + + * gas/mips/mips.exp (svr4pic): Set if target is *-*-netbsd*. + (aout): Don't set if *-*-netbsd*. + 2001-11-02 NIIBE Yutaka * 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 9fec565e728..198127196e1 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 3b5e47ef60e..ecc7577788d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2001-11-04 Chris Demetriou + + * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): + Add support for targets. + 2001-11-02 Nick Clifton * configure.in (ALL_LINGUAS): Add "fr" and "sv" diff --git a/ld/configure.tgt b/ld/configure.tgt index f54064edb16..63d2fb7fe54 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 ;; -- 2.30.2