summaryrefslogtreecommitdiffstats
path: root/gas/config/tc-ppc.h
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config/tc-ppc.h')
-rw-r--r--gas/config/tc-ppc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gas/config/tc-ppc.h b/gas/config/tc-ppc.h
index 5f6f7f23d4..2702988ede 100644
--- a/gas/config/tc-ppc.h
+++ b/gas/config/tc-ppc.h
@@ -22,6 +22,8 @@
#define TC_PPC
+#include "opcode/ppc.h"
+
struct fix;
/* Set the endianness we are using. Default to big endian. */
@@ -95,10 +97,10 @@ extern void ppc_handle_align (struct frag *);
for later use in md_apply_fix. */
struct _ppc_fix_extra
{
- unsigned long ppc_cpu;
+ ppc_cpu_t ppc_cpu;
};
-extern unsigned long ppc_cpu;
+extern ppc_cpu_t ppc_cpu;
#define TC_FIX_TYPE struct _ppc_fix_extra
#define TC_INIT_FIX_DATA(FIXP) \
OpenPOWER on IntegriCloud