------- Additional Comments From hjl dot tools at gmail dot com 2008-10-01
23:15 -------
The bug is in bfd_elf_set_group_contents:
symindx = 0;
if (elf_group_id (sec) != NULL)
symindx = elf_group_id (sec)->udata.i;
if (symindx == 0)
{
/* If called from the assembler, swap_out_syms will have set up
elf_section_syms; If called for "ld -r", use target_index. */
if (elf_section_syms (abfd) != NULL)
symindx = elf_section_syms (abfd)[sec->index]->udata.i;
else
symindx = sec->target_index;
}
elf_section_data (sec)->this_hdr.sh_info = symindx;
"ld -r" is incorrect. We need to find the symbol index for
group signature which isn't the same as the section name.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6931
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils