From 4008bd9b57091ce8b7b90683d44edd781649e1cb Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Fri, 14 Sep 2001 06:22:46 +0000 Subject: [PATCH] /bfd/ChangeLog * config.bfd: Change machine triplets from mips*el*-* to mips*el-*. Add support for mips64. /ChangeLog * config.sub: Change machine triplets from mipsel*-* to mips*el-*. Add support for mips64. /gas/ChangeLog * configure.in: Change machine triplets from mips-*-linux-gnu* to mips*-*-linux*. --- ChangeLog | 5 +++++ bfd/ChangeLog | 5 +++++ bfd/config.bfd | 22 +++++++++++++++------- config.sub | 10 +++++++++- gas/ChangeLog | 5 +++++ gas/configure.in | 4 ++-- 6 files changed, 41 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1d95b87d301..ef32ba25f29 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-09-14 Thiemo Seufer + + * config.sub: Change machine triplets from mipsel*-* to mips*el-*. + Add support for mips64. + 2001-09-03 Jeff Holcomb * configure.in: Enable libstdc++-v3 for h8300 targets. diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fe7f218fccb..93546b2b1ec 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2001-09-14 Thiemo Seufer + + * config.bfd: Change machine triplets from mips*el*-* to mips*el-*. + Add support for mips64. + 2001-09-13 Alexandre Oliva * elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD. diff --git a/bfd/config.bfd b/bfd/config.bfd index 01a2ed296b3..934d97b9d24 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -613,7 +613,7 @@ case "${targ}" in targ_defvec=ecoff_big_vec targ_selvecs=ecoff_little_vec ;; - mips-dec-netbsd* | mips*el*-*-netbsd*) + mips-dec-netbsd* | mips*el-*-netbsd*) targ_defvec=bfd_elf32_littlemips_vec targ_selvecs="bfd_elf32_bigmips_vec ecoff_little_vec ecoff_big_vec" ;; @@ -682,19 +682,27 @@ case "${targ}" in targ_defvec=bfd_elf32_bigmips_vec targ_selvecs="bfd_elf32_littlemips_vec bfd_elf64_bigmips_vec bfd_elf64_littlemips_vec" ;; - mips*el*-*-openbsd*) + mips*el-*-openbsd*) 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" ;; - mips*el*-*-linux-gnu*) - targ_defvec=bfd_elf32_tradlittlemips_vec - targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec ecoff_little_vec ecoff_big_vec" - ;; mips*-*-openbsd*) 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" ;; - mips*-*-linux-gnu*) + mips64*el-*-linux*) + targ_defvec=bfd_elf32_tradlittlemips_vec + targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec" + ;; + mips*el-*-linux*) + targ_defvec=bfd_elf32_tradlittlemips_vec + targ_selvecs="bfd_elf32_tradbigmips_vec bfd_elf64_tradlittlemips_vec bfd_elf64_tradbigmips_vec ecoff_little_vec ecoff_big_vec" + ;; + mips64*-*-linux*) + targ_defvec=bfd_elf32_tradbigmips_vec + targ_selvecs="bfd_elf32_tradlittlemips_vec bfd_elf64_tradbigmips_vec bfd_elf64_tradlittlemips_vec" + ;; + mips*-*-linux*) 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" ;; diff --git a/config.sub b/config.sub index 15e4417a6f0..f343888bd3d 100755 --- a/config.sub +++ b/config.sub @@ -597,10 +597,18 @@ case $basic_machine in basic_machine=m68k-atari os=-mint ;; - mipsel*-linux*) + mips64*el-linux*) + basic_machine=mips64el-unknown + os=-linux-gnu + ;; + mips*el-linux*) basic_machine=mipsel-unknown os=-linux-gnu ;; + mips64*-linux*) + basic_machine=mips64-unknown + os=-linux-gnu + ;; mips*-linux*) basic_machine=mips-unknown os=-linux-gnu diff --git a/gas/ChangeLog b/gas/ChangeLog index 272fa009026..a62036f4b49 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-09-14 Thiemo Seufer + + * configure.in: Change machine triplets from mips-*-linux-gnu* to + mips*-*-linux*. + 2001-09-12 Thiemo Seufer * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL. diff --git a/gas/configure.in b/gas/configure.in index 9191e11da0a..d812d7b3511 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -350,7 +350,7 @@ changequote([,])dnl mips-*-irix*) fmt=ecoff ;; mips-*-lnews*) fmt=ecoff em=lnews ;; mips-*-riscos*) fmt=ecoff ;; - mips-*-linux-gnu*) + mips*-*-linux*) fmt=elf em=tmips AC_DEFINE(MIPS_STABS_ELF, 1, [Use ELF stabs for MIPS, not ECOFF stabs]) @@ -610,7 +610,7 @@ changequote([,])dnl 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 ;; -- 2.30.2