diff options
author | Nick Clifton <nickc@redhat.com> | 2006-03-05 08:38:53 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2006-03-05 08:38:53 +0000 |
commit | 680fddafddc666add1b676992069b595e1c92afb (patch) | |
tree | 49f376478d4bedd93a8c012b638a4986ca1255ca /opcodes/iq2000-asm.c | |
parent | 2f2771534923bf0a9670099fbb03b5c42b3dae06 (diff) | |
download | gdb-680fddafddc666add1b676992069b595e1c92afb.tar.gz |
* cgen-ibld.in (insert_normal): Cope with attempts to insert a signed 32-bit
value into an unsigned 32-bit field when the host is a 64-bit machine.
Diffstat (limited to 'opcodes/iq2000-asm.c')
-rw-r--r-- | opcodes/iq2000-asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/iq2000-asm.c b/opcodes/iq2000-asm.c index 0ec59ce3243..92590867d14 100644 --- a/opcodes/iq2000-asm.c +++ b/opcodes/iq2000-asm.c @@ -213,8 +213,8 @@ parse_hi16 (CGEN_CPU_DESC cd, 1 to the resultant %hi value. */ if (value & 0x8000) value += 0x10000; - value &= 0xffff; value >>= 16; + value &= 0xffff; } *valuep = value; |