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