1 . ${srcdir}/emulparams/plt_unwind.sh
4 OUTPUT_FORMAT="elf64-x86-64"
6 TEXT_START_ADDR=0x400000
7 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
8 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
12 GENERATE_SHLIB_SCRIPT=yes
13 GENERATE_PIE_SCRIPT=yes
17 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
19 # Reuse TINY_READONLY_SECTION which is placed right after .plt section.
20 TINY_READONLY_SECTION="
21 .plt.got ${RELOCATING-0} : { *(.plt.got) }
22 .plt.bnd ${RELOCATING-0} : { *(.plt.bnd) }
25 if [ "x${host}" = "x${target}" ]; then
26 case " $EMULATION_LIBPATH " in
27 *" ${EMULATION_NAME} "*)
32 # Linux/Solaris modify the default library search path to first include
33 # a 64-bit specific directory.
35 x86_64*-linux*|i[3-7]86-*-linux-*)
36 case "$EMULATION_NAME" in
39 PARSE_AND_LIST_OPTIONS='
41 -z bndplt Always generate BND prefix in PLT entries\n"));
43 PARSE_AND_LIST_ARGS_CASE_Z='
44 else if (strcmp (optarg, "bndplt") == 0)
45 link_info.bndplt = TRUE;
52 ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"