source ${srcdir}/emulparams/plt_unwind.sh source ${srcdir}/emulparams/extern_protected_data.sh source ${srcdir}/emulparams/call_nop.sh setglobal SCRIPT_NAME = 'elf' setglobal ELFSIZE = '64' setglobal OUTPUT_FORMAT = '"elf64-k1om'" setglobal NO_REL_RELOCS = 'yes' setglobal TEXT_START_ADDR = '0x400000' setglobal MAXPAGESIZE = '"CONSTANT (MAXPAGESIZE)'" setglobal COMMONPAGESIZE = '"CONSTANT (COMMONPAGESIZE)'" setglobal ARCH = '"k1om'" setglobal MACHINE = '' setglobal COMPILE_IN = 'yes' setglobal TEMPLATE_NAME = 'elf32' setglobal GENERATE_SHLIB_SCRIPT = 'yes' setglobal GENERATE_PIE_SCRIPT = 'yes' setglobal NO_SMALL_DATA = 'yes' setglobal LARGE_SECTIONS = 'yes' setglobal LARGE_BSS_AFTER_BSS = '' setglobal SEPARATE_GOTPLT = '"SIZEOF (.got.plt) >= 24 ? 24 : 0'" setglobal IREL_IN_PLT = '' if test "x$(host)" = "x$(target)" { match " $EMULATION_LIBPATH " { with *" ${EMULATION_NAME} "* setglobal NATIVE = 'yes' } } # Linux modifies the default library search path to first include # a 64-bit specific directory. match $target { with *k1om*-linux* match $EMULATION_NAME { with *k1om* setglobal LIBPATH_SUFFIX = '64' } }