aboutsummaryrefslogtreecommitdiff
path: root/apps/link.ld
blob: 2b9599a2fc14f1c7bd59cc1133d730ee30727f49 (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
35
OUTPUT_FORMAT("elf32-i386")
OUTPUT_ARCH(i386)
STARTUP(libc.a) /* HUH */
ENTRY(_start)

SECTIONS
{
	. = 0x00000000;

	.text : {
		*(.text)
	}

	.rodata : {
		*(.rodata)
	}

	. = ALIGN(4096);

	.data : {
		*(.data)
	}

	. = ALIGN(4096);

	.bss : {
		*(.bss)
	}

	. = ALIGN(4096);

	_GLOBAL_OFFSET_TABLE_ = .;

	. = ALIGN(4096);
}