diff options
author | Alan Modra <amodra@bigpond.net.au> | 2005-08-05 04:29:57 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2005-08-05 04:29:57 +0000 |
commit | 82a5c7921563a3259c7cb689d96b0ff424308687 (patch) | |
tree | 6eceee5642b29c81102ff4126413f4210fbcfbd5 /ld/scripttempl/elf_chaos.sc | |
parent | 076f1780f65fd5849bb95c528e3a940cb7e5af4a (diff) | |
download | binutils-redhat-82a5c7921563a3259c7cb689d96b0ff424308687.tar.gz |
* emulparams/armelf.sh (OTHER_BSS_END_SYMBOLS): Split out from
OTHER_END_SYMBOLS.
* emulparams/armelf_linux.sh: Likewise.
* emulparams/armnto.sh: Likewise.
* emulparams/criself.sh: Likewise.
* emulparams/elf32mcore.sh: Likewise.
* emulparams/criself.sh (OTHER_SYMBOLS): Define.
* emulparams/crislinux.sh (OTHER_SYMBOLS): Define.
(OTHER_END_SYMBOLS): Don't define.
* emulparams/elf32fr30.sh: Likewise.
* emulparams/elf64mmix.sh: Likewise.
* emulparams/hppa64linux.sh: Likewise.
* emulparams/m32relf.sh: Likewise.
* emulparams/vxworks.sh: Likewise.
* scripttempl/armbpabi.sc (OTHER_BSS_SECTIONS): Delete.
(OTHER_BSS_END_SYMBOLS): Add.
(OTHER_END_SYMBOLS): Move before current end sym definitions.
(OTHER_SYMBOLS): Replace OTHER_END_SYMBOLS near end of script.
* scripttempl/elf.sc: Likewise.
* scripttempl/elf32sh-symbian.sc: Likewise.
* scripttempl/elf_chaos.sc: Likewise.
* scripttempl/elfxtensa.sc: Likewise.
* scripttempl/iq2000.sc: Likewise.
* scripttempl/xstormy16.sc: Likewise.
* scripttempl/elf.sc (LBSS, LARGE_SECTIONS): Delete.
(REL_LDATA, REL_LBSS, REL_LRODATA): Delete.
(REL_LARGE, LARGE_SECTIONS): Add.
* emulparams/elf_x86_64.sh (LARGE_SECTIONS): Define as script text.
(REL_LARGE): Define.
* emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
(LARGE_SECTIONS): Define.
* emulparams/hppa64linux.sh (OTHER_BSS_SECTIONS): Don't define.
(LARGE_SECTIONS): Define.
Diffstat (limited to 'ld/scripttempl/elf_chaos.sc')
-rw-r--r-- | ld/scripttempl/elf_chaos.sc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ld/scripttempl/elf_chaos.sc b/ld/scripttempl/elf_chaos.sc index 11e7291183..10abf4a0de 100644 --- a/ld/scripttempl/elf_chaos.sc +++ b/ld/scripttempl/elf_chaos.sc @@ -10,7 +10,6 @@ # OTHER_TEXT_SECTIONS - these get put in .text when relocating # OTHER_READWRITE_SECTIONS - other than .data .bss .ctors .sdata ... # (e.g., .PARISC.global) -# OTHER_BSS_SECTIONS - other than .bss .sbss ... # OTHER_SECTIONS - at the end # EXECUTABLE_SYMBOLS - symbols that must be defined for an # executable (e.g., _DYNAMIC_LINK) @@ -36,7 +35,7 @@ # FINI_START, FINI_END - statements just before and just after # combination of .fini sections. # STACK_ADDR - start of a .stack section. -# OTHER_END_SYMBOLS - symbols to place right at the end of the script. +# OTHER_SYMBOLS - symbols to place right at the end of the script. # # When adding sections, do note that the names of some sections are used # when specifying the start address of the next. @@ -298,10 +297,10 @@ cat <<EOF .bss section disappears because there are no input sections. */ ${RELOCATING+. = ALIGN(${ALIGNMENT});} } - ${OTHER_BSS_SECTIONS} + ${RELOCATING+${OTHER_BSS_END_SYMBOLS}} ${RELOCATING+. = ALIGN(${ALIGNMENT});} - ${RELOCATING+_end = .;} ${RELOCATING+${OTHER_END_SYMBOLS}} + ${RELOCATING+_end = .;} ${RELOCATING+PROVIDE (end = .);} /* Stabs debugging sections. */ @@ -349,6 +348,6 @@ cat <<EOF ${STACK_ADDR+${STACK}} ${OTHER_SECTIONS} - ${RELOCATING+${OTHER_END_SYMBOLS}} + ${RELOCATING+${OTHER_SYMBOLS}} } EOF |