gcc3 (and some gcc4) produce code which does not fit into the
0x5000-sized RAM sections. Extend them to 0x6000 for now, so it will
build correctly again. The created binary (gcc3) has been successfully
tested on my G2.
Signed-off-by: Wolfram Sang <wolfram(a)the-dreams.de>
---
src/target/firmware/board/mediatek/ram.lds | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/target/firmware/board/mediatek/ram.lds
b/src/target/firmware/board/mediatek/ram.lds
index 465c0ba..a2af560 100644
--- a/src/target/firmware/board/mediatek/ram.lds
+++ b/src/target/firmware/board/mediatek/ram.lds
@@ -11,9 +11,9 @@ ENTRY(_start)
MEMORY
{
/* mtk-loaded binary: our text, initialized data */
- LRAM (rw) : ORIGIN = 0x40000000, LENGTH = 0x00005000
+ LRAM (rw) : ORIGIN = 0x40000000, LENGTH = 0x00006000
/* mtk-loaded binary: our unitialized data, stacks, heap */
- IRAM (rw) : ORIGIN = 0x40005000, LENGTH = 0x00005000
+ IRAM (rw) : ORIGIN = 0x40006000, LENGTH = 0x00006000
}
SECTIONS
{
--
1.7.2.5