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