bmips: add new target
[openwrt/staging/ldir.git] / target / linux / bmips / image / lzma-loader / src / loader.lds
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 OUTPUT_ARCH(mips)
4 SECTIONS {
5 .text : {
6 _code_start = .;
7 *(.text)
8 *(.text.*)
9 *(.rodata)
10 *(.rodata.*)
11 *(.data.lzma)
12 }
13
14 . = ALIGN(32);
15 .data : {
16 *(.data)
17 *(.data.*)
18 }
19
20 . = ALIGN(32);
21 _code_end = .;
22
23 _bss_start = .;
24 .bss : {
25 *(.bss)
26 *(.bss.*)
27 }
28
29 . = ALIGN(32);
30 _bss_end = .;
31
32 . = . + 8192;
33 _stack = .;
34
35 workspace = .;
36 }