* linker.c (_bfd_generic_section_already_linked): Set l_flags.

* elf-bfd.h (struct already_linked): Forward declare.
This commit is contained in:
Alan Modra 2011-07-14 06:22:57 +00:00
parent f652de6f62
commit cbde55ab5d
3 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-07-14 Alan Modra <amodra@gmail.com>
* linker.c (_bfd_generic_section_already_linked): Set l_flags.
* elf-bfd.h (struct already_linked): Forward declare.
2011-07-14 Alan Modra <amodra@gmail.com>
* elflink.c (_bfd_elf_fix_symbol_flags): Loop on indirect syms.

View File

@ -1797,6 +1797,7 @@ extern bfd_boolean _bfd_elf_match_sections_by_type
(bfd *, const asection *, bfd *, const asection *);
extern bfd_boolean bfd_elf_is_group_section
(bfd *, const struct bfd_section *);
struct already_linked;
extern void _bfd_elf_section_already_linked
(bfd *, struct already_linked *, struct bfd_link_info *);
extern void bfd_elf_set_group_contents

View File

@ -3057,6 +3057,7 @@ _bfd_generic_section_already_linked (bfd *abfd,
{
l_sec = l->linked.u.sec;
l_owner = l_sec->owner;
l_flags = l_sec->flags;
l_comdat = bfd_coff_get_comdat_section (l_sec->owner, l_sec);
}