aboutsummaryrefslogtreecommitdiff
path: root/include/opcode/score-inst.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-10-31 09:54:41 +0000
committerNick Clifton <nickc@redhat.com>2006-10-31 09:54:41 +0000
commitb138abaa407d017e8e6b7d776577af1fd204ae0e (patch)
tree4b846e1dd58d4e4921541133d001233ceccd43ad /include/opcode/score-inst.h
parenta39f33461a71ec868be8917625b10bd66ab23eef (diff)
downloadfsf-binutils-gdb-b138abaa407d017e8e6b7d776577af1fd204ae0e.zip
fsf-binutils-gdb-b138abaa407d017e8e6b7d776577af1fd204ae0e.tar.gz
fsf-binutils-gdb-b138abaa407d017e8e6b7d776577af1fd204ae0e.tar.bz2
* 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.
Diffstat (limited to 'include/opcode/score-inst.h')
-rw-r--r--include/opcode/score-inst.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/opcode/score-inst.h b/include/opcode/score-inst.h
index 56ceca4..e87794f 100644
--- a/include/opcode/score-inst.h
+++ b/include/opcode/score-inst.h
@@ -138,6 +138,7 @@ enum score_insn_type
Insn_Type_SYN,
Insn_GP,
Insn_PIC,
+ Insn_internal,
};
enum score_data_type