From 9832e16cc38b91bbe0ea4f7e03ab5584e3f866a6 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Mon, 17 Feb 1992 20:04:21 +0000 Subject: * hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd a full configuration (with possible cross-development), instead of using host-aout.c. --- bfd/ChangeLog | 6 ++++++ bfd/hp300bsd.c | 20 ++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 bfd/hp300bsd.c (limited to 'bfd') diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7d720fb..e9be8f1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +Mon Feb 17 12:02:17 1992 Per Bothner (bothner at cygnus.com) + + * hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd + a full configuration (with possible cross-development), + instead of using host-aout.c. + Sun Feb 16 13:01:49 1992 Per Bothner (bothner at cygnus.com) * aout-target.h (MY(write_object_contents): 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" -- cgit v1.1