]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - ld/emulparams/shelf64.sh
* emulparams/shelf32.sh: Set default stack to 0x80000.
[thirdparty/binutils-gdb.git] / ld / emulparams / shelf64.sh
CommitLineData
2d92cb7d
AO
1# Note: this is sourced in turn by shlelf64.sh
2OUTPUT_FORMAT=${OUTPUT_FORMAT-"elf64-sh64"}
3ELFSIZE=64
4
5EXTRA_EM_FILE=
6. ${srcdir}/emulparams/shelf32.sh
7
8# We do not need .cranges
8a1cb159 9test -z "$CREATE_SHLIB" && OTHER_SECTIONS="
30bebb95 10 .stack ${RELOCATING-0}${RELOCATING+(DEFINED(_stack) ? _stack : ALIGN (0x40000) + 0x80000)} :
3a51fda6
JR
11 {
12 ${RELOCATING+_stack = .;}
13 *(.stack)
14 LONG(0xdeaddead)
15 }
16"
8a1cb159
KK
17# We do not need .stack for shared library.
18test -n "$CREATE_SHLIB" && OTHER_SECTIONS=""