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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [emulparams/] [elf64ppc.sh] - Blame information for rev 856

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

Line No. Rev Author Line
1 38 julius
TEMPLATE_NAME=elf32
2
EXTRA_EM_FILE=ppc64elf
3
ELFSIZE=64
4
GENERATE_SHLIB_SCRIPT=yes
5
GENERATE_PIE_SCRIPT=yes
6
SCRIPT_NAME=elf
7
OUTPUT_FORMAT="elf64-powerpc"
8
TEXT_START_ADDR=0x10000000
9
#SEGMENT_SIZE=0x10000000
10
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
11
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
12
ARCH=powerpc:common64
13
MACHINE=
14
NOP=0x60000000
15
OTHER_TEXT_SECTIONS="*(.sfpr .glink)"
16
BSS_PLT=
17
OTHER_BSS_SYMBOLS="
18
  .tocbss       ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.tocbss)}"
19
OTHER_PLT_RELOC_SECTIONS="
20
  .rela.tocbss  ${RELOCATING-0} : { *(.rela.tocbss) }"
21
 
22
if test x${RELOCATING+set} = xset; then
23
  GOT="
24
  .got          : ALIGN(8) { *(.got .toc) }"
25
else
26
  GOT="
27
  .got          0 : { *(.got) }
28
  .toc          0 : { *(.toc) }"
29
fi
30
OTHER_GOT_RELOC_SECTIONS="
31
  .rela.toc     ${RELOCATING-0} : { *(.rela.toc) }"
32
OTHER_READWRITE_SECTIONS="
33
  .toc1         ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.toc1) }
34
  .opd          ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { KEEP (*(.opd)) }
35
  .branch_lt    ${RELOCATING-0} :${RELOCATING+ ALIGN(8)} { *(.branch_lt) }"
36
 
37
# Treat a host that matches the target with the possible exception of "64"
38
# in the name as if it were native.
39
if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
40
  case " $EMULATION_LIBPATH " in
41
    *" ${EMULATION_NAME} "*)
42
      NATIVE=yes
43
      ;;
44
  esac
45
fi
46
 
47
# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
48
case "$EMULATION_NAME" in
49
  *64*) LIBPATH_SUFFIX=64 ;;
50
esac

powered by: WebSVN 2.1.0

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