* tc-score.c (data_op2): Check invalid operands.
authorNick Clifton <nickc@redhat.com>
Tue, 31 Oct 2006 09:54:41 +0000 (09:54 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 31 Oct 2006 09:54:41 +0000 (09:54 +0000)
commitb138abaa407d017e8e6b7d776577af1fd204ae0e
tree4b846e1dd58d4e4921541133d001233ceccd43ad
parenta39f33461a71ec868be8917625b10bd66ab23eef
* 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.
gas/ChangeLog
gas/config/tc-score.c
include/opcode/ChangeLog
include/opcode/score-inst.h
opcodes/ChangeLog
opcodes/score-dis.c