summaryrefslogtreecommitdiff
path: root/firmware/gdb.lds
blob: 3260beb26f4693b93c93c641c193915fa7263d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
ENTRY(start)
OUTPUT_FORMAT(elf32-sh)
INPUT(crt0.o)
SECTIONS
{
    .vectors 0x09010000 :
    {
        *(.resetvectors);
        *(.vectors);
        . = ALIGN(0x200);
        *(.init.text)
    }

    .text :
    {
        *(.text)
    }

    .data :
    {
        *(.data)
    }

    .rodata :
    {
        *(.rodata)
    }

    .bss :
    {
       _edata = .;
        *(.bss)
        *(COMMON)
       _end = .;
    }

    .stack :
    {
       *(.stack)
       . = 0x8000;
       _stack = .;
    }

    .heap :
    {
        _poolstart = .;
        . = 0x20000;
        _poolend = .;
    }

    .mp3buf :
    {
        _mp3buf = .;
    }

    .mp3end 0x09200000 :
    {
        _mp3end = .;
    }
}