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