summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/bfd/hosts
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-07 11:08:08 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-06-07 11:08:08 +0000
commit5e8f84744ab42cf6648e9cc6fa9aa4f6a713a484 (patch)
tree95c644446f498bed99df8b6b2356775209a34a43 /gnu/usr.bin/binutils/bfd/hosts
parentd671f825bb877aa8089bd042d91e61f7e3160825 (diff)
(Correct) Import of Cygnus binutils snapshot taken 960607
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/hosts')
-rw-r--r--gnu/usr.bin/binutils/bfd/hosts/m68kaux.h16
-rw-r--r--gnu/usr.bin/binutils/bfd/hosts/m68klinux.h6
2 files changed, 22 insertions, 0 deletions
diff --git a/gnu/usr.bin/binutils/bfd/hosts/m68kaux.h b/gnu/usr.bin/binutils/bfd/hosts/m68kaux.h
new file mode 100644
index 00000000000..6237755dba5
--- /dev/null
+++ b/gnu/usr.bin/binutils/bfd/hosts/m68kaux.h
@@ -0,0 +1,16 @@
+/* Definitions for an Apple Macintosh running A/UX 3.x. */
+
+#include <sys/param.h>
+#include <sys/page.h>
+
+/* Definitions used by trad-core.c. */
+#define NBPG NBPP
+
+#define HOST_DATA_START_ADDR u.u_exdata.ux_datorg
+#define HOST_TEXT_START_ADDR u.u_exdata.ux_txtorg
+#define HOST_STACK_END_ADDR 0x100000000
+
+#define UPAGES USIZE
+
+#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \
+ (abfd->tdata.trad_core_data->u.u_arg[0])
diff --git a/gnu/usr.bin/binutils/bfd/hosts/m68klinux.h b/gnu/usr.bin/binutils/bfd/hosts/m68klinux.h
new file mode 100644
index 00000000000..0067dfa6fda
--- /dev/null
+++ b/gnu/usr.bin/binutils/bfd/hosts/m68klinux.h
@@ -0,0 +1,6 @@
+/* Linux dumps "struct task_struct" at the end of the core-file. This
+ structure is currently 2512 bytes long, but we allow up to 4096
+ bytes to allow for some future growth. */
+#define TRAD_CORE_EXTRA_SIZE_ALLOWED 4096
+#define TRAD_UNIX_CORE_FILE_FAILING_SIGNAL(abfd) \
+ ((abfd)->tdata.trad_core_data->u.signal)