* elf64-ppc.c (STFD_FR0_0R1, LFD_FR0_0R1, BLR): Define.
[external/binutils.git] / ld / emulparams / elf64ppc.sh
1 TEMPLATE_NAME=elf32
2 EXTRA_EM_FILE=ppc64elf
3 ELFSIZE=64
4 GENERATE_SHLIB_SCRIPT=yes
5 SCRIPT_NAME=elf
6 OUTPUT_FORMAT="elf64-powerpc"
7 TEXT_START_ADDR=0x10000000
8 MAXPAGESIZE=0x40000
9 ARCH=powerpc
10 MACHINE=
11 NOP=0x60000000
12 EXECUTABLE_SYMBOLS='PROVIDE (__stack = 0); PROVIDE (___stack = 0);'
13 OTHER_BSS_END_SYMBOLS='__end = .;'
14 CTOR_START='PROVIDE (__CTOR_LIST__ = .); PROVIDE (___CTOR_LIST__ = .);'
15 CTOR_END='PROVIDE (__CTOR_END__ = .); PROVIDE (___CTOR_END__ = .);'
16 DTOR_START='PROVIDE (__DTOR_LIST__ = .); PROVIDE (___DTOR_LIST__ = .);'
17 DTOR_END='PROVIDE (__DTOR_END__ = .); PROVIDE (___DTOR_END__ = .);'
18 OTHER_TEXT_SECTIONS="*(.sfpr .glink)"
19 BSS_PLT=
20 OTHER_BSS_SYMBOLS="
21   .tocbss       ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.tocbss)}"
22 OTHER_PLT_RELOC_SECTIONS="
23   .rela.tocbss  ${RELOCATING-0} : { *(.rela.tocbss) }"
24 OTHER_GOT_SECTIONS="
25   .toc          ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.toc) }"
26 OTHER_GOT_RELOC_SECTIONS="
27   .rela.toc     ${RELOCATING-0} : { *(.rela.toc) }"
28 OTHER_READWRITE_SECTIONS="
29   .toc1         ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.toc1) }
30   .opd          ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.opd) }"