diff options
author | Alan Modra <amodra@gmail.com> | 2017-02-20 13:25:13 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-02-20 19:33:28 +1030 |
commit | 74dc9032e79b7950095ee5f94f5517209ef4747e (patch) | |
tree | 4cd2fe2d3c2216cb646a0c02d591f7461d62efd4 /ld/scripttempl/elfarc.sc | |
parent | ece5dcc1c00a48ecf63eae71983d04270cef4280 (diff) | |
download | gdb-74dc9032e79b7950095ee5f94f5517209ef4747e.zip gdb-74dc9032e79b7950095ee5f94f5517209ef4747e.tar.gz gdb-74dc9032e79b7950095ee5f94f5517209ef4747e.tar.bz2 |
Move .stack before debug sections
PR 20199
* emulparams/elf32m32c.sh: Define STACK_ADDR and STACK_SENTINEL
rather than using OTHER_SECTIONS.
* emulparams/elf32mt.sh: Likewise.
* emulparams/elf32rx.sh: Likewise.
* emulparams/elf32rl78.sh: Likewise. Use OTHER_SYMBOLS to
define __rl78_abs__.
* emulparams/shelf.sh: Define STACK_ADDR and STACK_SENTINEL
rather than using OTHER_SECTIONS.
* emulparams/shelf32.sh: Likewise. Use OTHER_SECTIONS for .cranges.
* emulparams/shelf64.sh: Unset OTHER_SECTIONS.
* emulparams/shelf_nbsd.sh: Unset STACK_ADDR not OTHER_SECTIONS.
* emulparams/shelf_uclinux.sh: Likewise.
* emulparams/shlsymbian.sh: Unset STACK_ADDR. Use OTHER_SYMBOLS
to define _stack, not OTHER_SECTIONS.
* scripttempl/elf.sc: Move STACK, TINY_DATA_SECTION, and
TINY_BSS_SECTION before debug sections. Add STACK_SENTINEL.
* scripttempl/arclinux.sc: Likewise.
* scripttempl/elf64hppa.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/nds32elf.sc: Likewise.
* scripttempl/armbpabi.sc: Move STACK before debug sections.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfarc.sc: Delete STACK.
* scripttempl/epiphany_4x4.sc: Delete STACK. Move TINY_DATA_SECTION,
TINY_BSS_SECTION, and .stack before debug sections.
Diffstat (limited to 'ld/scripttempl/elfarc.sc')
-rw-r--r-- | ld/scripttempl/elfarc.sc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ld/scripttempl/elfarc.sc b/ld/scripttempl/elfarc.sc index 9d1e139..6754c02 100644 --- a/ld/scripttempl/elfarc.sc +++ b/ld/scripttempl/elfarc.sc @@ -433,7 +433,6 @@ cat <<EOF /* ARC Extension Sections */ .arcextmap 0 : { *(.gnu.linkonce.arcextmap.*) } - ${STACK_ADDR+${STACK}} ${OTHER_SECTIONS} ${RELOCATING+${OTHER_END_SYMBOLS}} ${RELOCATING+${STACKNOTE}} |