aboutsummaryrefslogtreecommitdiff
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
parent6a3a22e423e5c032bda9e0361d00dbcd249ed9a8 (diff)
downloadgdb-d297ca717ff22b2a828095a2ac858ab3eb3cd155.zip
gdb-d297ca717ff22b2a828095a2ac858ab3eb3cd155.tar.gz
gdb-d297ca717ff22b2a828095a2ac858ab3eb3cd155.tar.bz2
* hosts/riscos.h: New file.
-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