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