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