ldscript.powerpc64 (84665) | ldscript.powerpc64 (176617) |
---|---|
1/* $FreeBSD: head/sys/conf/ldscript.powerpc 84665 2001-10-08 10:43:34Z mp $ */ | 1/* $FreeBSD: head/sys/conf/ldscript.powerpc 176617 2008-02-27 00:03:23Z marcel $ */ |
2 3OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc") 4OUTPUT_ARCH(powerpc) 5ENTRY(__start) 6SEARCH_DIR(/usr/lib); 7/* Do we need any of these for elf? 8 __DYNAMIC = 0; */ 9PROVIDE (__stack = 0); 10SECTIONS 11{ 12 /* Read-only sections, merged into text segment: */ | 2 3OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc", "elf32-powerpc") 4OUTPUT_ARCH(powerpc) 5ENTRY(__start) 6SEARCH_DIR(/usr/lib); 7/* Do we need any of these for elf? 8 __DYNAMIC = 0; */ 9PROVIDE (__stack = 0); 10SECTIONS 11{ 12 /* Read-only sections, merged into text segment: */ |
13 . = 0x00100000 + SIZEOF_HEADERS; | 13 14 . = kernbase + SIZEOF_HEADERS; 15 16 .text : 17 { 18 *(.text) 19 *(.stub) 20 /* .gnu.warning sections are handled specially by elf32.em. */ 21 *(.gnu.warning) 22 *(.gnu.linkonce.t*) 23 } =0 24 _etext = .; 25 PROVIDE (etext = .); 26 |
14 .interp : { *(.interp) } 15 .hash : { *(.hash) } 16 .dynsym : { *(.dynsym) } 17 .dynstr : { *(.dynstr) } 18 .gnu.version : { *(.gnu.version) } 19 .gnu.version_d : { *(.gnu.version_d) } 20 .gnu.version_r : { *(.gnu.version_r) } 21 .rela.text : --- 10 unchanged lines hidden (view full) --- 32 .rela.init : { *(.rela.init) } 33 .rela.fini : { *(.rela.fini) } 34 .rela.bss : { *(.rela.bss) } 35 .rela.plt : { *(.rela.plt) } 36 .rela.sdata : { *(.rela.sdata) } 37 .rela.sbss : { *(.rela.sbss) } 38 .rela.sdata2 : { *(.rela.sdata2) } 39 .rela.sbss2 : { *(.rela.sbss2) } | 27 .interp : { *(.interp) } 28 .hash : { *(.hash) } 29 .dynsym : { *(.dynsym) } 30 .dynstr : { *(.dynstr) } 31 .gnu.version : { *(.gnu.version) } 32 .gnu.version_d : { *(.gnu.version_d) } 33 .gnu.version_r : { *(.gnu.version_r) } 34 .rela.text : --- 10 unchanged lines hidden (view full) --- 45 .rela.init : { *(.rela.init) } 46 .rela.fini : { *(.rela.fini) } 47 .rela.bss : { *(.rela.bss) } 48 .rela.plt : { *(.rela.plt) } 49 .rela.sdata : { *(.rela.sdata) } 50 .rela.sbss : { *(.rela.sbss) } 51 .rela.sdata2 : { *(.rela.sdata2) } 52 .rela.sbss2 : { *(.rela.sbss2) } |
40 .text : 41 { 42 *(.text) 43 /* .gnu.warning sections are handled specially by elf32.em. */ 44 *(.gnu.warning) 45 *(.gnu.linkonce.t*) 46 } =0 47 _etext = .; 48 PROVIDE (etext = .); | 53 |
49 .init : { *(.init) } =0 50 .fini : { *(.fini) } =0 51 .rodata : { *(.rodata) *(.gnu.linkonce.r*) } 52 .rodata1 : { *(.rodata1) } 53 .sdata2 : { *(.sdata2) } 54 .sbss2 : { *(.sbss2) } 55 /* Adjust the address for the data segment to the next page up. */ 56 . = ((. + 0x1000) & ~(0x1000 - 1)); --- 83 unchanged lines hidden --- | 54 .init : { *(.init) } =0 55 .fini : { *(.fini) } =0 56 .rodata : { *(.rodata) *(.gnu.linkonce.r*) } 57 .rodata1 : { *(.rodata1) } 58 .sdata2 : { *(.sdata2) } 59 .sbss2 : { *(.sbss2) } 60 /* Adjust the address for the data segment to the next page up. */ 61 . = ((. + 0x1000) & ~(0x1000 - 1)); --- 83 unchanged lines hidden --- |