Rename "sun" variable to avoid conflicts on Solaris
[deliverable/binutils-gdb.git] / ld / emulparams / elf32ppc.sh
index c3da11593a2d39f0a8e25417b76cdb0b9eb22869..7385e3f0480280677d6274bdbac540f203eccc5e 100644 (file)
@@ -2,8 +2,8 @@
 # elf32lppcnto.sh elf32lppc.sh elf32ppclinux.sh elf32ppcnto.sh
 # elf32ppcsim.sh
 
-. ${srcdir}/emulparams/elf32ppccommon.sh
-. ${srcdir}/emulparams/plt_unwind.sh
+source_sh ${srcdir}/emulparams/elf32ppccommon.sh
+source_sh ${srcdir}/emulparams/plt_unwind.sh
 # Yes, we want duplicate .got and .plt sections.  The linker chooses the
 # appropriate one magically in ppc_after_open
 DATA_GOT=
@@ -15,6 +15,10 @@ GOTPLT=".plt          ${RELOCATING-0} : SPECIAL { *(.plt) }"
 PLT=".plt          ${RELOCATING-0} : SPECIAL { *(.plt) }
   .iplt         ${RELOCATING-0} : { *(.iplt) }"
 OTHER_TEXT_SECTIONS="*(.glink)"
+OTHER_GOT_RELOC_SECTIONS="
+  .rela.branch_lt      ${RELOCATING-0} : { *(.rela.branch_lt) }"
+OTHER_RELRO_SECTIONS_2="
+  .branch_lt   ${RELOCATING-0} :${RELOCATING+ ALIGN(4)} { *(.branch_lt) }"
 EXTRA_EM_FILE=ppc32elf
 if grep -q 'ld_elf32_spu_emulation' ldemul-list.h; then
 # crt1.o defines data_start and __data_start.  Keep them first.
This page took 0.028926 seconds and 4 git commands to generate.