1 source_sh
${srcdir}/emulparams
/plt_unwind.sh
2 source_sh
${srcdir}/emulparams
/extern_protected_data.sh
3 source_sh
${srcdir}/emulparams
/dynamic_undefined_weak.sh
4 source_sh
${srcdir}/emulparams
/reloc_overflow.sh
5 source_sh
${srcdir}/emulparams
/call_nop.sh
6 source_sh
${srcdir}/emulparams
/cet.sh
7 source_sh
${srcdir}/emulparams
/x86-report-relative.sh
8 source_sh
${srcdir}/emulparams
/x86-64-level.sh
9 source_sh
${srcdir}/emulparams
/x86-64-plt.sh
10 source_sh
${srcdir}/emulparams
/static.sh
11 source_sh
${srcdir}/emulparams
/dt-relr.sh
14 OUTPUT_FORMAT
="elf32-x86-64"
16 TEXT_START_ADDR
=0x400000
17 MAXPAGESIZE
="CONSTANT (MAXPAGESIZE)"
18 COMMONPAGESIZE
="CONSTANT (COMMONPAGESIZE)"
22 EXTRA_EM_FILE
="elf-x86"
23 GENERATE_SHLIB_SCRIPT
=yes
24 GENERATE_PIE_SCRIPT
=yes
28 SEPARATE_GOTPLT
="SIZEOF (.got.plt) >= 24 ? 24 : 0"
30 # These sections are placed right after .plt section.
32 .plt.got ${RELOCATING-0} : { *(.plt.got) }
33 .plt.sec ${RELOCATING-0} : { *(.plt.sec) }
36 if [ "x${host}" = "x${target}" ]; then
37 case " $EMULATION_LIBPATH " in
38 *" ${EMULATION_NAME} "*)
43 # Linux modifies the default library search path to first include
44 # a 32-bit specific directory.
46 x86_64
*-linux*|i
[3-7]86-*-linux-*)
47 case "$EMULATION_NAME" in
50 LIBPATH_SUFFIX_SKIP
=64