reloc_count problem in the linker

Alan Modra amodra@bigpond.net.au
Wed Mar 19 09:36:00 GMT 2003


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



More information about the Binutils mailing list