* configure.tgt (sh-*-elf*): New target.
[external/binutils.git] / ld / emulparams / shlelf.sh
1 SCRIPT_NAME=elf
2 OUTPUT_FORMAT="elf32-shl"
3 TEXT_START_ADDR=0x1000
4 MAXPAGESIZE=128
5 ARCH=sh
6 TEMPLATE_NAME=elf32
7 GENERATE_SHLIB_SCRIPT=yes
8 EMBEDDED=yes
9
10 # These are for compatibility with the COFF toolchain.
11 ENTRY=start
12 CTOR_START='___ctors = .;'
13 CTOR_END='___ctors_end = .;'
14 DTOR_START='___dtors = .;'
15 DTOR_END='___dtors_end = .;'
16 OTHER_RELOCATING_SECTIONS='.stack 0x30000 : { _stack = .; *(.stack) }'