diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/app.lds | 3 | ||||
-rw-r--r-- | firmware/crt0.S | 2 | ||||
-rw-r--r-- | firmware/gdb.lds | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/firmware/app.lds b/firmware/app.lds index e2f9dec007..12b8a9c458 100644 --- a/firmware/app.lds +++ b/firmware/app.lds | |||
@@ -1,10 +1,11 @@ | |||
1 | ENTRY(start) | 1 | ENTRY(start) |
2 | OUTPUT_FORMAT(elf32-sh) | 2 | OUTPUT_FORMAT(elf32-sh) |
3 | INPUT(crt0.o system.o) | 3 | INPUT(crt0.o) |
4 | SECTIONS | 4 | SECTIONS |
5 | { | 5 | { |
6 | .vectors 0x09000000 : | 6 | .vectors 0x09000000 : |
7 | { | 7 | { |
8 | *(.resetvectors); | ||
8 | *(.vectors); | 9 | *(.vectors); |
9 | . = ALIGN(0x200); | 10 | . = ALIGN(0x200); |
10 | *(.init.text) | 11 | *(.init.text) |
diff --git a/firmware/crt0.S b/firmware/crt0.S index 60b510dbe1..39344b297a 100644 --- a/firmware/crt0.S +++ b/firmware/crt0.S | |||
@@ -120,7 +120,7 @@ vbr_k: | |||
120 | orig_vbr_k: | 120 | orig_vbr_k: |
121 | .long 0x9000000 | 121 | .long 0x9000000 |
122 | 122 | ||
123 | .section .vectors | 123 | .section .resetvectors |
124 | vectors: | 124 | vectors: |
125 | .long start | 125 | .long start |
126 | .long _stack | 126 | .long _stack |
diff --git a/firmware/gdb.lds b/firmware/gdb.lds index cf07aa1af2..3260beb26f 100644 --- a/firmware/gdb.lds +++ b/firmware/gdb.lds | |||
@@ -1,10 +1,11 @@ | |||
1 | ENTRY(start) | 1 | ENTRY(start) |
2 | OUTPUT_FORMAT(elf32-sh) | 2 | OUTPUT_FORMAT(elf32-sh) |
3 | INPUT(crt0.o system.o) | 3 | INPUT(crt0.o) |
4 | SECTIONS | 4 | SECTIONS |
5 | { | 5 | { |
6 | .vectors 0x09010000 : | 6 | .vectors 0x09010000 : |
7 | { | 7 | { |
8 | *(.resetvectors); | ||
8 | *(.vectors); | 9 | *(.vectors); |
9 | . = ALIGN(0x200); | 10 | . = ALIGN(0x200); |
10 | *(.init.text) | 11 | *(.init.text) |