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: [PATCH] objdump target msp430


Hi Albert,

> *** binutils-031223/opcodes/msp430-dis.c.org Mon Dec 30 20:25:14 2002
> --- binutils-031223/opcodes/msp430-dis.c Tue Dec 23 12:52:14 2003
> ***************
> *** 490,496 ****
> --- 490,499 ----
>      else if (regd == 2)
>        {
>          /* Absolute.  */
> +        short src;
> +        src = msp430dis_opcode (addr + 4, info);
>          dst = msp430dis_opcode (addr + 2, info);
> +        if (src != dst) return 0;
>          cmd_len += 4;
>          *cycles = 6;
>          sprintf (op1, "&0x%04x", PS (dst));

Thanks for submitting this patch.  I have applied it, along with a
small patch to the msp430 gas testsuite, to make sure that the bug
does not reappear.

Cheers
        Nick

opcodes/ChangeLog
2004-01-02  Albert Bartoszko  <albar@nt.kegel.com.pl>

	* msp430-dis.c (msp430_doubleoperand): Check for an 'add'
	instruction which looks similar to an 'rla' instruction.

gas/testsuite/ChangeLog
2004-01-02  Albert Bartoszko  <albar@nt.kegel.com.pl>

	* gas/msp430/opcode.s: Add test for an 'add' instruction which
	looks similar to an 'rla' instruction.

        


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