aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-hppa.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/cpu-hppa.c')
-rw-r--r--bfd/cpu-hppa.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/bfd/cpu-hppa.c b/bfd/cpu-hppa.c
new file mode 100644
index 0000000..e5f51bc
--- /dev/null
+++ b/bfd/cpu-hppa.c
@@ -0,0 +1,25 @@
+#include "bfd.h"
+#include "sysdep.h"
+#include "libbfd.h"
+
+static bfd_arch_info_type arch_info_struct =
+ {
+ 32, /* 32 bits in a word */
+ 32, /* 32 bits in an address */
+ 8, /* 8 bits in a byte */
+ bfd_arch_hppa,
+ 0, /* only 1 machine */
+ "hppa",
+ "hppa",
+ 3,
+ true, /* the one and only */
+ bfd_default_compatible,
+ bfd_default_scan ,
+ 0,
+ 0,
+ };
+
+void DEFUN_VOID(bfd_hppa_arch)
+{
+ bfd_arch_linkin(&arch_info_struct);
+}