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 | dc6dc3e95504f2721827c4b2a71c17fdaecaa722 (patch) | |
tree | 2a4f4157fe03df153926f1cf5e517633bf9af622 | |
parent | 56927faaaa38f82ff0022b0b687780633f3d59f1 (diff) | |
download | gdb-dc6dc3e95504f2721827c4b2a71c17fdaecaa722.tar.gz |
* 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 d6cc2319fcd..37b05361a4b 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 d254f0008e2..b2ce10f6163 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 |