Module Name:    src
Committed By:   rin
Date:           Mon Aug 28 02:34:00 UTC 2023

Modified Files:
        src/external/gpl3/binutils/dist/opcodes: configure

Log Message:
binutils: Drop now-unnecessary NetBSD/sh3 workaround v.s. sh5

This was intended to avoid misconfiguration as sh5, but sh5
support itself was already gone. No functional changes.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/external/gpl3/binutils/dist/opcodes/configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/binutils/dist/opcodes/configure
diff -u src/external/gpl3/binutils/dist/opcodes/configure:1.14 src/external/gpl3/binutils/dist/opcodes/configure:1.15
--- src/external/gpl3/binutils/dist/opcodes/configure:1.14	Sun Jan 15 23:10:53 2023
+++ src/external/gpl3/binutils/dist/opcodes/configure	Mon Aug 28 02:34:00 2023
@@ -12559,29 +12559,7 @@ if test x${all_targets} = xfalse ; then
 	bfd_rx_arch)		ta="$ta rx-dis.lo rx-decode.lo";;
 	bfd_s390_arch)		ta="$ta s390-dis.lo s390-opc.lo" ;;
 	bfd_score_arch)		ta="$ta score-dis.lo score7-dis.lo" ;;
-	bfd_sh_arch)
-	  # We can't decide what we want just from the CPU family.
-	  # We want SH5 support unless a specific version of sh is
-	  # specified, as in sh3-elf, sh3b-linux-gnu, etc.
-	  # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
-	  for t in $target $canon_targets; do
-	    # For NetBSD we do NOT want SH5 support unless sh5 or sh64
-	    # is specified
-	    case $t in
-	      sh5*-* | sh64*-*) # let the case below handle it
-				;;
-	      sh*-*-netbsd* | sh*l*-*-netbsd*)
-				continue ;;
-	      esac
-	    case $t in
-	      all |  sh5*-* | sh64*-* | sh-*-*elf* | shl*-*-*elf* | \
-	      sh-*-linux* | shl-*-linux*)
-				ta="$ta sh64-dis.lo sh64-opc.lo"
-				archdefs="$archdefs -DINCLUDE_SHMEDIA"
-				break;;
-	    esac;
-	  done
-				ta="$ta sh-dis.lo cgen-bitset.lo" ;;
+	bfd_sh_arch)		ta="$ta sh-dis.lo cgen-bitset.lo" ;;
 	bfd_sparc_arch)		ta="$ta sparc-dis.lo sparc-opc.lo" ;;
 	bfd_spu_arch)		ta="$ta spu-dis.lo spu-opc.lo" ;;
 	bfd_tic30_arch)		ta="$ta tic30-dis.lo" ;;

Reply via email to