diff options
-rw-r--r-- | firmware/player.lds | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/firmware/player.lds b/firmware/player.lds new file mode 100644 index 0000000000..8836f9fd32 --- /dev/null +++ b/firmware/player.lds | |||
@@ -0,0 +1,65 @@ | |||
1 | ENTRY(start) | ||
2 | OUTPUT_FORMAT(elf32-sh) | ||
3 | INPUT(crt0.o) | ||
4 | SECTIONS | ||
5 | { | ||
6 | .vectors 0x09000000 : | ||
7 | { | ||
8 | *(.resetvectors); | ||
9 | *(.vectors); | ||
10 | . = ALIGN(0x200); | ||
11 | *(.init.text) | ||
12 | } | ||
13 | |||
14 | .text : | ||
15 | { | ||
16 | *(.text) | ||
17 | } | ||
18 | |||
19 | .data : | ||
20 | { | ||
21 | *(.data) | ||
22 | } | ||
23 | |||
24 | .rodata : | ||
25 | { | ||
26 | *(.rodata) | ||
27 | } | ||
28 | |||
29 | .bss : | ||
30 | { | ||
31 | _edata = .; | ||
32 | *(.bss) | ||
33 | *(COMMON) | ||
34 | _end = .; | ||
35 | } | ||
36 | |||
37 | .stack : | ||
38 | { | ||
39 | *(.stack) | ||
40 | . = 0x8000; | ||
41 | _stack = .; | ||
42 | } | ||
43 | |||
44 | .heap : | ||
45 | { | ||
46 | _poolstart = .; | ||
47 | . = 0x20000; | ||
48 | _poolend = .; | ||
49 | } | ||
50 | |||
51 | .mp3buf : | ||
52 | { | ||
53 | _mp3buf = .; | ||
54 | } | ||
55 | |||
56 | .mp3end 0x09200000 : | ||
57 | { | ||
58 | _mp3end = .; | ||
59 | } | ||
60 | |||
61 | .pad 0x0900C800 : | ||
62 | { | ||
63 | LONG(0); | ||
64 | } | ||
65 | } | ||