aboutsummaryrefslogtreecommitdiff
path: root/bfd/linker.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-07-14 06:22:57 +0000
committerAlan Modra <amodra@gmail.com>2011-07-14 06:22:57 +0000
commitcbde55ab5d30a4c44d84301527417bbef611eeef (patch)
tree38f2a6d0d0c2fb92518b9405d7085b90c5af5119 /bfd/linker.c
parentf652de6f62870f7dec1b866494cbecef8a04b4ed (diff)
downloadgdb-cbde55ab5d30a4c44d84301527417bbef611eeef.zip
gdb-cbde55ab5d30a4c44d84301527417bbef611eeef.tar.gz
gdb-cbde55ab5d30a4c44d84301527417bbef611eeef.tar.bz2
* linker.c (_bfd_generic_section_already_linked): Set l_flags.
* elf-bfd.h (struct already_linked): Forward declare.
Diffstat (limited to 'bfd/linker.c')
-rw-r--r--bfd/linker.c1
1 files changed, 1 insertions, 0 deletions
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);
}