Module Name: src
Committed By: joerg
Date: Fri Jan 15 00:18:19 UTC 2016
Modified Files:
src/external/gpl3/gdb/dist/include/opcode: ppc.h
Log Message:
Left shift of negative values is UB, just write the constant out.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.3 -r1.2 src/external/gpl3/gdb/dist/include/opcode/ppc.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/include/opcode/ppc.h
diff -u src/external/gpl3/gdb/dist/include/opcode/ppc.h:1.1.1.3 src/external/gpl3/gdb/dist/include/opcode/ppc.h:1.2
--- src/external/gpl3/gdb/dist/include/opcode/ppc.h:1.1.1.3 Sat Aug 15 10:25:28 2015
+++ src/external/gpl3/gdb/dist/include/opcode/ppc.h Fri Jan 15 00:18:19 2016
@@ -277,7 +277,7 @@ extern const unsigned int num_powerpc_op
/* Use with the shift field of a struct powerpc_operand to indicate
that BITM and SHIFT cannot be used to determine where the operand
goes in the insn. */
-#define PPC_OPSHIFT_INV (-1 << 31)
+#define PPC_OPSHIFT_INV (-0x80000000)
/* Values defined for the flags field of a struct powerpc_operand. */