diff options
author | Jan Beulich <jbeulich@suse.com> | 2019-12-23 11:53:10 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2019-12-23 11:53:10 +0100 |
commit | 0e62b37a3f4a72f7b7ff5bae280017e0529aa1ec (patch) | |
tree | 9cbbed0dfe0c1d03b01a08115d4b9de86795e323 /opcodes/ppc-opc.c | |
parent | 2c0e48e5b797de474ef2e19f4146349065833138 (diff) | |
download | gdb-0e62b37a3f4a72f7b7ff5bae280017e0529aa1ec.zip gdb-0e62b37a3f4a72f7b7ff5bae280017e0529aa1ec.tar.gz gdb-0e62b37a3f4a72f7b7ff5bae280017e0529aa1ec.tar.bz2 |
ppc: misc minor build corrections
Avoid shadowing a libiberty symbol (which oldish gcc warns about by
default), and allow building cleanly on 32-bit distros.
Diffstat (limited to 'opcodes/ppc-opc.c')
-rw-r--r-- | opcodes/ppc-opc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index 403c9da..8dbe7b6 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -2147,17 +2147,17 @@ const struct powerpc_operand powerpc_operands[] = off a register, and implies that the next operand is a register in parentheses. */ #define D34 DS + 1 - { 0x3ffffffff, PPC_OPSHIFT_INV, insert_d34, extract_d34, + { UINT64_C(0x3ffffffff), PPC_OPSHIFT_INV, insert_d34, extract_d34, PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED }, /* The SI field in an 8-byte D form prefix instruction. */ #define SI34 D34 + 1 - { 0x3ffffffff, PPC_OPSHIFT_INV, insert_d34, extract_d34, PPC_OPERAND_SIGNED }, + { UINT64_C(0x3ffffffff), PPC_OPSHIFT_INV, insert_d34, extract_d34, PPC_OPERAND_SIGNED }, /* The NSI field in an 8-byte D form prefix instruction. This is the same as the SI34 field, only negated. */ #define NSI34 SI34 + 1 - { 0x3ffffffff, PPC_OPSHIFT_INV, insert_nsi34, extract_nsi34, + { UINT64_C(0x3ffffffff), PPC_OPSHIFT_INV, insert_nsi34, extract_nsi34, PPC_OPERAND_NEGATIVE | PPC_OPERAND_SIGNED }, /* The DUIS or BHRBE fields in a XFX form instruction, 10 bits |