* Makefile.tpl: Use 'mkinstalldirs' rather than 'mkdir' when
[deliverable/binutils-gdb.git] / ld / emulparams / elf64ppc.sh
CommitLineData
5c67d4bb 1TEMPLATE_NAME=elf32
1f808cd5 2EXTRA_EM_FILE=ppc64elf
5c67d4bb
AM
3ELFSIZE=64
4GENERATE_SHLIB_SCRIPT=yes
36af4a4e 5GENERATE_PIE_SCRIPT=yes
5c67d4bb
AM
6SCRIPT_NAME=elf
7OUTPUT_FORMAT="elf64-powerpc"
8TEXT_START_ADDR=0x10000000
1a3fdaa7 9#SEGMENT_SIZE=0x10000000
a86a09cc 10MAXPAGESIZE=0x10000
120d20f2
AM
11COMMONPAGESIZE=0x1000
12ARCH=powerpc:common64
5c67d4bb
AM
13MACHINE=
14NOP=0x60000000
82bd7b59 15OTHER_TEXT_SECTIONS="*(.sfpr .glink)"
5c67d4bb
AM
16BSS_PLT=
17OTHER_BSS_SYMBOLS="
18 .tocbss ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.tocbss)}"
19OTHER_PLT_RELOC_SECTIONS="
20 .rela.tocbss ${RELOCATING-0} : { *(.rela.tocbss) }"
68f8ff14 21GOT="
c86b6a7b
AM
22 .got ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.got${RELOCATING+ .toc}) }
23 ${RELOCATING-.toc 0 : { *(.toc) }}"
5c67d4bb
AM
24OTHER_GOT_RELOC_SECTIONS="
25 .rela.toc ${RELOCATING-0} : { *(.rela.toc) }"
26OTHER_READWRITE_SECTIONS="
27 .toc1 ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { *(.toc1) }
e3e942e9 28 .opd ${RELOCATING-0}${RELOCATING+ALIGN(8)} : { KEEP (*(.opd)) }"
eb3d6bb8
AM
29
30# Treat a host that matches the target with the possible exception of "64"
31# in the name as if it were native.
32if test `echo "$host" | sed -e s/64//` = `echo "$target" | sed -e s/64//`; then
9c8ebd6a
DJ
33 case " $EMULATION_LIBPATH " in
34 *" ${EMULATION_NAME} "*)
35 NATIVE=yes
36 ;;
37 esac
eb3d6bb8 38fi
9c8ebd6a
DJ
39
40# Look for 64 bit target libraries in /lib64, /usr/lib64 etc., first.
41case "$EMULATION_NAME" in
42 *64*) LIBPATH_SUFFIX=64 ;;
43esac
This page took 0.109336 seconds and 4 git commands to generate.