diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2002-02-10 20:40:56 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2002-02-10 20:40:56 +0000 |
commit | ca0f2ed6f80ad2dc3c4bdf9a9fc5a0044ed4026c (patch) | |
tree | cfae603140756a9f2e8edb7bf4b9ad881600f7f5 /opcodes/configure.in | |
parent | e58ee0cdf866df75f9049faad4c67b83c7b4a4a0 (diff) | |
download | gdb-ca0f2ed6f80ad2dc3c4bdf9a9fc5a0044ed4026c.zip gdb-ca0f2ed6f80ad2dc3c4bdf9a9fc5a0044ed4026c.tar.gz gdb-ca0f2ed6f80ad2dc3c4bdf9a9fc5a0044ed4026c.tar.bz2 |
* 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.
Diffstat (limited to 'opcodes/configure.in')
-rw-r--r-- | opcodes/configure.in | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/opcodes/configure.in b/opcodes/configure.in index 587422b..ee15b8a 100644 --- a/opcodes/configure.in +++ b/opcodes/configure.in @@ -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) ;; |