d10v: don't silently turn @-r# into @-sp

Nick Clifton nickc@cambridge.redhat.com
Thu Nov 29 09:50:00 GMT 2001
Hi Alexandre,

> Index: include/opcode/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>
> 
> 	* d10v.h (OPERAND_SP): New macro.

> Index: opcodes/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>
> 
> 	* d10v-opc.c (d10v_predefined_registers): Mark `sp' as OPERAND_SP.
> 	(RSRC_SP): New macro.
> 	(d10v_operands): Add it.
> 	(d10v_opcodes): Adjust "st" and "st2w" to use RSRC_SP.
> 
> Index: gas/ChangeLog
> from  Alexandre Oliva  <aoliva@redhat.com>
> 
> 	* config/tc-d10v.c (find_opcode): Reject non-SP operand if
> 	flags requires SP.
> 

Approved - please apply.

Cheers
        Nick



More information about the Binutils mailing list