NanoPayload

stage2/stage2.ld

177:5d716521def0
2016-04-26 Paul Boddie Put the global object tables in separate page pairs.
     1 OUTPUT_ARCH(mips)     2 ENTRY(_start)     3      4 SECTIONS     5 {     6 	/* Program memory section. */     7      8 	. = 0x81c00000;     9 	.text2 : { *(.text*) }    10     11 	. = ALIGN(4);    12 	.rodata : { *(.rodata*) }    13     14 	. = ALIGN(4);    15 	.sdata : { *(.sdata*) }    16     17 	. = ALIGN(4);    18 	.data : { *(.data*) *(.scommon*) *(.reginfo*) }    19     20 	.got : ALIGN(8192) {    21 		_gp = ALIGN(16);    22 		_got_start = ABSOLUTE(.);	    23 		*(.got*)    24 	}    25 	_got_end = ABSOLUTE(.);	    26     27 	.got_copy : ALIGN(8192) {    28 		_gp_copy = ALIGN(16);    29 		_got_copy_start = ABSOLUTE(.);    30 		. += _got_end - _got_start;    31 	}    32 	_got_copy_end = ABSOLUTE(.);    33     34 	. = ALIGN(4);    35 	.sbss : { *(.sbss*) }    36 	.bss : { *(.bss*) }    37 	. = ALIGN (4);    38 }    39