summaryrefslogtreecommitdiffstats
path: root/contrib/gdb/bfd/hosts/mipsmach3.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/gdb/bfd/hosts/mipsmach3.h')
-rw-r--r--contrib/gdb/bfd/hosts/mipsmach3.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/contrib/gdb/bfd/hosts/mipsmach3.h b/contrib/gdb/bfd/hosts/mipsmach3.h
new file mode 100644
index 0000000..c5c468d
--- /dev/null
+++ b/contrib/gdb/bfd/hosts/mipsmach3.h
@@ -0,0 +1,10 @@
+#include <machine/vmparam.h>
+#include <machine/machparam.h>
+#include <sys/param.h>
+
+#define HOST_PAGE_SIZE NBPG
+/* #define HOST_SEGMENT_SIZE NBPG */
+#define HOST_MACHINE_ARCH bfd_arch_mips
+#define HOST_TEXT_START_ADDR USRTEXT
+#define HOST_DATA_START_ADDR USRDATA
+#define HOST_STACK_END_ADDR USRSTACK
OpenPOWER on IntegriCloud