OpenCores
URL https://opencores.org/ocsvn/open8_urisc/open8_urisc/trunk

Subversion Repositories open8_urisc

[/] [open8_urisc/] [trunk/] [gnu/] [binutils/] [ld/] [emulparams/] [elf32ppc.sh] - Blame information for rev 299

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 145 khays
# 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 157 khays
. ${srcdir}/emulparams/plt_unwind.sh
7 145 khays
# Yes, we want duplicate .got and .plt sections.  The linker chooses the
8
# appropriate one magically in ppc_after_open
9
DATA_GOT=
10
SDATA_GOT=
11
SEPARATE_GOTPLT=0
12
BSS_PLT=
13
GOT=".got          ${RELOCATING-0} : SPECIAL { *(.got) }"
14
GOTPLT=".plt          ${RELOCATING-0} : SPECIAL { *(.plt) }"
15
PLT=".plt          ${RELOCATING-0} : SPECIAL { *(.plt) }
16
  .iplt         ${RELOCATING-0} : { *(.iplt) }"
17
OTHER_TEXT_SECTIONS="*(.glink)"
18
EXTRA_EM_FILE=ppc32elf
19
if grep -q 'ld_elf32_spu_emulation' ldemul-list.h; then
20
# crt1.o defines data_start and __data_start.  Keep them first.
21
# Next put all the .data.spehandle sections, with a trailing zero word.
22
  DATA_START_SYMBOLS="${RELOCATING+*crt1.o(.data .data.* .gnu.linkonce.d.*)
23
    PROVIDE (__spe_handle = .);
24
    *(.data.spehandle)
25
    . += 4 * (DEFINED (__spe_handle) || . != 0);}"
26
fi

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.