PR24028, PPC_INT_FMT
authorAlan Modra <amodra@gmail.com>
Thu, 27 Dec 2018 23:01:42 +0000 (09:31 +1030)
committerAlan Modra <amodra@gmail.com>
Fri, 28 Dec 2018 04:32:04 +0000 (15:02 +1030)
commitd1a3c973fa1c0d7eead585e82e02db11daeb36cf
tree4a9522687e2fc7283bc82b273b3ed136698c4c69
parentb6d3efdc59c84f418e2d7e1a1dfbc5ff33f44ae5
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.
include/ChangeLog
include/opcode/ppc.h
opcodes/ChangeLog
opcodes/ppc-dis.c