aboutsummaryrefslogtreecommitdiffstats
path: root/demos/ARM7-LPC214x-G++/ch.ld
diff options
context:
space:
mode:
Diffstat (limited to 'demos/ARM7-LPC214x-G++/ch.ld')
-rw-r--r--demos/ARM7-LPC214x-G++/ch.ld5
1 files changed, 3 insertions, 2 deletions
diff --git a/demos/ARM7-LPC214x-G++/ch.ld b/demos/ARM7-LPC214x-G++/ch.ld
index 5fe907142..bb59cec1c 100644
--- a/demos/ARM7-LPC214x-G++/ch.ld
+++ b/demos/ARM7-LPC214x-G++/ch.ld
@@ -25,7 +25,7 @@ __abt_stack_size__ = 0x0004;
__fiq_stack_size__ = 0x0010;
__irq_stack_size__ = 0x0080;
__svc_stack_size__ = 0x0004;
-__sys_stack_size__ = 0x0400;
+__sys_stack_size__ = 0x0100;
__stacks_total_size__ = __und_stack_size__ + __abt_stack_size__ + __fiq_stack_size__ + __irq_stack_size__ + __svc_stack_size__ + __sys_stack_size__;
MEMORY
@@ -48,7 +48,8 @@ SECTIONS
.text :
{
_text = .;
- *(.text);
+ KEEP(*(.startup))
+ *(.text)
*(.text.*);
*(.rodata);
*(.rodata.*);