diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-04 13:20:56 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-04 13:20:56 +0000 |
commit | c97e73ddb6b22ae6c144be204b91cef07525acfd (patch) | |
tree | 712ebbdee0bdbee914dc15de13e1637264474831 /bfd/ChangeLog | |
parent | f1ef08cb0196f806d980f98663c3d924f43eba28 (diff) | |
download | gdb-c97e73ddb6b22ae6c144be204b91cef07525acfd.zip gdb-c97e73ddb6b22ae6c144be204b91cef07525acfd.tar.gz gdb-c97e73ddb6b22ae6c144be204b91cef07525acfd.tar.bz2 |
* elflink.h (struct elf_final_link_info): Add shndxbuf_size.
(elf_bfd_final_link): Don't bother zeroing symtab_hdr fields.
Set up a larger symshndxbuf, and write it out. Free it on
exit rather than freeing symbuf twice. Correct section index
on output section symbol loop.
(elf_link_output_sym): Accumulate symbol extension section
indices, reallocating symshndxbuf rather than writing it out.
(elf_link_flush_output_syms): Don't flush symshndxbuf.
* elf.c (assign_section_numbers): Init i_shdrp to all zero.
Use bfd_zalloc to clear i_shdrp[0] too.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 76ff507..9f57dc2 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,17 @@ +2002-11-04 Alan Modra <amodra@bigpond.net.au> + Hans-Peter Nilsson <hp@axis.com> + + * elflink.h (struct elf_final_link_info): Add shndxbuf_size. + (elf_bfd_final_link): Don't bother zeroing symtab_hdr fields. + Set up a larger symshndxbuf, and write it out. Free it on + exit rather than freeing symbuf twice. Correct section index + on output section symbol loop. + (elf_link_output_sym): Accumulate symbol extension section + indices, reallocating symshndxbuf rather than writing it out. + (elf_link_flush_output_syms): Don't flush symshndxbuf. + * elf.c (assign_section_numbers): Init i_shdrp to all zero. + Use bfd_zalloc to clear i_shdrp[0] too. + 2002-11-03 Stephen Clarke <stephen.clarke@earthling.net> * elf32-sh64-com.c (sh64_address_in_cranges): Use |