1# $MirOS: src/gnu/usr.bin/binutils/ld/emulparams/shelf64.sh,v 1.2 2005/03/13 16:07:05 tg Exp $
2#
3# Note: this is sourced in turn by shlelf64.sh
4OUTPUT_FORMAT=${OUTPUT_FORMAT-"elf64-sh64"}
5ELFSIZE=64
6
7EXTRA_EM_FILE=
8. ${srcdir}/emulparams/shelf32.sh
9
10# We do not need .cranges
11test -z "$CREATE_SHLIB" && OTHER_SECTIONS="
12 .stack ${RELOCATING-0}${RELOCATING+\(DEFINED\(_stack\) ? _stack : ALIGN \(0x40000\) + 0x40000\)} :
13  {
14    ${RELOCATING+_stack = .;}
15    *(.stack)
16    LONG(0xdeaddead)
17  }
18"
19# We do not need .stack for shared library.
20test -n "$CREATE_SHLIB" && OTHER_SECTIONS=""
21