aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-08-13 08:14:02 +0000
committerNick Clifton <nickc@redhat.com>2004-08-13 08:14:02 +0000
commit45d313cd663bc128c86a5208ddb46eef7f7725e5 (patch)
treef4cdc9f4316710bc254c180343ea90e025ae539f
parentd003868ea7bfa700dd91cbb6198b75f341a456e7 (diff)
downloadgdb-45d313cd663bc128c86a5208ddb46eef7f7725e5.zip
gdb-45d313cd663bc128c86a5208ddb46eef7f7725e5.tar.gz
gdb-45d313cd663bc128c86a5208ddb46eef7f7725e5.tar.bz2
O_JSR): Do not allow VECIND addressing for non-SX processors.
-rw-r--r--include/opcode/ChangeLog6
-rw-r--r--include/opcode/h8300.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 684a2e7..b8ca486 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,9 @@
+2004-08-13 Nick Clifton <nickc@redhat.com>
+
+ PR/301
+ * h8300.h (O_JSR): Do not allow VECIND addressing for non-SX
+ processors.
+
2004-08-30 Michal Ludvig <mludvig@suse.cz>
* i386.h (i386_optab): Added montmul/xsha1/xsha256 insns.
diff --git a/include/opcode/h8300.h b/include/opcode/h8300.h
index 29374df..fe1097f 100644
--- a/include/opcode/h8300.h
+++ b/include/opcode/h8300.h
@@ -1418,7 +1418,7 @@ struct h8_opcode h8_opcodes[] =
{O (O_JSR, SN), AV_H8SX, 0, "jsr", {{ABSJMP | L_32, E}}, {{0x5, 0xD, 0x0, 0x8, ABSJMP | L_32, DATA7, E}}},
{O (O_JSR, SN), AV_H8, 8, "jsr", {{MEMIND, E}}, {{0x5, 0xF, SRC | MEMIND, DATA, E}}},
- {O (O_JSR, SN), AV_H8, 8, "jsr", {{VECIND, E}}, {{0x5, 0xD, SRC | VECIND, DATA, E}}},
+ {O (O_JSR, SN), AV_H8SX, 8, "jsr", {{VECIND, E}}, {{0x5, 0xD, SRC | VECIND, DATA, E}}},
{O (O_LDC, SB), AV_H8, 2, "ldc", {{IMM8, CCR | DST, E}}, {{ 0x0, 0x7, IMM8LIST, E}}},
{O (O_LDC, SB), AV_H8S, 2, "ldc", {{IMM8, EXR | DST, E}}, {{0x0, 0x1, 0x4, EXR | DST, 0x0, 0x7, IMM8LIST, E}}},