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-64-level.sh
8 source_sh
${srcdir}/emulparams
/static.sh
11 OUTPUT_FORMAT
="elf32-x86-64"
13 TEXT_START_ADDR
=0x400000
14 MAXPAGESIZE
="CONSTANT (MAXPAGESIZE)"
15 COMMONPAGESIZE
="CONSTANT (COMMONPAGESIZE)"
19 EXTRA_EM_FILE
="elf-x86"
20 GENERATE_SHLIB_SCRIPT
=yes
21 GENERATE_PIE_SCRIPT
=yes
25 SEPARATE_GOTPLT
="SIZEOF (.got.plt) >= 24 ? 24 : 0"
27 # These sections are placed right after .plt section.
29 .plt.got ${RELOCATING-0} : { *(.plt.got) }
30 .plt.sec ${RELOCATING-0} : { *(.plt.sec) }
33 if [ "x${host}" = "x${target}" ]; then
34 case " $EMULATION_LIBPATH " in
35 *" ${EMULATION_NAME} "*)
40 # Linux modifies the default library search path to first include
41 # a 32-bit specific directory.
43 x86_64
*-linux*|i
[3-7]86-*-linux-*)
44 case "$EMULATION_NAME" in
47 LIBPATH_SUFFIX_SKIP
=64