1TEMPLATE_NAME=elf32 2EXTRA_EM_FILE=ppc64elf 3ELFSIZE=64 4GENERATE_SHLIB_SCRIPT=yes 5GENERATE_PIE_SCRIPT=yes 6SCRIPT_NAME=elf 7OUTPUT_FORMAT="elf64-powerpc" 8TEXT_START_ADDR=0x10000000 9#SEGMENT_SIZE=0x10000000 10MAXPAGESIZE=0x10000 11COMMONPAGESIZE=0x1000 12ARCH=powerpc:common64 13MACHINE= 14NOP=0x60000000 15OTHER_TEXT_SECTIONS="*(.sfpr .glink)" 16BSS_PLT= 17OTHER_BSS_SYMBOLS=" 18 .tocbss ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.tocbss)}" 19OTHER_PLT_RELOC_SECTIONS=" 20 .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }" 21 22if test x${RELOCATING+set} = xset; then 23 GOT=" 24 .got ALIGN(8) : { *(.got .toc) }" 25else 26 GOT=" 27 .got 0 : { *(.got) } 28 .toc 0 : { *(.toc) }" 29fi 30OTHER_GOT_RELOC_SECTIONS=" 31 .rela.toc ${RELOCATING-0} : { *(.rela.toc) }" 32OTHER_READWRITE_SECTIONS=" 33 .toc1 ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.toc1) } 34 .opd ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { KEEP (*(.opd)) }" 35 36# Treat a host that matches the target with the possible exception of "64" 37# in the name as if it were native. 38if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then 39 case " $EMULATION_LIBPATH " in 40 *" ${EMULATION_NAME} "*) 41 NATIVE=yes 42 ;; 43 esac 44fi 45 46# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first. 47case "$EMULATION_NAME" in 48 *64*) LIBPATH_SUFFIX=64 ;; 49esac 50