Define IREL_IN_PLT for elf_k1om.sh and elf_l1om.sh
[external/binutils.git] / ld / emulparams / elf_l1om.sh
1 . ${srcdir}/emulparams/plt_unwind.sh
2 SCRIPT_NAME=elf
3 ELFSIZE=64
4 OUTPUT_FORMAT="elf64-l1om"
5 NO_REL_RELOCS=yes
6 TEXT_START_ADDR=0x400000
7 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
8 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
9 ARCH="l1om"
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 LARGE_BSS_AFTER_BSS=
18 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 24 ? 24 : 0"
19 IREL_IN_PLT=
20
21 if [ "x${host}" = "x${target}" ]; then
22   case " $EMULATION_LIBPATH " in
23     *" ${EMULATION_NAME} "*)
24       NATIVE=yes
25   esac
26 fi
27
28 # Linux modifies the default library search path to first include
29 # a 64-bit specific directory.
30 case "$target" in
31   *l1om*-linux*)
32     case "$EMULATION_NAME" in
33       *l1om*) LIBPATH_SUFFIX=64 ;;
34     esac
35     ;;
36 esac