NanoPayload

Annotated stage1/stage1.ld

194:aac340efb570
2016-05-14 Paul Boddie Introduced memory layout headers and consolidated memory-related definitions. Made the linker scripts more consistent.
paul@0 1
OUTPUT_ARCH(mips)
paul@0 2
ENTRY(_start)
paul@0 3
paul@0 4
SECTIONS
paul@0 5
{
paul@194 6
	. = 0x80002000;
paul@194 7
	.text : { *(.text*) }
paul@0 8
paul@0 9
	. = ALIGN(4);
paul@194 10
	.rodata : { *(.rodata*) }
paul@0 11
paul@0 12
	. = ALIGN(4);
paul@194 13
	.sdata : { *(.sdata*) }
paul@0 14
paul@0 15
	. = ALIGN(4);
paul@194 16
	.data : { *(.data*) *(.scommon*) *(.reginfo*) }
paul@0 17
paul@0 18
	_gp = ABSOLUTE(.); /* Base of small data */
paul@0 19
paul@194 20
	.got : { *(.got*) }
paul@0 21
paul@0 22
	. = ALIGN(4);
paul@194 23
	.sbss : { *(.sbss*) }
paul@194 24
	.bss : { *(.bss*) }
paul@0 25
	. = ALIGN (4);
paul@0 26
}