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
6SCRIPT_NAME=elf
7ELFSIZE=32
8OUTPUT_FORMAT="elf32-x86-64"
9CHECK_RELOCS_AFTER_OPEN_INPUT=yes
10NO_REL_RELOCS=yes
11TEXT_START_ADDR=0x400000
12MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
13COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
14ARCH="i386:x64-32"
15MACHINE=
16TEMPLATE_NAME=elf32
17GENERATE_SHLIB_SCRIPT=yes
18GENERATE_PIE_SCRIPT=yes
19NO_SMALL_DATA=yes
20LARGE_SECTIONS=yes
21LARGE_BSS_AFTER_BSS=
22SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
23IREL_IN_PLT=
24
25if [ "x${host}" = "x${target}" ]; then
26  case " $EMULATION_LIBPATH " in
27    *" ${EMULATION_NAME} "*)
28      NATIVE=yes
29  esac
30fi
31
32# Linux modifies the default library search path to first include
33# a 32-bit specific directory.
34case "$target" in
35  x86_64*-linux*|i[3-7]86-*-linux-*)
36    case "$EMULATION_NAME" in
37      *32*)
38        LIBPATH_SUFFIX=x32
39	LIBPATH_SUFFIX_SKIP=64
40	;;
41      *64*)
42        LIBPATH_SUFFIX=64
43	;;
44    esac
45    ;;
46esac
47