lantiq: add lzma-loader source
[openwrt.git] / target / linux / lantiq / image / lzma-loader / src / loader.lds
1 OUTPUT_ARCH(mips)
2 SECTIONS {
3         .text : {
4                 _code_start = .;
5                 *(.text)
6                 *(.text.*)
7                 *(.rodata)
8                 *(.rodata.*)
9                 *(.data.lzma)
10         }
11
12         . = ALIGN(32);
13         .data : {
14                 *(.data)
15                 *(.data.*)
16                 . = . + 524288;         /* workaround for buggy bootloaders */
17         }
18
19         . = ALIGN(32);
20         _code_end = .;
21
22         _bss_start = .;
23         .bss : {
24                 *(.bss)
25                 *(.bss.*)
26         }
27
28         . = ALIGN(32);
29         _bss_end = .;
30
31         . = . + 8192;
32         _stack = .;
33
34         workspace = .;
35 }