MIPS/LD/testsuite: mips-elf-flags: Add MIPS ABI Flags handling
[deliverable/binutils-gdb.git] / opcodes / v850-dis.c
index c5383d31357f06e3ad0c675753696c72df887804..4e39a49d2356e3ca2b4e8ae2e8c712037454c38c 100644 (file)
@@ -1,5 +1,5 @@
 /* Disassemble V850 instructions.
-   Copyright (C) 1996-2014 Free Software Foundation, Inc.
+   Copyright (C) 1996-2017 Free Software Foundation, Inc.
 
    This file is part of the GNU opcodes library.
 
@@ -23,7 +23,7 @@
 #include <stdio.h>
 #include <string.h>
 #include "opcode/v850.h"
-#include "dis-asm.h"
+#include "disassemble.h"
 #include "opintl.h"
 
 static const char *const v850_reg_names[] =
@@ -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.023539 seconds and 4 git commands to generate.