Add new target_read_raw_memory function, and consolidate comments.
[deliverable/binutils-gdb.git] / ld / emulparams / elf64ppc.sh
CommitLineData
6c668e71 1. ${srcdir}/emulparams/elf32ppccommon.sh
58d180e8 2. ${srcdir}/emulparams/plt_unwind.sh
1f808cd5 3EXTRA_EM_FILE=ppc64elf
5c67d4bb 4ELFSIZE=64
5c67d4bb
AM
5OUTPUT_FORMAT="elf64-powerpc"
6TEXT_START_ADDR=0x10000000
1a3fdaa7 7#SEGMENT_SIZE=0x10000000
120d20f2 8ARCH=powerpc:common64
5c67d4bb 9NOP=0x60000000
6c668e71
AM
10unset EXECUTABLE_SYMBOLS
11unset SDATA_START_SYMBOLS
12unset SDATA2_START_SYMBOLS
13unset SBSS_START_SYMBOLS
14unset SBSS_END_SYMBOLS
15unset OTHER_END_SYMBOLS
16unset OTHER_RELRO_SECTIONS
82bd7b59 17OTHER_TEXT_SECTIONS="*(.sfpr .glink)"
5c67d4bb
AM
18BSS_PLT=
19OTHER_BSS_SYMBOLS="
e87deb82 20 .tocbss ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.tocbss)}"
5c67d4bb
AM
21OTHER_PLT_RELOC_SECTIONS="
22 .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }"
f37f3db7
AM
23
24if test x${RELOCATING+set} = xset; then
25 GOT="
e87deb82 26 .got : ALIGN(8) { *(.got .toc) }"
f37f3db7
AM
27else
28 GOT="
29 .got 0 : { *(.got) }
30 .toc 0 : { *(.toc) }"
31fi
829da898
AM
32# Put .opd relocs first so ld.so will process them before any ifunc relocs.
33INITIAL_RELOC_SECTIONS="
34 .rela.opd ${RELOCATING-0} : { *(.rela.opd) }"
5c67d4bb 35OTHER_GOT_RELOC_SECTIONS="
b796d39d 36 .rela.toc ${RELOCATING-0} : { *(.rela.toc) }
b796d39d 37 .rela.branch_lt ${RELOCATING-0} : { *(.rela.branch_lt) }"
5c67d4bb 38OTHER_READWRITE_SECTIONS="
e87deb82 39 .toc1 ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) }
e4e0193e
AM
40 .opd ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) }
41 .branch_lt ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.branch_lt) }"
This page took 0.49544 seconds and 4 git commands to generate.