[AArch64] Reject invalid immediate operands to MSR UAO
[deliverable/binutils-gdb.git] / opcodes / v850-dis.c
index c5383d31357f06e3ad0c675753696c72df887804..c5cb7accbf77b4a48cb205780afe4a69b850b174 100644 (file)
@@ -1,5 +1,5 @@
 /* Disassemble V850 instructions.
-   Copyright (C) 1996-2014 Free Software Foundation, Inc.
+   Copyright (C) 1996-2016 Free Software Foundation, Inc.
 
    This file is part of the GNU opcodes library.
 
@@ -152,7 +152,7 @@ get_operand_value (const struct v850_operand *operand,
          if (operand->flags & V850E_IMMEDIATE16HI)
            value <<= 16;
          else if (value & 0x8000)
-           value |= (-1L << 16);
+           value |= (-1UL << 16);
 
          return value;
        }
This page took 0.024527 seconds and 4 git commands to generate.