summaryrefslogtreecommitdiff
path: root/firmware/test/kernel/app.lds
blob: 192ee1d2a4c1946a143c7c6d6679d8b833187205 (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
ENTRY(start)
OUTPUT_FORMAT(elf32-sh)
SECTIONS
{
    .text 0x09010000 :
    {
	*(.vectors)
        . = ALIGN(0x200);
        *(.init.text)
    }

    .text :
    {
        *(.text)
    }

    .data :
    {
        *(.rodata)
        *(.data)
    }

    .rodata :
    {
        *(.rodata)
    }

    .bss :
    {
       _edata = .;
        *(.bss)
        *(COMMON)
       _end = .;
       _stack = . + 0x80000;
    }
}