# If you change this file, please also look at files which source this one: # elf32lppcnto.sh elf32lppc.sh elf32ppclinux.sh elf32ppcnto.sh # elf32ppcsim.sh source ${srcdir}/emulparams/elf32ppccommon.sh source ${srcdir}/emulparams/plt_unwind.sh # Yes, we want duplicate .got and .plt sections. The linker chooses the # appropriate one magically in ppc_after_open setvar DATA_GOT = '' setvar SDATA_GOT = '' setvar SEPARATE_GOTPLT = '0' setvar BSS_PLT = '' setvar GOT = "".got ${RELOCATING-0} : SPECIAL { *(.got) }"" setvar GOTPLT = "".plt ${RELOCATING-0} : SPECIAL { *(.plt) }"" setvar PLT = "".plt ${RELOCATING-0} : SPECIAL { *(.plt) } .iplt ${RELOCATING-0} : { *(.iplt) }"" setvar OTHER_TEXT_SECTIONS = ""*(.glink)"" setvar EXTRA_EM_FILE = 'ppc32elf' if grep -q 'ld_elf32_spu_emulation' ldemul-list.h { # crt1.o defines data_start and __data_start. Keep them first. # Next put all the .data.spehandle sections, with a trailing zero word. setvar DATA_START_SYMBOLS = "${RELOCATING+*crt1.o(.data .data.* .gnu.linkonce.d.*) PROVIDE (__spe_handle = .); *(.data.spehandle) . += 4 * (DEFINED (__spe_handle) || . != 0);}" }