aboutsummaryrefslogtreecommitdiff
path: root/apps/link.ld
blob: ee415783611c7e573023cc8d3775317e9e1a675d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
ENTRY(main)
SECTIONS
{
	.text 0x40000000:
	{
		code = .; _code = .; __code = .;
		*(.text)
	}

	.data ALIGN(0x400000):
	{
		data = .; _data = .; __data = .;
		*(.data)
		*(.rodata)
	}

	.bss ALIGN(0x400000):
	{
		bss = .; _bss = .; __bss = .;
		*(.bss)
	}

	end = .; _end = .; __end = .;
}