aboutsummaryrefslogtreecommitdiff
path: root/bfd/hp300bsd.c
diff options
context:
space:
mode:
authorPer Bothner <per@bothner.com>1992-02-17 20:04:21 +0000
committerPer Bothner <per@bothner.com>1992-02-17 20:04:21 +0000
commit9832e16cc38b91bbe0ea4f7e03ab5584e3f866a6 (patch)
tree307cb89f99d513d3445ad5e3f4e8b733e85a6f17 /bfd/hp300bsd.c
parent9a051b43a6e16d92f8141663a0c078aca5888707 (diff)
downloadgdb-9832e16cc38b91bbe0ea4f7e03ab5584e3f866a6.zip
gdb-9832e16cc38b91bbe0ea4f7e03ab5584e3f866a6.tar.gz
gdb-9832e16cc38b91bbe0ea4f7e03ab5584e3f866a6.tar.bz2
* hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd
a full configuration (with possible cross-development), instead of using host-aout.c.
Diffstat (limited to 'bfd/hp300bsd.c')
-rw-r--r--bfd/hp300bsd.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/bfd/hp300bsd.c b/bfd/hp300bsd.c
new file mode 100644
index 0000000..92b4243
--- /dev/null
+++ b/bfd/hp300bsd.c
@@ -0,0 +1,20 @@
+#define TARGET_IS_BIG_ENDIAN_P
+#define N_HEADER_IN_TEXT(x) 0
+#define BYTES_IN_WORD 4
+#define ARCH 32
+#define ENTRY_CAN_BE_ZERO
+#define N_SHARED_LIB(x) 0 /* Avoids warning */
+#define TEXT_START_ADDR 0
+#define PAGE_SIZE 4096
+#define SEGMENT_SIZE PAGE_SIZE
+#define DEFAULT_ARCH bfd_arch_m68k
+
+#define MY(OP) CAT(hp300bsd_,OP)
+#define TARGETNAME "a.out-hp300bsd"
+
+#include "bfd.h"
+#include "sysdep.h"
+#include "libbfd.h"
+#include "libaout.h"
+
+#include "aout-target.h"