1/* $FreeBSD: releng/10.3/sys/conf/ldscript.mips.octeon1 217656 2011-01-20 19:24:50Z imp $ */ 2 3ENTRY(_start) 4 5PHDRS { 6 text PT_LOAD FLAGS(0x7); 7} 8 9SECTIONS { 10 . = KERNLOADADDR + SIZEOF_HEADERS; 11 12 .text : { 13 *(.text) 14 *(.dynamic) 15 etext = .; 16 _etext = .; 17 . = ALIGN(0x2000); 18 } : text 19 20 . = ALIGN(0x2000); 21 .rodata : { 22 _fdata = .; 23 *(.rodata) 24 . = ALIGN(32); 25 } 26 27 .data : { 28 _rwdata = .; 29 *(.data) 30 . = ALIGN(32); 31 CONSTRUCTORS; 32 } 33 34 _gp = (. + 0x8000); 35 36 .sdata : { 37 _small_start = .; 38 *(.sdata) 39 . = ALIGN(32); 40 edata = .; 41 _edata = .; 42 } : text 43 44 .sbss : { 45 __bss_start = .; 46 _fbss = .; 47 *(.sbss) *(.scommon) 48 _small_end = .; 49 . = ALIGN(32); 50 } 51 52 .bss : { 53 *(.bss) 54 *(COMMON) 55 . = ALIGN(32); 56 _end = .; 57 end = .; 58 } 59 60} 61