summaryrefslogtreecommitdiff
path: root/bfd/hosts/dpx2.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts/dpx2.h')
-rw-r--r--bfd/hosts/dpx2.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/hosts/dpx2.h b/bfd/hosts/dpx2.h
new file mode 100644
index 00000000000..ea6395f2e5d
--- /dev/null
+++ b/bfd/hosts/dpx2.h
@@ -0,0 +1,8 @@
+/* Definitions that are needed for core files. Core section sizes for
+ the DPX2 are in bytes. */
+
+#include <sys/param.h>
+#define NBPG 1
+#define UPAGES (USIZE * NBPP)
+#define HOST_DATA_START_ADDR (u.u_exdata.ux_datorg)
+#define HOST_STACK_END_ADDR (USERSTACK)