1. ${srcdir}/emulparams/plt_unwind.sh
2SCRIPT_NAME=elf
3ELFSIZE=64
4OUTPUT_FORMAT="elf64-k1om"
5NO_REL_RELOCS=yes
6TEXT_START_ADDR=0x400000
7MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
8COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
9ARCH="k1om"
10MACHINE=
11COMPILE_IN=yes
12TEMPLATE_NAME=elf32
13GENERATE_SHLIB_SCRIPT=yes
14GENERATE_PIE_SCRIPT=yes
15NO_SMALL_DATA=yes
16LARGE_SECTIONS=yes
17LARGE_BSS_AFTER_BSS=
18SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
19IREL_IN_PLT=
20
21if [ "x${host}" = "x${target}" ]; then
22  case " $EMULATION_LIBPATH " in
23    *" ${EMULATION_NAME} "*)
24      NATIVE=yes
25  esac
26fi
27
28# Linux modifies the default library search path to first include
29# a 64-bit specific directory.
30case "$target" in
31  *k1om*-linux*)
32    case "$EMULATION_NAME" in
33      *k1om*) LIBPATH_SUFFIX=64 ;;
34    esac
35    ;;
36esac
37