Fix SH GOT allocation in the presence of linker garbage collection.
[deliverable/binutils-gdb.git] / ld / emulparams / elf_iamcu.sh
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
5 SCRIPT_NAME=elf
6 OUTPUT_FORMAT="elf32-iamcu"
7 CHECK_RELOCS_AFTER_OPEN_INPUT=yes
8 NO_RELA_RELOCS=yes
9 TEXT_START_ADDR=0x08048000
10 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
11 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
12 ARCH=iamcu
13 MACHINE=
14 COMPILE_IN=yes
15 TEMPLATE_NAME=elf32
16 GENERATE_SHLIB_SCRIPT=yes
17 GENERATE_PIE_SCRIPT=yes
18 NO_SMALL_DATA=yes
19 SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 12 ? 12 : 0"
20 IREL_IN_PLT=
21 # Reuse TINY_READONLY_SECTION which is placed right after .plt section.
22 TINY_READONLY_SECTION="
23 .plt.got ${RELOCATING-0} : { *(.plt.got) }
24 "
25
26 # Linux modify the default library search path to first include
27 # a 32-bit specific directory.
28 case "$target" in
29 x86_64*-linux* | i[3-7]86*-linux*)
30 case "$EMULATION_NAME" in
31 *i386*)
32 LIBPATH_SUFFIX=32
33 LIBPATH_SUFFIX_SKIP=64
34 ;;
35 esac
36 ;;
37 esac
This page took 0.035228 seconds and 4 git commands to generate.