+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
# 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) ;;
# 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) ;;