4 GENERATE_SHLIB_SCRIPT=yes
5 GENERATE_PIE_SCRIPT=yes
7 OUTPUT_FORMAT="elf64-powerpc"
8 TEXT_START_ADDR=0x10000000
9 #SEGMENT_SIZE=0x10000000
15 EXECUTABLE_SYMBOLS='PROVIDE (__stack = 0); PROVIDE (___stack = 0);'
16 OTHER_BSS_END_SYMBOLS='__end = .;'
17 CTOR_START='PROVIDE (__CTOR_LIST__ = .); PROVIDE (___CTOR_LIST__ = .);'
18 CTOR_END='PROVIDE (__CTOR_END__ = .); PROVIDE (___CTOR_END__ = .);'
19 DTOR_START='PROVIDE (__DTOR_LIST__ = .); PROVIDE (___DTOR_LIST__ = .);'
20 DTOR_END='PROVIDE (__DTOR_END__ = .); PROVIDE (___DTOR_END__ = .);'
21 OTHER_TEXT_SECTIONS="*(.sfpr .glink)"
24 .tocbss ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.tocbss)}"
25 OTHER_PLT_RELOC_SECTIONS="
26 .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }"
28 .toc ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.toc) }"
29 OTHER_GOT_RELOC_SECTIONS="
30 .rela.toc ${RELOCATING-0} : { *(.rela.toc) }"
31 OTHER_READWRITE_SECTIONS="
32 .toc1 ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.toc1) }
33 .opd ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { KEEP (*(.opd)) }"
35 # Treat a host that matches the target with the possible exception of "64"
36 # in the name as if it were native.
37 if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
38 case " $EMULATION_LIBPATH " in
39 *" ${EMULATION_NAME} "*)
45 # Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
46 case "$EMULATION_NAME" in
47 *64*) LIBPATH_SUFFIX=64 ;;