xref: /NextBSD/contrib/binutils/ld/emulparams/elf32ppc.sh (revision eb1a5f8de9f7ea602c373a710f531abbf81141c4)
1# If you change this file, please also look at files which source this one:
2# elf32lppcnto.sh elf32lppc.sh elf32ppclinux.sh elf32ppcnto.sh
3# elf32ppcsim.sh
4
5. ${srcdir}/emulparams/elf32ppccommon.sh
6# Yes, we want duplicate .got and .plt sections.  The linker chooses the
7# appropriate one magically in ppc_after_open
8DATA_GOT=
9SDATA_GOT=
10SEPARATE_GOTPLT=0
11BSS_PLT=
12GOT=".got          ${RELOCATING-0} : SPECIAL { *(.got) }"
13PLT=".plt          ${RELOCATING-0} : SPECIAL { *(.plt) }"
14GOTPLT="${PLT}"
15OTHER_TEXT_SECTIONS="*(.glink)"
16EXTRA_EM_FILE=ppc32elf
17