Debian Codegraph @

flasher_stub/ld/stub_32.ld

raw
1 /* Note: stub is deliberately loaded close to the very top
2 of available RAM, to reduce change of colliding with anything
3 else... */
4 MEMORY {
5 iram : org = 0x400BE000, len = 0x1000
6 dram : org = 0x3ffcc000, len = 0x14000
7 }
8
9 ENTRY(stub_main)
10
11 SECTIONS {
12 .text : ALIGN(4) {
13 *(.literal)
14 *(.text .text.*)
15 } > iram
16
17 .bss : ALIGN(4) {
18 _bss_start = ABSOLUTE(.);
19 *(.bss)
20 _bss_end = ABSOLUTE(.);
21 } > dram
22
23 .data : ALIGN(4) {
24 *(.data)
25 *(.rodata .rodata.*)
26 } > dram
27 }
28
29 INCLUDE "rom_32.ld"