2016-01-17 | Paul Boddie | raw annotate files changeset graph | Changed the stage 2 base address for usbboot compatibility. Added various options to the USB Boot script for demonstration purposes. | stage2-non-pic |
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 _gp = ALIGN(16); 21 22 .got : { *(.got*) } 23 _got_end = ABSOLUTE(.); 24 25 . = ALIGN(4); 26 .sbss : { *(.sbss*) } 27 .bss : { *(.bss*) } 28 . = ALIGN (4); 29 } 30