* 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.
* score-inst.h (enum score_insn_type): Add Insn_internal.
* tc-score.c (data_op2): The immediate value in lw is 15 bit signed.
* score-dis.c (print_insn): Correct the error code to print correct PCE instruction disassembly.
This commit is contained in:
Nick Clifton
2006-10-31 09:54:41 +00:00
parent 44afc8c45e
commit a6c48c3850
2 changed files with 615 additions and 0 deletions

View File

@ -138,6 +138,7 @@ enum score_insn_type
Insn_Type_SYN,
Insn_GP,
Insn_PIC,
Insn_internal,
};
enum score_data_type