ldscript.powerpc64 (272888) | ldscript.powerpc64 (277334) |
---|---|
1/* $FreeBSD: head/sys/conf/ldscript.powerpc64 272888 2014-10-10 06:24:09Z bapt $ */ | 1/* $FreeBSD: head/sys/conf/ldscript.powerpc64 277334 2015-01-18 18:32:43Z nwhitehorn $ */ |
2 3OUTPUT_FORMAT("elf64-powerpc-freebsd", "elf64-powerpc-freebsd", 4 "elf64-powerpc-freebsd") 5OUTPUT_ARCH(powerpc:common64) 6ENTRY(__start) 7SEARCH_DIR(/usr/lib); 8PROVIDE (__stack = 0); 9SECTIONS 10{ 11 /* Read-only sections, merged into text segment: */ 12 13 . = kernbase + SIZEOF_HEADERS; | 2 3OUTPUT_FORMAT("elf64-powerpc-freebsd", "elf64-powerpc-freebsd", 4 "elf64-powerpc-freebsd") 5OUTPUT_ARCH(powerpc:common64) 6ENTRY(__start) 7SEARCH_DIR(/usr/lib); 8PROVIDE (__stack = 0); 9SECTIONS 10{ 11 /* Read-only sections, merged into text segment: */ 12 13 . = kernbase + SIZEOF_HEADERS; |
14 PROVIDE (begin = . - SIZEOF_HEADERS); |
|
14 15 .text : 16 { 17 *(.text) 18 *(.stub) 19 /* .gnu.warning sections are handled specially by elf32.em. */ 20 *(.gnu.warning) 21 *(.gnu.linkonce.t*) --- 41 unchanged lines hidden (view full) --- 63 *(.data) 64 *(.gnu.linkonce.d*) 65 CONSTRUCTORS 66 } 67 .data1 : { *(.data1) } 68 .toc1 : ALIGN(8) { *(.toc1) } 69 .opd : ALIGN(8) { KEEP (*(.opd)) } 70 .branch_lt : ALIGN(8) { *(.branch_lt) } | 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*) --- 41 unchanged lines hidden (view full) --- 64 *(.data) 65 *(.gnu.linkonce.d*) 66 CONSTRUCTORS 67 } 68 .data1 : { *(.data1) } 69 .toc1 : ALIGN(8) { *(.toc1) } 70 .opd : ALIGN(8) { KEEP (*(.opd)) } 71 .branch_lt : ALIGN(8) { *(.branch_lt) } |
71 .got : ALIGN(8) { *(.got .toc) } | 72 .got : ALIGN(8) { __tocbase = .; *(.got .toc) } |
72 73 .dynamic : { *(.dynamic) } 74 /* Put .ctors and .dtors next to the .got2 section, so that the pointers 75 get relocated with -mrelocatable. Also put in the .fixup pointers. 76 The current compiler no longer needs this, but keep it around for 2.7.2 */ 77 PROVIDE (_GOT2_START_ = .); 78 .got2 : { *(.got2) } 79 PROVIDE (__CTOR_LIST__ = .); --- 64 unchanged lines hidden --- | 73 74 .dynamic : { *(.dynamic) } 75 /* Put .ctors and .dtors next to the .got2 section, so that the pointers 76 get relocated with -mrelocatable. Also put in the .fixup pointers. 77 The current compiler no longer needs this, but keep it around for 2.7.2 */ 78 PROVIDE (_GOT2_START_ = .); 79 .got2 : { *(.got2) } 80 PROVIDE (__CTOR_LIST__ = .); --- 64 unchanged lines hidden --- |