aboutsummaryrefslogtreecommitdiff
path: root/apps/link.ld
blob: d977c19a88bc8892b85e56f1beecc29a1e82147e (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
25
26
27
28
29
30
31
32
33
34
OUTPUT_FORMAT("elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(main)

SECTIONS
{
	. = 0x00000000;

	.text : {
		*(.text)
	}

	.rodata : {
		*(.rodata)
	}

	. = ALIGN(4096);

	.data : {
		*(.data)
	}

	. = ALIGN(4096);

	.bss : {
		*(.bss)
	}

	. = ALIGN(4096);

	_GLOBAL_OFFSET_TABLE_ = .;

	. = ALIGN(4096);
}