aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl/elf_chaos.sc
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-08-05 04:29:57 +0000
committerAlan Modra <amodra@gmail.com>2005-08-05 04:29:57 +0000
commit827a1c67ae64ca4502cf515e7cd5dfd7346c8818 (patch)
tree0b5faa4a8594b421ff48f6e91606770326f87238 /ld/scripttempl/elf_chaos.sc
parent34f2aa282eb1c3fc958b9af41ebcaf9b771f7ca3 (diff)
downloadgdb-827a1c67ae64ca4502cf515e7cd5dfd7346c8818.zip
gdb-827a1c67ae64ca4502cf515e7cd5dfd7346c8818.tar.gz
gdb-827a1c67ae64ca4502cf515e7cd5dfd7346c8818.tar.bz2
* 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.sc9
1 files changed, 4 insertions, 5 deletions
diff --git a/ld/scripttempl/elf_chaos.sc b/ld/scripttempl/elf_chaos.sc
index 11e7291..10abf4a 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