diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2001-12-04 12:31:26 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2001-12-04 12:31:26 +0000 |
commit | 96f27b6cb5a30eecba8d58abdb2362711dc23920 (patch) | |
tree | 37172fa3966acec0bfbe891f3a04ec38f6c6fd21 | |
parent | 373efcb30978bae9076679250c37ff070978e813 (diff) | |
download | fsf-binutils-gdb-96f27b6cb5a30eecba8d58abdb2362711dc23920.zip fsf-binutils-gdb-96f27b6cb5a30eecba8d58abdb2362711dc23920.tar.gz fsf-binutils-gdb-96f27b6cb5a30eecba8d58abdb2362711dc23920.tar.bz2 |
* d10v-opc.c (d10v_predefined_registers): Remove warnings
introduced in Nov 29's patch.
-rw-r--r-- | opcodes/ChangeLog | 3 | ||||
-rw-r--r-- | opcodes/d10v-opc.c | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index d6cc231..37b0536 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,8 @@ 2001-12-04 Alexandre Oliva <aoliva@redhat.com> + * d10v-opc.c (d10v_predefined_registers): Remove warnings + introduced in Nov 29's patch. + * d10v-dis.c (print_operand): Apply REGISTER_MASK to `num' of unmatched register. diff --git a/opcodes/d10v-opc.c b/opcodes/d10v-opc.c index d254f00..b2ce10f 100644 --- a/opcodes/d10v-opc.c +++ b/opcodes/d10v-opc.c @@ -69,7 +69,7 @@ const struct pd_reg d10v_predefined_registers[] = { "r13", NULL, OPERAND_GPR+13 }, { "r14", NULL, OPERAND_GPR+14 }, { "r14-r15", NULL, OPERAND_GPR+14 }, - { "r15", "sp", OPERAND_SP|OPERAND_GPR+15 }, + { "r15", "sp", OPERAND_SP|(OPERAND_GPR+15) }, { "r2", NULL, OPERAND_GPR+2 }, { "r2-r3", NULL, OPERAND_GPR+2 }, { "r3", NULL, OPERAND_GPR+3 }, @@ -85,7 +85,7 @@ const struct pd_reg d10v_predefined_registers[] = { "rpt_c", NULL, OPERAND_CONTROL+7 }, { "rpt_e", NULL, OPERAND_CONTROL+9 }, { "rpt_s", NULL, OPERAND_CONTROL+8 }, - { "sp", NULL, OPERAND_SP|OPERAND_GPR+15 }, + { "sp", NULL, OPERAND_SP|(OPERAND_GPR+15) }, }; int |