- added no load memory for persistent debugger data

git-svn-id: http://moon:8086/svn/mips@117 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
2017-01-22 11:56:43 +00:00
parent ff2b7a10c7
commit 59f4acb1ce
+8 -2
View File
@@ -7,11 +7,10 @@ MEMORY
io : ORIGIN = 0xA0000000, LENGTH = 0x00800000 /* 8M */
}
stack_ptr = 0x7FFFEFF0;
STARTUP(startup.o)
INPUT(kernel.o)
DEBUGGER_VAR_SIZE = 0x10000;
SECTIONS
{
.start :
@@ -82,4 +81,11 @@ SECTIONS
. = ALIGN(32 / 8);
. = ALIGN(32 / 8);
_end = .; PROVIDE (end = .);
. = (ORIGIN(ram) + LENGTH(ram) - DEBUGGER_VAR_SIZE - 0x10);
stack_ptr = . | ~(LENGTH(ram)-1) & 0x7fffffff;
. = . + 0x10;
.dbg_vars . (NOLOAD) :
{
*(.dbg_vars)
}
}