mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
8a1cb15917
section for shared library. * emulparams/shelf32.sh (OTHER_SECTIONS): Likewise. * emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.
19 lines
481 B
Bash
19 lines
481 B
Bash
# 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) + 0x40000)} :
|
|
{
|
|
${RELOCATING+_stack = .;}
|
|
*(.stack)
|
|
LONG(0xdeaddead)
|
|
}
|
|
"
|
|
# We do not need .stack for shared library.
|
|
test -n "$CREATE_SHLIB" && OTHER_SECTIONS=""
|