summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFredrik Noring <noring@nocrew.org>2021-01-07 14:44:27 +0000
committerNick Clifton <nickc@redhat.com>2021-01-07 14:45:10 +0000
commit3b288c8e2ed3518c7f4ecd6c73ef1c6dd7469cd1 (patch)
tree72d3908c1db7b44bc112260388ddabd655836ee6
parent959d6a673ea5f5d3f057165318cee8cea07fd5fc (diff)
downloadbinutils-gdb-3b288c8e2ed3518c7f4ecd6c73ef1c6dd7469cd1.tar.gz
m68k: Require m68020up rather than m68000up for CHK.L instruction.
* m68k-opc.c (chkl): Change minimum architecture requirement to m68020.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/m68k-opc.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 2add0e75d05..87dbc4dfe53 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2021-01-07 Fredrik Noring <noring@nocrew.org>
+
+ * m68k-opc.c (chkl): Change minimum architecture requirement to
+ m68020.
+
2021-01-07 Philipp Tomsich <prt@gnu.org>
* riscv-opc.c (riscv_opcodes): Add pause hint instruction.
diff --git a/opcodes/m68k-opc.c b/opcodes/m68k-opc.c
index b3c73d98a16..f9af1cf0a5d 100644
--- a/opcodes/m68k-opc.c
+++ b/opcodes/m68k-opc.c
@@ -235,7 +235,7 @@ const struct m68k_opcode m68k_opcodes[] =
{"chk2w", 4, two(0001300,0004000), two(0177700,07777), "!sR1", m68020up | cpu32 | fido_a },
{"chk2l", 4, two(0002300,0004000), two(0177700,07777), "!sR1", m68020up | cpu32 | fido_a },
-{"chkl", 2, one(0040400), one(0170700), ";lDd", m68000up },
+{"chkl", 2, one(0040400), one(0170700), ";lDd", m68020up },
{"chkw", 2, one(0040600), one(0170700), ";wDd", m68000up },
#define SCOPE_LINE (0x1 << 3)