aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mn10300.c
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-04-20 22:18:27 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-04-20 22:18:27 +0000
commitaa15f6f7b026e6966aab775a87b417c9903bfeb3 (patch)
tree184dda38ffdcbb6dfd76f7d7a0be032b8ffb36b1 /gas/config/tc-mn10300.c
parent4d85706b80e7cd6f57188f78339e00f44d4da27a (diff)
downloadfsf-binutils-gdb-aa15f6f7b026e6966aab775a87b417c9903bfeb3.zip
fsf-binutils-gdb-aa15f6f7b026e6966aab775a87b417c9903bfeb3.tar.gz
fsf-binutils-gdb-aa15f6f7b026e6966aab775a87b417c9903bfeb3.tar.bz2
* config/tc-mn10300.c (HAVE_AM30): Define.
(md_assemble): Use it.
Diffstat (limited to 'gas/config/tc-mn10300.c')
-rw-r--r--gas/config/tc-mn10300.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-mn10300.c b/gas/config/tc-mn10300.c
index ae1ea16..3514f9f 100644
--- a/gas/config/tc-mn10300.c
+++ b/gas/config/tc-mn10300.c
@@ -125,6 +125,7 @@ const pseudo_typeS md_pseudo_table[] =
};
#define HAVE_AM33 (current_machine == AM33)
+#define HAVE_AM30 (current_machine == AM30)
/* Opcode hash table. */
static struct hash_control *mn10300_hash;
@@ -944,7 +945,8 @@ md_assemble (str)
/* If the instruction is not available on the current machine
then it can not possibly match. */
if (opcode->machine
- && !(opcode->machine == AM33 && HAVE_AM33))
+ && !(opcode->machine == AM33 && HAVE_AM33)
+ && !(opcode->machine == AM30 && HAVE_AM30))
goto error;
for (op_idx = 1, opindex_ptr = opcode->operands;