summaryrefslogtreecommitdiff
path: root/firmware/gdb.lds
blob: a26d8b2c919f5795b846989f2b1412cab9e05806 (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
ENTRY(start)
OUTPUT_FORMAT(elf32-sh)
INPUT(crt0.o system.o)
SECTIONS
{
    .vectors 0x09010000 :
    {
        *(.vectors);
        . = ALIGN(0x200);
        *(.init.text)
    }

    .text :
    {
        *(.text)
    }

    .data :
    {
        *(.data)
    }

    .rodata :
    {
        *(.rodata)
    }

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

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

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

    .mp3buf :
    {
        _mp3buf = .;
    }

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