This is the mail archive of the
binutils-cvs@sourceware.cygnus.com
mailing list for the binutils project.
binutils/bfd ChangeLog elf-bfd.h elf.c elflink ...
- To: binutils-cvs@sourceware.cygnus.com
- Subject: binutils/bfd ChangeLog elf-bfd.h elf.c elflink ...
- From: mmitchel@sourceware.cygnus.com
- Date: 2 Jul 1999 06:20:10 -0000
CVSROOT: /cvs/binutils
Module name: binutils
Changes by: mmitchel@egcs.cygnus.com 99/07/01 23:20:10
Modified files:
bfd : ChangeLog elf-bfd.h elf.c elflink.h
elf32-mips.c
Log message:
* elf-bfd.h (bfd_elf_section_data): Add rel_count and rel_count2
fields.
(_bfd_elf_init_reloc_shdr): New function.
* elf.c (_bfd_elf_new_section_hook): Use bfd_zalloc, rather than
bfd_alloc followed by memset.
(_bfd_elf_init_reloc_shdr): New function, split out from ...
(elf_fake_sections): Here.
(assign_section_numbers): Assign section numbers for the second
relocation section, if required.
* elflink.h (elf_link_output_relocs): New function.
(elf_link_size_reloc_section): Likewise.
(elf_bfd_final_link): Use elf_link_size_reloc_section.
(elf_link_input_bfd): Use elf_link_output_relocs.
* elf32-mips.c (_bfd_mips_elf_fake_sections): Use
_bfd_elf_init_reloc_shdr to initialize rel_hdr2.