1. ${srcdir}/emulparams/plt_unwind.sh
2. ${srcdir}/emulparams/extern_protected_data.sh
3. ${srcdir}/emulparams/dynamic_undefined_weak.sh
4. ${srcdir}/emulparams/call_nop.sh
5SCRIPT_NAME=elf
6ELFSIZE=64
7OUTPUT_FORMAT="elf64-k1om"
8CHECK_RELOCS_AFTER_OPEN_INPUT=yes
9NO_REL_RELOCS=yes
10TEXT_START_ADDR=0x400000
11MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
12COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
13ARCH="k1om"
14MACHINE=
15COMPILE_IN=yes
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 64-bit specific directory.
34case "$target" in
35  *k1om*-linux*)
36    case "$EMULATION_NAME" in
37      *k1om*) LIBPATH_SUFFIX=64 ;;
38    esac
39    ;;
40esac
41