aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-05-05 16:40:11 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-05-05 16:40:11 +0000
commit01d9ad14d45872a6f97b7ca0599603cec06e1c63 (patch)
tree266287f220051f3de14d8a49ee6a900a6bb9656b /ld
parent1ec472446e18a4c65e9d2ad1f861bb969ba1a6e5 (diff)
downloadgdb-01d9ad14d45872a6f97b7ca0599603cec06e1c63.zip
gdb-01d9ad14d45872a6f97b7ca0599603cec06e1c63.tar.gz
gdb-01d9ad14d45872a6f97b7ca0599603cec06e1c63.tar.bz2
bfd/
2005-05-05 H.J. Lu <hongjiu.lu@intel.com> * elflink.c (_bfd_elf_provide_section_bound_symbols): Use "__bss_start" instead of "_edata" as fallback. ld/ 2005-05-05 H.J. Lu <hongjiu.lu@intel.com> * scripttempl/elf.sc: Document the usage of __bss_start.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/elf.sc2
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 8dd6a9e..3304c08 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
+
+ * scripttempl/elf.sc: Document the usage of __bss_start.
+
2005-05-05 Paul Brook <paul@codesourcery.com>
* Makefile.am: Add eelf_i386_vxworks.
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index cba97eb..df79e7c 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -376,6 +376,8 @@ cat <<EOF
${SDATA}
${OTHER_SDATA_SECTIONS}
${RELOCATING+${DATA_END_SYMBOLS-_edata = .; PROVIDE (edata = .);}}
+ /* __bss_start is used by _bfd_elf_provide_section_bound_symbols in
+ elflink.c. */
${RELOCATING+__bss_start = .;}
${RELOCATING+${OTHER_BSS_SYMBOLS}}
${SBSS}