aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-22 02:36:26 +0000
committerAlan Modra <amodra@gmail.com>2009-09-22 02:36:26 +0000
commitb961e85b6ebebe1381c29c9f50ba67d835d7c561 (patch)
tree4d7d8765bc3b5cf672893ed1eb0be3c9e0526d03
parent7807ee0cd255840ac529796df22470094352da43 (diff)
downloadfsf-binutils-gdb-b961e85b6ebebe1381c29c9f50ba67d835d7c561.zip
fsf-binutils-gdb-b961e85b6ebebe1381c29c9f50ba67d835d7c561.tar.gz
fsf-binutils-gdb-b961e85b6ebebe1381c29c9f50ba67d835d7c561.tar.bz2
o * ppc.h (ppc_cpu_t): Typedef to uint64_t.
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/ppc.h4
2 files changed, 7 insertions, 1 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 0282c46..29f717b 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -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.
diff --git a/include/opcode/ppc.h b/include/opcode/ppc.h
index 79b1562..c88485a 100644
--- a/include/opcode/ppc.h
+++ b/include/opcode/ppc.h
@@ -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. */