aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lemke <jlemke@cygnus>1998-03-04 23:33:36 +0000
committerJames Lemke <jlemke@cygnus>1998-03-04 23:33:36 +0000
commit9ce23bf9510da915a612c550a8d4e32da9840a26 (patch)
treefccf942da2004924f2d9509ee623293aa520523a
parent24d084d94b12b2cb24a8808c7f5a927c11ac6e62 (diff)
downloadbinutils-9ce23bf9510da915a612c550a8d4e32da9840a26.zip
binutils-9ce23bf9510da915a612c550a8d4e32da9840a26.tar.gz
binutils-9ce23bf9510da915a612c550a8d4e32da9840a26.tar.bz2
* interp.c (sim_open): Map 4M of memory at zero for SKY sim only.
-rw-r--r--sim/mips/interp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sim/mips/interp.c b/sim/mips/interp.c
index aa151c1..b794fb7 100644
--- a/sim/mips/interp.c
+++ b/sim/mips/interp.c
@@ -314,6 +314,9 @@ sim_open (kind, cb, abfd, argv)
K1BASE, K0SIZE,
MEM_SIZE, /* actual size */
K0BASE);
+#ifdef TARGET_SKY
+ sim_do_command (sd, "memory region 0x00000000,0x00100000"); /* 1M */
+#endif
device_init(sd);