summaryrefslogtreecommitdiff
path: root/firmware/app.lds
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/app.lds')
-rw-r--r--firmware/app.lds20
1 files changed, 17 insertions, 3 deletions
diff --git a/firmware/app.lds b/firmware/app.lds
index 03bd1b2b54..246c528b65 100644
--- a/firmware/app.lds
+++ b/firmware/app.lds
@@ -1,4 +1,4 @@
1ENTRY(_start) 1ENTRY(start)
2OUTPUT_FORMAT(elf32-sh) 2OUTPUT_FORMAT(elf32-sh)
3SECTIONS 3SECTIONS
4{ 4{
@@ -6,14 +6,28 @@ SECTIONS
6 { 6 {
7 *(.vectors); 7 *(.vectors);
8 . = ALIGN(0x200); 8 . = ALIGN(0x200);
9 *(.text.start) 9 *(.init.text)
10 }
11
12 .text :
13 {
10 *(.text) 14 *(.text)
11 *(.rodata)
12 } 15 }
13 16
17 .data :
18 {
19 *(.data)
20 }
21
22 .rodata :
23 {
24 *(.rodata)
25 }
14 .bss : 26 .bss :
15 { 27 {
28 _end = .;
16 _stack = . + 0x1000; 29 _stack = . + 0x1000;
30 _edata = .;
17 } 31 }
18 32
19 .pad 0x0900C800 : 33 .pad 0x0900C800 :