Patch H8/300 : Objdump bug for plain H8/300 target
Anil Paranjape
AnilP1@KPITCummins.com
Wed Apr 14 10:58:00 GMT 2004
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
More information about the Binutils
mailing list