aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf-bfd.h1
-rw-r--r--bfd/linker.c1
3 files changed, 7 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0d70d2d..cec63cd 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
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.
(_bfd_elf_adjust_dynamic_symbol): Remove FIXME.
diff --git a/bfd/elf-bfd.h b/bfd/elf-bfd.h
index 08da2ae..bf63ee8 100644
--- a/bfd/elf-bfd.h
+++ b/bfd/elf-bfd.h
@@ -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
diff --git a/bfd/linker.c b/bfd/linker.c
index 492e774..8700c05 100644
--- a/bfd/linker.c
+++ b/bfd/linker.c
@@ -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);
}