This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
RE: Patch H8/300 : Objdump bug for plain H8/300 target
- From: "Anil Paranjape" <AnilP1 at KPITCummins dot com>
- To: "Nick Clifton" <nickc at redhat dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: Wed, 14 Apr 2004 15:22:48 +0530
- Subject: RE: Patch H8/300 : Objdump bug for plain H8/300 target
Hi Nick,
Thank you for your patch.
Though the patch sent by you works well in case of plain H8/300 but it is failing in case of other H8 targets.
Error message displayed is like following,
"destination operand must be 16 bit register"
The patch which I sent works for all targets.
Regards,
Anil Paranjpe
-----Original Message-----
From: Nick Clifton [mailto:nickc@redhat.com]
Sent: Tuesday, April 13, 2004 9:49 PM
To: Anil Paranjape
Cc: binutils@sources.redhat.com
Subject: Re: Patch H8/300 : Objdump bug for plain H8/300 target
Hi Anil,
>ChangeLog
>2004-06-04 Anil Paranjpe <anilp1@kpitcummins.com>
> opcodes/h8300-dis.c (bfd_h8_disassemble) : Treat "adds" & "subs" separately.
>
That patch does work, but it is a bit heavy handed. Please could you
try out this alternative patch which just alters the settings in the
h8300.h header file so that the "adds" and "subs" instructions are
displayed using the non-extended registers. If it works for you, please
let me know and I will apply it.
Cheers
Nick