This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: sh64-elf (SH5) port: directory opcodes
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: Hans-Peter Nilsson <hp at bitrange dot com>
- Cc: Andrew Cagney <ac131313 at cygnus dot com>, <binutils at sources dot redhat dot com>
- Date: 08 Feb 2002 23:58:40 -0200
- Subject: Re: sh64-elf (SH5) port: directory opcodes
- Organization: GCC Team, Red Hat
- References: <Pine.BSF.4.30.0202082014130.90560-100000@dair.pair.com>
On Feb 8, 2002, Hans-Peter Nilsson <hp@bitrange.com> wrote:
> On Fri, 8 Feb 2002, Andrew Cagney wrote:
>> > On 5 Feb 2002, Alexandre Oliva wrote:
>> > Maybe let sh-elf imply bfd+opcodes for sh[1-5] and leave
>> > sh[1-4][hl]* the way it is?
>> > (Including opcodes but not bfd seems useless. You can't get a
>> > sh5 bfd, so you can't (without tricks) invoke the disassembler
>> > AFAICT.)
>> By default having all of them is significantly better (I think). It
>> would also better integrate into GDB.
> Is that an agreement to keep it in "sh" and keeping it out of
> sh[1-4]{le,be} ?
How's this? Ok to install? If I don't read objections, I'll check it
in soon.
Index: opcodes/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* configure.in <bfd_sh_arc>: Enable sh64 support on sh-*.
* configure: Rebuilt.
Index: opcodes/configure.in
===================================================================
RCS file: /cvs/src/src/opcodes/configure.in,v
retrieving revision 1.30
diff -u -p -r1.30 configure.in
--- opcodes/configure.in 2002/02/08 05:51:03 1.30
+++ opcodes/configure.in 2002/02/09 01:45:50
@@ -210,8 +210,10 @@ if test x${all_targets} = xfalse ; then
bfd_s390_arch) ta="$ta s390-dis.lo s390-opc.lo" ;;
bfd_sh_arch)
# We can't decide what we want just from the CPU family.
+ # We want SH5 support in sh64-elf and sh-*, but not in
+ # say sh3eb-linux-gnu.
case " $target $canon_targets " in
- *" all "* | *" sh64-"* )
+ *" all "* | *" sh64-"* | *" sh-"* | *" shl-"*)
ta="$ta sh64-dis.lo sh64-opc.lo"
archdefs="$archdefs -DINCLUDE_SHMEDIA";;
esac;
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer