diff options
author | Alan Modra <amodra@gmail.com> | 2011-07-14 06:22:57 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2011-07-14 06:22:57 +0000 |
commit | cbde55ab5d30a4c44d84301527417bbef611eeef (patch) | |
tree | 38f2a6d0d0c2fb92518b9405d7085b90c5af5119 | |
parent | f652de6f62870f7dec1b866494cbecef8a04b4ed (diff) | |
download | gdb-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.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf-bfd.h | 1 | ||||
-rw-r--r-- | bfd/linker.c | 1 |
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); } |