diff options
author | H.J. Lu <hjl@lucon.org> | 2005-05-05 16:40:07 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-05-05 16:40:07 +0000 |
commit | 813d0c754d685d5d0bdfcd39a3b77834ff45b3ad (patch) | |
tree | 2edaad36a49af4cd1a01c883288cd51e3a6216d1 /bfd | |
parent | a038eadb1d54fb30ff9296578636867c553d9952 (diff) | |
download | gdb-813d0c754d685d5d0bdfcd39a3b77834ff45b3ad.tar.gz |
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 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elflink.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3856002a4f8..a1c9e8c1af2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 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. 2005-05-05 Paul Brook <paul@codesourcery.com> diff --git a/bfd/elflink.c b/bfd/elflink.c index 833e1f44e5d..abdf68dab8a 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -9883,10 +9883,10 @@ _bfd_elf_provide_section_bound_symbols (struct bfd_link_info *info, 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; |