Optimize out i386/x86-64 JUMP_SLOT relocation
[deliverable/binutils-gdb.git] / ld / emulparams / elf_x86_64.sh
CommitLineData
fb42df5e 1. ${srcdir}/emulparams/plt_unwind.sh
2be3aa03
NC
2SCRIPT_NAME=elf
3ELFSIZE=64
4OUTPUT_FORMAT="elf64-x86-64"
485cf679 5NO_REL_RELOCS=yes
8f3aa7a0 6TEXT_START_ADDR=0x400000
24718e3b
L
7MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
8COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
beb43bb9 9ARCH="i386:x86-64"
2be3aa03 10MACHINE=
2be3aa03
NC
11TEMPLATE_NAME=elf32
12GENERATE_SHLIB_SCRIPT=yes
36af4a4e 13GENERATE_PIE_SCRIPT=yes
48459341 14NO_SMALL_DATA=yes
9599dfb1 15LARGE_SECTIONS=yes
134960cc 16LARGE_BSS_AFTER_BSS=
17d6eea5 17SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
8dfab6dd 18IREL_IN_PLT=
0ff2b86e 19# Reuse TINY_READONLY_SECTION which is placed right after .plt section.
dd7e64d4
L
20TINY_READONLY_SECTION="
21.plt.got ${RELOCATING-0} : { *(.plt.got) }
22.plt.bnd ${RELOCATING-0} : { *(.plt.bnd) }
23"
beb43bb9
JH
24
25if [ "x${host}" = "x${target}" ]; then
26 case " $EMULATION_LIBPATH " in
27 *" ${EMULATION_NAME} "*)
9c8ebd6a 28 NATIVE=yes
beb43bb9
JH
29 esac
30fi
9c8ebd6a 31
ff15b240 32# Linux/Solaris modify the default library search path to first include
9c8ebd6a
DJ
33# a 64-bit specific directory.
34case "$target" in
e4818e07 35 x86_64*-linux*|i[3-7]86-*-linux-*)
9c8ebd6a 36 case "$EMULATION_NAME" in
d258b828
IZ
37 *64*)
38 LIBPATH_SUFFIX=64
39 BNDPLT=yes
40 ;;
9c8ebd6a
DJ
41 esac
42 ;;
e4492aa0 43 *-*-solaris2*)
ff15b240
NC
44 LIBPATH_SUFFIX=/amd64
45 ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"
46 ;;
9c8ebd6a 47esac
This page took 0.585633 seconds and 4 git commands to generate.