bare-linux.lds 344 Bytes
Newer Older
1 2 3 4 5 6 7 8
OUTPUT_FORMAT("elf32-i386")
OUTPUT_ARCH(i386)
ENTRY(_pproto_start)

SECTIONS
{
	. = 0x10000000; /* A random address, non-standard by choice*/
	.text : {
9
		_pproto_start = .;
10 11 12 13 14 15 16 17 18 19 20 21 22 23
		*(.boot)
		*(.text)
	}
	.rodata : { *(.rodata) }
	.data : { *(.data) }

	.bss : {
		. = ALIGN(16);
		__bss_start = .;
		*(.bss);
		. = ALIGN(16);
		__bss_end = .;
	}
}