[PATCH] Fix Score bugs, please review it.

Nick Clifton nickc@redhat.com
Tue Oct 31 14:05:00 GMT 2006


Hi Ligang,

> 1. Emit error message if const operand is invalid.
> 
>    gas/config/
>    * tc-score.c (data_op2): Check invalid operands.
>    (my_get_expression): Const operand of some instructions can not be
>    symbol in assembly.
>    (get_insn_class_from_type): Handle instruction type Insn_internal.
>    (do_macro_ldst_label): Modify inst.type.
>    (Insn_PIC): Delete.
>  
>    include/opcode/
>    * score-inst.h (enum score_insn_type): Add Insn_internal.
>  
> 2. Fix error message of simm15 outof range.
> 
>    gas/config/
>    * tc-score.c (data_op2): The immediate value in lw is 15 bit signed.
> 
> 3. Correct PCE instruction disassembly.
> 
>    opcodes/
>    * score-dis.c (print_insn): Correct the error code to print correct
>    PCE instruction disassembly.

Approved and applied.  (Sorry about the delay).

Cheers
   Nick



More information about the Binutils mailing list