vax decoding of indexed addressing mode
[deliverable/binutils-gdb.git] / ld / emulparams / elf64ppc.sh
CommitLineData
c40e31a1
AM
1source_sh ${srcdir}/emulparams/elf32ppccommon.sh
2source_sh ${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
6c668e71
AM
9unset EXECUTABLE_SYMBOLS
10unset SDATA_START_SYMBOLS
11unset SDATA2_START_SYMBOLS
12unset SBSS_START_SYMBOLS
13unset SBSS_END_SYMBOLS
14unset OTHER_END_SYMBOLS
15unset OTHER_RELRO_SECTIONS
82bd7b59 16OTHER_TEXT_SECTIONS="*(.sfpr .glink)"
5ad18f16 17OTHER_SDATA_SECTIONS="
e87deb82 18 .tocbss ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.tocbss)}"
f37f3db7
AM
19
20if test x${RELOCATING+set} = xset; then
21 GOT="
a27e685f 22 .got : ALIGN(256) { *(.got .toc) }"
f37f3db7
AM
23else
24 GOT="
25 .got 0 : { *(.got) }
26 .toc 0 : { *(.toc) }"
27fi
829da898
AM
28# Put .opd relocs first so ld.so will process them before any ifunc relocs.
29INITIAL_RELOC_SECTIONS="
30 .rela.opd ${RELOCATING-0} : { *(.rela.opd) }"
5c67d4bb 31OTHER_GOT_RELOC_SECTIONS="
b796d39d 32 .rela.toc ${RELOCATING-0} : { *(.rela.toc) }
5ad18f16
AM
33 .rela.toc1 ${RELOCATING-0} : { *(.rela.toc1) }
34 .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }
b796d39d 35 .rela.branch_lt ${RELOCATING-0} : { *(.rela.branch_lt) }"
3e2b0f31 36OTHER_RELRO_SECTIONS_2="
23283c1b 37 .opd ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) }
5ad18f16 38 .toc1 ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) }
23283c1b 39 .branch_lt ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.branch_lt) }"
dbd1e97e
AM
40INITIAL_READWRITE_SECTIONS="
41 .toc ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc) }"
23283c1b
AM
42# Put .got before .data
43DATA_GOT=" "
44# Always make .got read-only after relocation
45SEPARATE_GOTPLT=0
46# Also put .sdata before .data
47DATA_SDATA=" "
48# and .plt/.iplt before .data
49DATA_PLT=
50PLT_BEFORE_GOT=" "
This page took 0.969243 seconds and 4 git commands to generate.