From 939646293a25231e54ce20c797e9444039d2b81c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 24 Sep 2008 21:44:41 +0000 Subject: 2008-09-24 Joel Sherrill * startup/linkcmds: Simulator now appears to have 16M RAM support by default in gdb 6.8. --- c/src/lib/libbsp/h8300/h8sim/ChangeLog | 5 +++++ c/src/lib/libbsp/h8300/h8sim/startup/linkcmds | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'c/src/lib') diff --git a/c/src/lib/libbsp/h8300/h8sim/ChangeLog b/c/src/lib/libbsp/h8300/h8sim/ChangeLog index cbaf472564..736aa251fc 100644 --- a/c/src/lib/libbsp/h8300/h8sim/ChangeLog +++ b/c/src/lib/libbsp/h8300/h8sim/ChangeLog @@ -1,3 +1,8 @@ +2008-09-24 Joel Sherrill + + * startup/linkcmds: Simulator now appears to have 16M RAM support by + default in gdb 6.8. + 2008-09-24 Joel Sherrill * Makefile.am, console/console-io.c, include/bsp.h: diff --git a/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds b/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds index 9e3284036d..03d2148e01 100644 --- a/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds +++ b/c/src/lib/libbsp/h8300/h8sim/startup/linkcmds @@ -7,12 +7,12 @@ OUTPUT_ARCH(h8300h) * Declare some sizes. */ _RamBase = DEFINED(_RamBase) ? _RamBase : 0x0; -_RamSize = DEFINED(_RamSize) ? _RamSize : 256K; +_RamSize = DEFINED(_RamSize) ? _RamSize : 16M; _HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0; _StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000; ENTRY("_start") -/* The memory size is 256KB to coincide with the simulator. +/* The memory size is 16M to coincide with the simulator. Don't change either without considering the other. */ MEMORY { @@ -21,9 +21,9 @@ MEMORY vectors : o = 0x0000, l = 0xc4 magicvectors : o = 0xc4, l = 0x3c /* We still only use 256k as the main ram size. */ - ram : o = 0x0100, l = 0xffefc /* 256K RAM --> 0x3fefc */ + ram : o = 0x0100, l = 0xfffefc /* 16MB RAM --> 0x3fefc */ /* The stack starts at the top of main ram. */ - topram : o = 0xffffc, l = 0x4 /* 256K RAM --> 0x3fffc */ + topram : o = 0xfffffc, l = 0x4 /* 256K RAM --> 0x3fffc */ /* This holds variables in the "tiny" sections. */ tiny : o = 0xff8000, l = 0x7f00 /* At the very top of the address space is the 8-bit area. */ -- cgit v1.2.3