This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: reloc_count problem in the linker
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Wed, 19 Mar 2003 20:06:16 +1030
- Subject: Re: reloc_count problem in the linker
- References: <20030318152815.Z1717@sunsite.ms.mff.cuni.cz>
On Tue, Mar 18, 2003 at 03:28:15PM +0100, Jakub Jelinek wrote:
> APIs, _bfd_elfNN_link_read_relocs which stores the relocations in
> elf_section_data (sec)->relocs array and their count into sec->reloc_count
> and bfd_canonicalize_reloc which stores the relocations in sec->relocation
> and their count into sec->reloc_count.
Stop using sec->reloc_count for ELF relocs, perhaps. We already
have elf_section_data(sec)->rel_count and
elf_section_data(sec)->rel_count2
--
Alan Modra
IBM OzLabs - Linux Technology Centre