1 . ${srcdir}/emulparams/plt_unwind.sh
2 . ${srcdir}/emulparams/extern_protected_data.sh
3 . ${srcdir}/emulparams/dynamic_undefined_weak.sh
4 . ${srcdir}/emulparams/call_nop.sh
7 OUTPUT_FORMAT="elf64-x86-64"
9 TEXT_START_ADDR=0x400000
10 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
11 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
15 GENERATE_SHLIB_SCRIPT=yes
16 GENERATE_PIE_SCRIPT=yes
20 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
22 # Reuse TINY_READONLY_SECTION which is placed right after .plt section.
23 TINY_READONLY_SECTION="
24 .plt.got ${RELOCATING-0} : { *(.plt.got) }
25 .plt.bnd ${RELOCATING-0} : { *(.plt.bnd) }
28 if [ "x${host}" = "x${target}" ]; then
29 case " $EMULATION_LIBPATH " in
30 *" ${EMULATION_NAME} "*)
35 # Linux/Solaris modify the default library search path to first include
36 # a 64-bit specific directory.
38 x86_64*-linux*|i[3-7]86-*-linux-*)
39 case "$EMULATION_NAME" in
42 PARSE_AND_LIST_OPTIONS_BNDPLT='
44 -z bndplt Always generate BND prefix in PLT entries\n"));
46 PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT='
47 else if (strcmp (optarg, "bndplt") == 0)
48 link_info.bndplt = TRUE;
50 PARSE_AND_LIST_OPTIONS="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_BNDPLT"
51 PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT"
57 ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"