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