source ${srcdir}/emulparams/plt_unwind.sh source ${srcdir}/emulparams/extern_protected_data.sh source ${srcdir}/emulparams/call_nop.sh setvar SCRIPT_NAME = 'elf' setvar ELFSIZE = '32' setvar OUTPUT_FORMAT = ""elf32-x86-64"" setvar NO_REL_RELOCS = 'yes' setvar TEXT_START_ADDR = '0x400000' setvar MAXPAGESIZE = ""CONSTANT (MAXPAGESIZE)"" setvar COMMONPAGESIZE = ""CONSTANT (COMMONPAGESIZE)"" setvar ARCH = ""i386:x64-32"" setvar MACHINE = '' setvar TEMPLATE_NAME = 'elf32' setvar GENERATE_SHLIB_SCRIPT = 'yes' setvar GENERATE_PIE_SCRIPT = 'yes' setvar NO_SMALL_DATA = 'yes' setvar LARGE_SECTIONS = 'yes' setvar LARGE_BSS_AFTER_BSS = '' setvar SEPARATE_GOTPLT = ""SIZEOF (.got.plt) >= 24 ? 24 : 0"" setvar IREL_IN_PLT = '' if test "x${host}" = "x${target}" { case{ *" ${EMULATION_NAME} "* { setvar NATIVE = 'yes' } } } # Linux modifies the default library search path to first include # a 32-bit specific directory. case (target) { x86_64*-linux*|i[3-7]86-*-linux-* { case (EMULATION_NAME) { *32* { setvar LIBPATH_SUFFIX = 'x32' setvar LIBPATH_SUFFIX_SKIP = '64' } *64* { setvar LIBPATH_SUFFIX = '64' } } } }