public inbox for binutils-cvs@sourceware.org
 help / color / mirror / Atom feed
From: Maciej W. Rozycki <macro@sourceware.org>
To: bfd-cvs@sourceware.org
Subject: [binutils-gdb] Revert "MIPS: default r6 if vendor is img"
Date: Thu, 15 Jun 2023 03:48:58 +0000 (GMT)	[thread overview]
Message-ID: <20230615034858.5111E385828E@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dbad690493235b523cef23e938ff79916ab00c89

commit dbad690493235b523cef23e938ff79916ab00c89
Author: Maciej W. Rozycki <macro@orcam.me.uk>
Date:   Thu Jun 15 04:45:03 2023 +0100

    Revert "MIPS: default r6 if vendor is img"
    
    This reverts commit be0d391f22fe6009c3be907753975a984cbbcc23.  It was
    applied unapproved.

Diff:
---
 bfd/config.bfd   | 2 +-
 gas/configure    | 8 +-------
 gas/configure.ac | 8 +-------
 3 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/bfd/config.bfd b/bfd/config.bfd
index 78752994456..954837033c8 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1537,7 +1537,7 @@ case "${targ_defvec} ${targ_selvecs}" in
 esac
 
 case "${targ}" in
-  mipsisa32r6* | mipsisa64r6* | mips*-img-*)
+  mipsisa32r6* | mipsisa64r6*)
     targ_cflags="$targ_cflags -DMIPS_DEFAULT_R6=1"
     ;;
 esac
diff --git a/gas/configure b/gas/configure
index 580022d858d..868f4a911a9 100755
--- a/gas/configure
+++ b/gas/configure
@@ -12211,12 +12211,6 @@ _ACEOF
 	    use_e_mips_abi_o32=1
 	    ;;
 	esac
-	# If Vendor is IMG, then MIPSr6 is used
-	case ${target} in
-	  mips*-img-*)
-	    mips_cpu=mips32r6
-	    ;;
-	esac
 	# Decide whether to generate 32-bit or 64-bit code by default.
 	# Used to resolve -march=from-abi when an embedded ABI is selected.
 	case ${target} in
@@ -12236,7 +12230,7 @@ _ACEOF
 	  | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*)
 	    mips_default_abi=N32_ABI
 	    ;;
-	  mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu | mips*-img-elf)
+	  mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu)
 	    mips_default_abi=O32_ABI
 	    ;;
 	  mips64*-openbsd*)
diff --git a/gas/configure.ac b/gas/configure.ac
index c1571a49fbb..03728ffce4d 100644
--- a/gas/configure.ac
+++ b/gas/configure.ac
@@ -380,12 +380,6 @@ changequote([,])dnl
 	    use_e_mips_abi_o32=1
 	    ;;
 	esac
-	# If Vendor is IMG, then MIPSr6 is used
-	case ${target} in
-	  mips*-img-*)
-	    mips_cpu=mips32r6
-	    ;;
-	esac
 	# Decide whether to generate 32-bit or 64-bit code by default.
 	# Used to resolve -march=from-abi when an embedded ABI is selected.
 	case ${target} in
@@ -405,7 +399,7 @@ changequote([,])dnl
 	  | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*)
 	    mips_default_abi=N32_ABI
 	    ;;
-	  mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu | mips*-img-elf)
+	  mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu)
 	    mips_default_abi=O32_ABI
 	    ;;
 	  mips64*-openbsd*)

                 reply	other threads:[~2023-06-15  3:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230615034858.5111E385828E@sourceware.org \
    --to=macro@sourceware.org \
    --cc=bfd-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).