aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts/riscos.h
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/hosts/riscos.h')
-rw-r--r--bfd/hosts/riscos.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/bfd/hosts/riscos.h b/bfd/hosts/riscos.h
new file mode 100644
index 0000000..f894edb
--- /dev/null
+++ b/bfd/hosts/riscos.h
@@ -0,0 +1,15 @@
+/* RISC/os 4.52C, and presumably other versions. */
+
+#include "hosts/std-host.h"
+
+#include <bsd43/machine/machparam.h>
+#include <bsd43/machine/vmparam.h>
+
+#define HOST_TEXT_START_ADDR BSD43_USRTEXT
+#define HOST_DATA_START_ADDR BSD43_USRDATA
+#define HOST_STACK_END_ADDR BSD43_USRSTACK
+
+/* This is just needed for a.out formats where the executable does not
+ identify the architecture. I'm not sure whether RISC/os is such a case
+ or not. */
+#define HOST_MACHINE_ARCH bfd_arch_mips