4 GENERATE_SHLIB_SCRIPT
=yes
5 GENERATE_PIE_SCRIPT
=yes
7 OUTPUT_FORMAT
="elf64-powerpc"
9 TEXT_START_ADDR
=0x10000000
10 #SEGMENT_SIZE=0x10000000
11 MAXPAGESIZE
="CONSTANT (MAXPAGESIZE)"
12 COMMONPAGESIZE
="CONSTANT (COMMONPAGESIZE)"
16 OTHER_TEXT_SECTIONS
="*(.sfpr .glink)"
19 .tocbss ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.tocbss)}"
20 OTHER_PLT_RELOC_SECTIONS
="
21 .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }"
23 if test x
${RELOCATING+set} = xset
; then
25 .got : ALIGN(8) { *(.got .toc) }"
31 OTHER_GOT_RELOC_SECTIONS
="
32 .rela.toc ${RELOCATING-0} : { *(.rela.toc) }
33 .rela.opd ${RELOCATING-0} : { *(.rela.opd) }
34 .rela.branch_lt ${RELOCATING-0} : { *(.rela.branch_lt) }"
35 OTHER_READWRITE_SECTIONS
="
36 .toc1 ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) }
37 .opd ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) }
38 .branch_lt ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.branch_lt) }"
40 # Treat a host that matches the target with the possible exception of "64"
41 # in the name as if it were native.
42 if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
43 case " $EMULATION_LIBPATH " in
44 *" ${EMULATION_NAME} "*)
50 # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
51 case "$EMULATION_NAME" in
52 *64*) LIBPATH_SUFFIX
=64 ;;