1 1.6 christos source_sh ${srcdir}/emulparams/elf32ppccommon.sh 2 1.6 christos source_sh ${srcdir}/emulparams/plt_unwind.sh 3 1.1 christos EXTRA_EM_FILE=ppc64elf 4 1.1 christos ELFSIZE=64 5 1.1 christos OUTPUT_FORMAT="elf64-powerpc" 6 1.1 christos TEXT_START_ADDR=0x10000000 7 1.1 christos #SEGMENT_SIZE=0x10000000 8 1.1 christos ARCH=powerpc:common64 9 1.3 christos unset EXECUTABLE_SYMBOLS 10 1.3 christos unset SDATA_START_SYMBOLS 11 1.3 christos unset SDATA2_START_SYMBOLS 12 1.3 christos unset SBSS_START_SYMBOLS 13 1.3 christos unset SBSS_END_SYMBOLS 14 1.3 christos unset OTHER_END_SYMBOLS 15 1.3 christos unset OTHER_RELRO_SECTIONS 16 1.1 christos OTHER_TEXT_SECTIONS="*(.sfpr .glink)" 17 1.3 christos OTHER_SDATA_SECTIONS=" 18 1.1 christos .tocbss ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.tocbss)}" 19 1.1 christos 20 1.1 christos if test x${RELOCATING+set} = xset; then 21 1.1 christos GOT=" 22 1.3 christos .got : ALIGN(256) { *(.got .toc) }" 23 1.1 christos else 24 1.1 christos GOT=" 25 1.1 christos .got 0 : { *(.got) } 26 1.1 christos .toc 0 : { *(.toc) }" 27 1.1 christos fi 28 1.1 christos # Put .opd relocs first so ld.so will process them before any ifunc relocs. 29 1.1 christos INITIAL_RELOC_SECTIONS=" 30 1.1 christos .rela.opd ${RELOCATING-0} : { *(.rela.opd) }" 31 1.1 christos OTHER_GOT_RELOC_SECTIONS=" 32 1.1 christos .rela.toc ${RELOCATING-0} : { *(.rela.toc) } 33 1.3 christos .rela.toc1 ${RELOCATING-0} : { *(.rela.toc1) } 34 1.3 christos .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) } 35 1.1 christos .rela.branch_lt ${RELOCATING-0} : { *(.rela.branch_lt) }" 36 1.3 christos OTHER_RELRO_SECTIONS_2=" 37 1.3 christos .opd ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) } 38 1.1 christos .toc1 ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) } 39 1.1 christos .branch_lt ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.branch_lt) }" 40 1.3 christos INITIAL_READWRITE_SECTIONS=" 41 1.3 christos .toc ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc) }" 42 1.3 christos # Put .got before .data 43 1.3 christos DATA_GOT=" " 44 1.3 christos # Always make .got read-only after relocation 45 1.3 christos SEPARATE_GOTPLT=0 46 1.3 christos # Also put .sdata before .data 47 1.3 christos DATA_SDATA=" " 48 1.3 christos # and .plt/.iplt before .data 49 1.3 christos DATA_PLT= 50 1.3 christos PLT_BEFORE_GOT=" " 51