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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [ld/] [emulparams/] [elf32ppc.sh] - Blame information for rev 298

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

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

powered by: WebSVN 2.1.0

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