aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-hppa.c
diff options
context:
space:
mode:
authorStu Grossman <grossman@cygnus>1992-06-19 22:24:13 +0000
committerStu Grossman <grossman@cygnus>1992-06-19 22:24:13 +0000
commite3c01e92af3e19579138413fa011b96e467ee62f (patch)
tree69a60049144f2c423740201ee2e8958e855d132d /bfd/cpu-hppa.c
parent7d87ec828f19234a8b06a8f5ac38c542a5022b10 (diff)
downloadgdb-e3c01e92af3e19579138413fa011b96e467ee62f.zip
gdb-e3c01e92af3e19579138413fa011b96e467ee62f.tar.gz
gdb-e3c01e92af3e19579138413fa011b96e467ee62f.tar.bz2
* Makefile.in, archures.c, configure.in, cpu-hppa.c, hppa.c, libhppa.h,
targets.c: HPPA merge.
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);
+}