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
6 . ${srcdir}/emulparams/cet.sh
9 OUTPUT_FORMAT="elf64-x86-64"
11 TEXT_START_ADDR=0x400000
12 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
13 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
17 GENERATE_SHLIB_SCRIPT=yes
18 GENERATE_PIE_SCRIPT=yes
22 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
24 # These sections are placed right after .plt section.
26 .plt.got ${RELOCATING-0} : { *(.plt.got) }
27 .plt.sec ${RELOCATING-0} : { *(.plt.sec) }
30 if [ "x${host}" = "x${target}" ]; then
31 case " $EMULATION_LIBPATH " in
32 *" ${EMULATION_NAME} "*)
37 # Linux/Solaris modify the default library search path to first include
38 # a 64-bit specific directory.
40 x86_64*-linux*|i[3-7]86-*-linux-*)
41 case "$EMULATION_NAME" in
44 PARSE_AND_LIST_OPTIONS_BNDPLT='
46 -z bndplt Always generate BND prefix in PLT entries\n"));
48 PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT='
49 else if (strcmp (optarg, "bndplt") == 0)
50 link_info.bndplt = TRUE;
52 PARSE_AND_LIST_OPTIONS="$PARSE_AND_LIST_OPTIONS $PARSE_AND_LIST_OPTIONS_BNDPLT"
53 PARSE_AND_LIST_ARGS_CASE_Z="$PARSE_AND_LIST_ARGS_CASE_Z $PARSE_AND_LIST_ARGS_CASE_Z_BNDPLT"
59 ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"