diff options
author | Nick Clifton <nickc@redhat.com> | 2002-08-16 07:01:47 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-08-16 07:01:47 +0000 |
commit | 50b15da2e578a2ba497e13bf6959a177eb6d8c32 (patch) | |
tree | 90109c437716678ea1d10dd7645cb6eee5d7c32c /gas/config/tc-v850.c | |
parent | 102182a951bbe9d4403483400c91ff4757c7bf86 (diff) | |
download | gdb-50b15da2e578a2ba497e13bf6959a177eb6d8c32.zip gdb-50b15da2e578a2ba497e13bf6959a177eb6d8c32.tar.gz gdb-50b15da2e578a2ba497e13bf6959a177eb6d8c32.tar.bz2 |
Fix assembly of "callt 0x3f"
Diffstat (limited to 'gas/config/tc-v850.c')
-rw-r--r-- | gas/config/tc-v850.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index eaadaaf..480f4fc 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -1952,13 +1952,13 @@ md_assemble (str) { expression (&ex); /* Special case: - If we are assembling a MOV instruction (or a CALLT.... :-) - and the immediate value does not fit into the bits - available then create a fake error so that the next MOV - instruction will be selected. This one has a 32 bit - immediate field. */ + If we are assembling a MOV instruction and the immediate + value does not fit into the bits available then create a + fake error so that the next MOV instruction will be + selected. This one has a 32 bit immediate field. */ if (((insn & 0x07e0) == 0x0200) + && operand->bits == 5 /* Do not match the CALLT instruction. */ && ex.X_op == O_constant && (ex.X_add_number < (-(1 << (operand->bits - 1))) || ex.X_add_number > ((1 << (operand->bits - 1)) - 1))) |