aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-a29k.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-10-01 03:43:11 +0000
committerSteve Chamberlain <steve@cygnus>1991-10-01 03:43:11 +0000
commite89f2fbe008a72300bab52dc4145fcf338ae3f18 (patch)
tree555fc254ebc8ecb57e5f71b1a1c02573c6e89011 /bfd/cpu-a29k.c
parent46f3c7cda5827ea3d8226047bfb4acf161a5f830 (diff)
downloadgdb-e89f2fbe008a72300bab52dc4145fcf338ae3f18.zip
gdb-e89f2fbe008a72300bab52dc4145fcf338ae3f18.tar.gz
gdb-e89f2fbe008a72300bab52dc4145fcf338ae3f18.tar.bz2
Initial revision
Diffstat (limited to 'bfd/cpu-a29k.c')
-rw-r--r--bfd/cpu-a29k.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/bfd/cpu-a29k.c b/bfd/cpu-a29k.c
new file mode 100644
index 0000000..9048139
--- /dev/null
+++ b/bfd/cpu-a29k.c
@@ -0,0 +1,32 @@
+#include <sysdep.h>
+#include <bfd.h>
+#include "libbfd.h"
+
+
+
+static bfd_arch_info_struct_type arch_info_struct =
+ {
+ 32, /* 32 bits in a word */
+ 32, /* 32 bits in an address */
+ 8, /* 8 bits in a byte */
+ bfd_arch_a29k,
+ 0, /* only 1 machine */
+ "a29k",
+ "a29k",
+ true, /* the one and only */
+ bfd_default_compatible,
+ bfd_default_scan ,
+ 0,
+ 0,
+ };
+
+
+
+
+void DEFUN_VOID(bfd_a29k_arch)
+{
+ bfd_arch_linkin(&arch_info_struct);
+}
+
+
+