From 099817514b021c57395935ea187d921ba26b3e5f Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 9 Aug 2004 21:35:57 +0000 Subject: [PATCH] Fixed main thread stack size git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4992 a1c6a512-1295-4272-9138-f99709370657 --- firmware/app.lds | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/app.lds b/firmware/app.lds index 015ed70bd8..a2cefe1091 100644 --- a/firmware/app.lds +++ b/firmware/app.lds @@ -146,11 +146,11 @@ SECTIONS /* TRICK ALERT! We want 0x2000 bytes of stack, but we set the section size smaller, and allow the stack to grow into the .iram copy */ - .stack ADDR(.data)+SIZEOF(.data) + SIZEOF(.iram): + .stack ADDR(.data) + SIZEOF(.data) + SIZEOF(.iram): { *(.stack) - _stackbegin = .; - . += 0x2000-SIZEOF(.iram); + _stackbegin = . - SIZEOF(.iram); + . += 0x2000 - SIZEOF(.iram); _stackend = .; } > DRAM