* hp300bsd.c (new), config/mt-hp300bsd: Make hp300bsd
authorPer Bothner <per@bothner.com>
Mon, 17 Feb 1992 20:04:21 +0000 (20:04 +0000)
committerPer Bothner <per@bothner.com>
Mon, 17 Feb 1992 20:04:21 +0000 (20:04 +0000)
a full configuration (with possible cross-development),
instead of using host-aout.c.

bfd/ChangeLog
bfd/hp300bsd.c [new file with mode: 0644]

index 7d720fb9015dfa3e12d839bf9f0a7f0294ff2afc..e9be8f148336b293147b373f532c6d086c307657 100644 (file)
@@ -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 (file)
index 0000000..92b4243
--- /dev/null
@@ -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"