Make the assembler generate an error if there is an attempt to define a section with...
[deliverable/binutils-gdb.git] / opcodes / cgen-asm.c
index f4f81d76ab3674a986403cca8865904805557213..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.
 
@@ -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.02639 seconds and 4 git commands to generate.