OSDN Git Service

* 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)
commitcf3ef414bb5573a7e12781f00ca52ead0f6eb80d
treed1588bd89ffce536a4bf5cbbf5bd87d3aaba6a19
parent4aeec626266cb465085afd7caff1a0edb6d9ebd1
* 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