]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* configure.in <bfd_sh_arc>: For sh-* and shl-*, enable sh64
authorAlexandre Oliva <aoliva@redhat.com>
Wed, 13 Feb 2002 20:45:29 +0000 (20:45 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Wed, 13 Feb 2002 20:45:29 +0000 (20:45 +0000)
support only for sh-*-*elf*, shl-*-*elf*, sh-*-linux* and
shl-*-linux*.
* configure: Regenerate.

opcodes/ChangeLog
opcodes/configure
opcodes/configure.in

index 16c3ad8bde20bd66c6de7a2b487b8cbc01917b53..001845b94f1880b3f2d827ef0a13bacf5831d54d 100644 (file)
@@ -1,3 +1,10 @@
+2002-02-13  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * configure.in <bfd_sh_arc>: For sh-* and shl-*, enable sh64
+       support only for sh-*-*elf*, shl-*-*elf*, sh-*-linux* and
+       shl-*-linux*.
+       * configure: Regenerate.
+
 2002-02-11  Alexandre Oliva  <aoliva@redhat.com>
 
        * sparc-dis.c (print_insn_sparc): Make sure 0xFFFFFFFF is not
index 892ffa39b0d4b2cfab424f3875b1a5b98b6b6133..2b100366f8c8398fe7e42e3d61effe248031595a 100755 (executable)
@@ -4621,11 +4621,15 @@ if test x${all_targets} = xfalse ; then
          # 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.
-         case " $target $canon_targets " in
-            *" all "* | *" sh64-"* | *" sh-"* | *" shl-"*)
+         # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
+         for t in $target $canon_targets; do
+           case $t in
+             all |  sh64-* | sh-*-*elf* | shl-*-*elf* | sh-*-linux* | shl-*-linux*)
                                ta="$ta sh64-dis.lo sh64-opc.lo"
-                               archdefs="$archdefs -DINCLUDE_SHMEDIA";;
-         esac;
+                               archdefs="$archdefs -DINCLUDE_SHMEDIA"
+                               break;;
+           esac;
+         done
                                ta="$ta sh-dis.lo" ;;
        bfd_sparc_arch)         ta="$ta sparc-dis.lo sparc-opc.lo" ;;
        bfd_tahoe_arch)         ;;
index 587422b6d98ace68b99736d1268118ab1a928a35..ee15b8a4718c9f5a0255e6f51255ddbbc13acf62 100644 (file)
@@ -212,11 +212,15 @@ if test x${all_targets} = xfalse ; then
          # 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.
-         case " $target $canon_targets " in
-            *" all "* | *" sh64-"* | *" sh-"* | *" shl-"*)
+         # Include it just for ELF targets, since the SH5 bfd:s are ELF only.
+         for t in $target $canon_targets; do
+           case $t in
+             all |  sh64-* | sh-*-*elf* | shl-*-*elf* | sh-*-linux* | shl-*-linux*)
                                ta="$ta sh64-dis.lo sh64-opc.lo"
-                               archdefs="$archdefs -DINCLUDE_SHMEDIA";;
-         esac;
+                               archdefs="$archdefs -DINCLUDE_SHMEDIA"
+                               break;;
+           esac;
+         done
                                ta="$ta sh-dis.lo" ;;
        bfd_sparc_arch)         ta="$ta sparc-dis.lo sparc-opc.lo" ;;
        bfd_tahoe_arch)         ;;