o * ppc.h (ppc_cpu_t): Typedef to uint64_t.
authorAlan Modra <amodra@gmail.com>
Tue, 22 Sep 2009 02:36:26 +0000 (02:36 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 22 Sep 2009 02:36:26 +0000 (02:36 +0000)
include/opcode/ChangeLog
include/opcode/ppc.h

index 0282c46..29f717b 100644 (file)
@@ -1,3 +1,7 @@
+2009-09-22  Peter Bergner  <bergner@vnet.ibm.com>
+
+       * ppc.h (ppc_cpu_t): Typedef to uint64_t.
+
 2009-09-21  Ben Elliston  <bje@au.ibm.com>
 
        * ppc.h (PPC_OPCODE_PPCA2): New.
index 79b1562..c88485a 100644 (file)
@@ -22,7 +22,9 @@ Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, US
 #ifndef PPC_H
 #define PPC_H
 
-typedef unsigned long ppc_cpu_t;
+#include "bfd_stdint.h"
+
+typedef uint64_t ppc_cpu_t;
 
 /* The opcode table is an array of struct powerpc_opcode.  */