summaryrefslogtreecommitdiff
path: root/model.lds
blob: 7b68d0bc29b6d1a00af3056a86c2b5617340079f (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
start = 0x00400000;

OUTPUT_FORMAT("elf32-littlearm")
OUTPUT_ARCH(arm)
TARGET(binary)

INPUT(./uImage)
INPUT(./boot.bin)
INPUT(./base.cramfs)

SECTIONS
{
	. = 0x00007fc0;
	.text.kernel : { ./uImage *(.text) }

	. = 0x00400000;
	.text.boot : { ./boot.bin *(.text) }

	. = 0x00800000;
	.text.filesystem : { ./base.cramfs *(.text) }

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