This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sh64-elf (SH5) port: directory opcodes


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]