summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/image/lzma-loader/src/loader.lds
blob: bae70fb6eae8ee2fc3ec40d4d66534d3a3582627 (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
OUTPUT_ARCH(mips)
SECTIONS {
	.text : {
		_code_start = .;
		*(.text)
		*(.text.*)
		*(.rodata)
		*(.rodata.*)
		. = ALIGN(16);
		*(.data.lzma)
	}

	.data : {
		*(.data)
		*(.data.*)
	}
	_code_end = .;

	.bss : {
		*(.bss)
		*(.bss.*)
	}

	. = ALIGN(16);
	. = . + 8192;
	_stack = .;

	workspace = .;
}