summaryrefslogtreecommitdiff
path: root/ld/emulparams/shelf64.sh
blob: 5037f350187c517e0e7cd3d0da9974c369767ac9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Note: this is sourced in turn by shlelf64.sh
OUTPUT_FORMAT=${OUTPUT_FORMAT-"elf64-sh64"}
ELFSIZE=64

EXTRA_EM_FILE=
. ${srcdir}/emulparams/shelf32.sh

# We do not need .cranges
test -z "$CREATE_SHLIB" && OTHER_SECTIONS="
 .stack ${RELOCATING-0}${RELOCATING+(DEFINED(_stack) ? _stack : ALIGN (0x40000) + 0x80000)} :
  {
    ${RELOCATING+_stack = .;}
    *(.stack)
    LONG(0xdeaddead)
  }
"
# We do not need .stack for shared library.
test -n "$CREATE_SHLIB" && OTHER_SECTIONS=""