summaryrefslogtreecommitdiff
path: root/firmware/test/kernel/app.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/test/kernel/app.lds')
-rw-r--r--firmware/test/kernel/app.lds13
1 files changed, 10 insertions, 3 deletions
diff --git a/firmware/test/kernel/app.lds b/firmware/test/kernel/app.lds
index 4b7e5f4c6f..8a31ee7a13 100644
--- a/firmware/test/kernel/app.lds
+++ b/firmware/test/kernel/app.lds
@@ -2,9 +2,16 @@ ENTRY(start)
OUTPUT_FORMAT(elf32-sh)
SECTIONS
{
- .text 0x09018000 :
+ .text 0x09010000 :
{
+ *(.vectors)
+ . = ALIGN(0x200);
+ crt0.o(.text)
*(.rodata)
+ }
+
+ .text :
+ {
*(.text)
}
@@ -16,8 +23,8 @@ SECTIONS
.bss :
{
*(.bss)
- _end = . + 0x8000;
- _stack = . + 0x9000;
+ _end = .;
+ _stack = . + 0x1000;
_edata = .;
}
}