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