aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/hosts/.Sanitize1
-rw-r--r--bfd/hosts/riscos.h15
3 files changed, 20 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c1a26f1..fb343d5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+Wed Jun 23 11:34:21 1993 Jim Kingdon (kingdon@cygnus.com)
+
+ * hosts/riscos.h: New file.
+
Tue Jun 22 14:35:20 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
* elfcode.h (bfd_section_from_shdr, case SHT_PROGBITS): Even if
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