Changeset View
Changeset View
Standalone View
Standalone View
sys/conf/ldscript.powerpc64
Show First 20 Lines • Show All 98 Lines • ▼ Show 20 Lines | SECTIONS | ||||
} | } | ||||
.data1 : { *(.data1) } | .data1 : { *(.data1) } | ||||
.toc1 : ALIGN(8) { *(.toc1) } | .toc1 : ALIGN(8) { *(.toc1) } | ||||
.opd : ALIGN(8) { KEEP (*(.opd)) } | .opd : ALIGN(8) { KEEP (*(.opd)) } | ||||
.branch_lt : ALIGN(8) { *(.branch_lt) } | .branch_lt : ALIGN(8) { *(.branch_lt) } | ||||
. = ALIGN(4096); | . = ALIGN(4096); | ||||
.got : ALIGN(8) { __tocbase = .; *(.got) } | .got : ALIGN(8) { __tocbase = .; *(.got) } | ||||
.toc : ALIGN(8) { *(.toc) } | .toc : ALIGN(8) { *(.toc) } | ||||
.init_array : | |||||
{ | |||||
PROVIDE_HIDDEN (__init_array_start = .); | |||||
KEEP (*(SORT_BY_INIT_PRIORITY(.init_array.*))) | |||||
KEEP (*(.init_array)) | |||||
PROVIDE_HIDDEN (__init_array_end = .); | |||||
} | |||||
.fini_array : | |||||
{ | |||||
PROVIDE_HIDDEN (__fini_array_start = .); | |||||
KEEP (*(SORT_BY_INIT_PRIORITY(.fini_array.*))) | |||||
KEEP (*(.fini_array)) | |||||
PROVIDE_HIDDEN (__fini_array_end = .); | |||||
} | |||||
.dynamic : { *(.dynamic) } :kernel :dynamic | .dynamic : { *(.dynamic) } :kernel :dynamic | ||||
/* Put .ctors and .dtors next to the .got2 section, so that the pointers | /* Put .ctors and .dtors next to the .got2 section, so that the pointers | ||||
get relocated with -mrelocatable. Also put in the .fixup pointers. | get relocated with -mrelocatable. Also put in the .fixup pointers. | ||||
The current compiler no longer needs this, but keep it around for 2.7.2 */ | The current compiler no longer needs this, but keep it around for 2.7.2 */ | ||||
PROVIDE (_GOT2_START_ = .); | PROVIDE (_GOT2_START_ = .); | ||||
.got2 : { *(.got2) } :kernel | .got2 : { *(.got2) } :kernel | ||||
PROVIDE (__CTOR_LIST__ = .); | PROVIDE (__CTOR_LIST__ = .); | ||||
.ctors : { *(.ctors) } | .ctors : { *(.ctors) } | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |