aboutsummaryrefslogtreecommitdiff
path: root/bfd/hosts
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-23 18:38:41 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-23 18:38:41 +0000
commitd297ca717ff22b2a828095a2ac858ab3eb3cd155 (patch)
treedc24ca6c35af42ebf016fabe1036393c199dda19 /bfd/hosts
parent6a3a22e423e5c032bda9e0361d00dbcd249ed9a8 (diff)
downloadgdb-d297ca717ff22b2a828095a2ac858ab3eb3cd155.zip
gdb-d297ca717ff22b2a828095a2ac858ab3eb3cd155.tar.gz
gdb-d297ca717ff22b2a828095a2ac858ab3eb3cd155.tar.bz2
* hosts/riscos.h: New file.
Diffstat (limited to 'bfd/hosts')
-rw-r--r--bfd/hosts/.Sanitize1
-rw-r--r--bfd/hosts/riscos.h15
2 files changed, 16 insertions, 0 deletions
diff --git a/bfd/hosts/.Sanitize b/bfd/hosts/.Sanitize
index fcd7cd4..45a4f45 100644
--- a/bfd/hosts/.Sanitize
+++ b/bfd/hosts/.Sanitize
@@ -52,6 +52,7 @@ miniframe.h
mipsbsd.h
news.h
ncr3000.h
+riscos.h
rs6000.h
rtbsd.h
solaris2.h
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