From: Nick Hudson Date: Thu, 16 Feb 2006 08:05:02 +0000 (+0000) Subject: bfd: X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=aaa2ab3d61e573f42195e897b8e87acadbcd0c28;p=binutils-gdb.git bfd: * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use traditional MIPS ELF targets. gas: * configure.tgt: set emulation for mips-*-netbsd* ld: * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): Use the traditional target. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index aa919c02b7c..779ed16927c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2006-02-16 Nick Hudson + + * config.bfd (mips*el-*-netbsd*, mips*-*-netbsd*): Use + traditional MIPS ELF targets. + 2006-02-15 H.J. Lu PR binutils/2338 diff --git a/bfd/config.bfd b/bfd/config.bfd index 79d539060d3..2c8b2a473e7 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -827,12 +827,12 @@ case "${targ}" in targ_selvecs=ecoff_little_vec ;; mips*el-*-netbsd*) - targ_defvec=bfd_elf32_littlemips_vec - targ_selvecs="bfd_elf32_bigmips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_little_vec ecoff_big_vec" + targ_defvec=bfd_elf32_tradlittlemips_vec + targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_little_vec ecoff_big_vec" ;; mips*-*-netbsd*) - targ_defvec=bfd_elf32_bigmips_vec - targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec ecoff_big_vec ecoff_little_vec" + targ_defvec=bfd_elf32_tradbigmips_vec + targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec ecoff_big_vec ecoff_little_vec" ;; mips*-dec-* | mips*el-*-ecoff*) targ_defvec=ecoff_little_vec diff --git a/gas/ChangeLog b/gas/ChangeLog index 7b56cef70ab..5f37c072172 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2006-02-16 Nick Hudson + + * configure.tgt: set emulation for mips-*-netbsd* + 2006-02-14 Jakub Jelinek * config.in: Rebuilt. diff --git a/gas/configure.tgt b/gas/configure.tgt index a500a11df8d..6463631c739 100644 --- a/gas/configure.tgt +++ b/gas/configure.tgt @@ -268,7 +268,7 @@ case ${generic_target} in mips-*-sysv4*MP* | mips-*-gnu*) fmt=elf em=tmips ;; mips-*-sysv*) fmt=ecoff ;; mips-*-elf* | mips-*-rtems*) fmt=elf ;; - mips-*-netbsd*) fmt=elf ;; + mips-*-netbsd*) fmt=elf em=tmips ;; mips-*-openbsd*) fmt=elf em=tmips ;; mmix-*-*) fmt=elf ;; diff --git a/ld/ChangeLog b/ld/ChangeLog index db3e9adcbae..6fc0d7b788e 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2006-02-16 Nick Hudson + + * configure.tgt (mips*el-*-netbsd*, mips*-*-netbsd*): + Use the traditional target. + 2006-02-13 Joseph S. Myers * configure.tgt (arm*b-*-linux-gnueabi): Change to diff --git a/ld/configure.tgt b/ld/configure.tgt index fbd37782fc9..d2bc712628c 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -308,10 +308,12 @@ mips*-sgi-irix6*) targ_emul=elf32bmipn32 mips*-sgi-irix*) targ_emul=mipsbig ;; mips*el-*-ecoff*) targ_emul=mipsidtl ;; mips*-*-ecoff*) targ_emul=mipsidt ;; -mips*el-*-netbsd*) targ_emul=elf32lmip - targ_extra_emuls="elf32bmip" ;; -mips*-*-netbsd*) targ_emul=elf32bmip - targ_extra_emuls="elf32lmip" ;; +mips*el-*-netbsd*) targ_emul=elf32ltsmip + targ_extra_emuls="elf32btsmip elf64ltsmip elf64btsmip" + ;; +mips*-*-netbsd*) targ_emul=elf32btsmip + targ_extra_emuls="elf32ltsmip elf64btsmip elf64ltsmip" + ;; mips*-*-bsd*) targ_emul=mipsbig ;; mips*vr4300el-*-elf*) targ_emul=elf32l4300 ;; mips*vr4300-*-elf*) targ_emul=elf32b4300 ;;