1 2SECTIONS 3{ 4 .text : { *(.init) *(.text) *(.text.*) } 5 . = ALIGN(64K); 6 etext = .; 7 .opd : { *(.opd) } 8 . = ALIGN(16); 9 .dynamic : { 10 dynamic_start = .; 11 *(.dynamic) 12 } 13 .dynsym : { 14 dynsym_start = .; 15 *(.dynsym) 16 } 17 .rela.dyn : { *(.rela*) } 18 . = ALIGN(16); 19 .data : { 20 *(.data) 21 *(.data.rel*) 22 } 23 . = ALIGN(16); 24 .rodata : { *(.rodata) *(.rodata.*) } 25 . = ALIGN(16); 26 .bss : { *(.bss) } 27 . = ALIGN(256); 28 /* 29 * tocptr is tocbase + 32K, allowing toc offsets to be +-32K 30 */ 31 tocptr = . + 32K; 32 .got : { *(.toc) *(.got) } 33 . = ALIGN(64K); 34 edata = .; 35 . += 64K; 36 . = ALIGN(64K); 37 /* 38 * stackptr set with initial stack frame (64 bytes) preallocated 39 */ 40 stackptr = . - 64; 41 stacktop = .; 42} 43 44ENTRY(start) 45