diff options
-rw-r--r-- | include/opcode/ChangeLog | 4 | ||||
-rw-r--r-- | include/opcode/ppc.h | 4 |
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. */ |