aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorBrendan Kehoe <brendan@cygnus>1992-08-27 22:11:48 +0000
committerBrendan Kehoe <brendan@cygnus>1992-08-27 22:11:48 +0000
commit6697a1a9114df78bbe2c2ee5741023c826012589 (patch)
tree6a375678e45ad9a5185f4c831c3a1c8350015ae0 /bfd/hosts
parent98c0c56d67b50f59e3e7d9d1981b80592f305bd0 (diff)
downloadgdb-6697a1a9114df78bbe2c2ee5741023c826012589.zip
gdb-6697a1a9114df78bbe2c2ee5741023c826012589.tar.gz
gdb-6697a1a9114df78bbe2c2ee5741023c826012589.tar.bz2
Add preliminary support for the we32k (AT&T 3b2).
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/we32k.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/bfd/hosts/we32k.h b/bfd/hosts/we32k.h
new file mode 100644
index 0000000..6de135e
--- /dev/null
+++ b/bfd/hosts/we32k.h
@@ -0,0 +1,43 @@
+#include <unistd.h>
+#include <fcntl.h>
+#include <errno.h>
+#include <stdio.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <time.h>
+#include <ctype.h>
+#include <string.h>
+#include <sys/file.h>
+#ifndef O_ACCMODE
+#define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
+#endif
+
+#ifndef DONTDECLARE_MALLOC
+extern PTR EXFUN(malloc,(unsigned));
+extern PTR EXFUN(realloc, (PTR, unsigned));
+#endif
+extern int EXFUN(abort,(void));
+extern int EXFUN(free,(PTR));
+extern void EXFUN(bcopy,(char*,char*,int));
+extern void EXFUN(exit,(int));
+extern void EXFUN(bzero,(char *, int));
+extern int strtol();
+#define NO_STDARG 1
+
+/* EXACT TYPES */
+typedef char int8e_type;
+typedef unsigned char uint8e_type;
+typedef short int16e_type;
+typedef unsigned short uint16e_type;
+typedef int int32e_type;
+typedef unsigned int uint32e_type;
+
+/* CORRECT SIZE OR GREATER */
+typedef char int8_type;
+typedef unsigned char uint8_type;
+typedef short int16_type;
+typedef unsigned short uint16_type;
+typedef int int32_type;
+typedef unsigned int uint32_type;
+
+#include "fopen-same.h"