gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / opcodes / cgen-asm.c
index 6c4f66d21100a0f81ad8c766d6fef22fbb1d3809..b1675045d9d1139cb850b54657796f375d05a84d 100644 (file)
@@ -1,5 +1,5 @@
 /* CGEN generic assembler support code.
-   Copyright (C) 1996-2015 Free Software Foundation, Inc.
+   Copyright (C) 1996-2020 Free Software Foundation, Inc.
 
    This file is part of libopcodes.
 
@@ -212,7 +212,7 @@ cgen_parse_keyword (CGEN_CPU_DESC cd ATTRIBUTE_UNUSED,
      character of the suffix ('.') is special.  */
   if (*p)
     ++p;
-  
+
   /* Allow letters, digits, and any special characters.  */
   while (((p - start) < (int) sizeof (buf))
         && *p
@@ -280,7 +280,7 @@ cgen_parse_signed_integer (CGEN_CPU_DESC cd,
          && value > 0
          && (value & 0x80000000)
          && ((value >> 31) == 1))
-       value |= -1 << 31;
+       value |= ((bfd_vma) -1) << 31;
 
       *valuep = value;
     }
This page took 0.025035 seconds and 4 git commands to generate.