From 9832e16cc38b91bbe0ea4f7e03ab5584e3f866a6 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Mon, 17 Feb 1992 20:04:21 +0000 Subject: [PATCH] * 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 diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7d720fb9015..e9be8f14833 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 00000000000..92b42439e6e --- /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"