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