diff options
author | Alan Modra <amodra@gmail.com> | 2018-12-28 09:31:42 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-12-28 15:02:04 +1030 |
commit | d1a3c973fa1c0d7eead585e82e02db11daeb36cf (patch) | |
tree | 4a9522687e2fc7283bc82b273b3ed136698c4c69 /include/opcode/ppc.h | |
parent | b6d3efdc59c84f418e2d7e1a1dfbc5ff33f44ae5 (diff) | |
download | gdb-d1a3c973fa1c0d7eead585e82e02db11daeb36cf.zip gdb-d1a3c973fa1c0d7eead585e82e02db11daeb36cf.tar.gz gdb-d1a3c973fa1c0d7eead585e82e02db11daeb36cf.tar.bz2 |
PR24028, PPC_INT_FMT
PPC_INT_FMT is redundant now that bfd.h pulls in inttypes.h if
available. Apparently MacOS Mojave defines int64_t as long long even
though long is also 64 bits, which confuses the logic selecting
PPC_INT_FMT (and BFD_PRI64 too). Hopefully inttypes.h is available on
Mojave.
PR 24028
include/
* opcode/ppc.h (PPC_INT_FMT): Delete.
opcodes/
* ppc-dis.c (print_insn_powerpc): Replace PPC_INT_FMT uses with
PRId64/PRIx64.
Diffstat (limited to 'include/opcode/ppc.h')
-rw-r--r-- | include/opcode/ppc.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h index c7262f1..c6b978e 100644 --- a/include/opcode/ppc.h +++ b/include/opcode/ppc.h @@ -30,14 +30,6 @@ extern "C" { typedef uint64_t ppc_cpu_t; -#if BFD_HOST_64BIT_LONG -# define PPC_INT_FMT "l" -#elif defined (__MSVCRT__) -# define PPC_INT_FMT "I64" -#else -# define PPC_INT_FMT "ll" -#endif - /* The opcode table is an array of struct powerpc_opcode. */ struct powerpc_opcode |