summaryrefslogtreecommitdiffstats
path: root/reloc/reloc.ld
blob: 8a96f0bd59ddbf90bc8ab673d3c09fa86b402fb4 (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
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(_start)
SECTIONS
{
	. = 0;			/* Required for relocatabilty */
	.startupinfo	: { *(.startupinfo) }
	.start		: { *(.start) }
	.text		: { *(.text) }
	.text16		: { *(.text16) }
	.rodata		: { *(.rodata) }
	. = ALIGN(4);
	.data		: { *(.data) }
	.got		: { *(.got) }
	.got.plt	: { *(.got.plt) }
	. = ALIGN(4);
	.bss		:
	{
		__bss_start = .;
		*(.bss)
		. = ALIGN(4);
		__bss_end = .;
	}
	_end = .;
	/DISCARD/	: { *(.discard*) }
}