+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.
+
2005-05-05 H.J. Lu <hongjiu.lu@intel.com>
* bfd-in2.h: Regenerated.
else
{
/* We have to choose those values very carefully. Some targets,
- like alpha, may have relocation overflow with 0. "_edata"
+ like alpha, may have relocation overflow with 0. "__bss_start"
should be defined in all cases. */
struct elf_link_hash_entry *h
- = elf_link_hash_lookup (elf_hash_table (info), "_edata",
+ = elf_link_hash_lookup (elf_hash_table (info), "__bss_start",
FALSE, FALSE, FALSE);
if (h != NULL && h->root.type == bfd_link_hash_defined)
start_val = h->root.u.def.value;
+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.
${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}