summaryrefslogtreecommitdiff
path: root/bfd/libbfd.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2011-08-05 03:17:09 +0000
committerAlan Modra <amodra@bigpond.net.au>2011-08-05 03:17:09 +0000
commitb4981470b7451b561fc0c5b08ceb63540be84ec3 (patch)
tree53fe38b5cece98cd8bdffe5daa025defae473bf0 /bfd/libbfd.h
parent87cc8c51d2f419a34e7728e02b1803e2a3beba52 (diff)
downloadbinutils-redhat-b4981470b7451b561fc0c5b08ceb63540be84ec3.tar.gz
PR ld/12762
bfd/ * elflink.c (_bfd_elf_section_already_linked): Return matched status. Remove COFF comdat section handling. * linker.c (_bfd_generic_section_already_linked): Return matched status. Don't set SEC_GROUP in l_flags for plugin entries. (bfd_section_already_linked): Update prototype. * targets.c (_section_already_linked): Likewise. * elf-bfd.h (_bfd_elf_section_already_linked): Likewise. * libbfd-in.h (_bfd_generic_section_already_linked): Likewise. (_bfd_nolink_section_already_linked): Update. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. ld/ * plugin.c (add_symbols): Exclude comdat_key symbols from symbol table if already seen.
Diffstat (limited to 'bfd/libbfd.h')
-rw-r--r--bfd/libbfd.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 33069b0d0c..71188dcc1e 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -486,8 +486,8 @@ extern bfd_boolean _bfd_generic_set_section_contents
#define _bfd_nolink_bfd_link_split_section \
((bfd_boolean (*) (bfd *, struct bfd_section *)) bfd_false)
#define _bfd_nolink_section_already_linked \
- ((void (*) (bfd *, struct already_linked*, \
- struct bfd_link_info *)) bfd_void)
+ ((bfd_boolean (*) (bfd *, struct already_linked*, \
+ struct bfd_link_info *)) bfd_false)
#define _bfd_nolink_bfd_define_common_symbol \
((bfd_boolean (*) (bfd *, struct bfd_link_info *, \
struct bfd_link_hash_entry *)) bfd_false)
@@ -607,7 +607,7 @@ extern bfd_boolean _bfd_generic_final_link
extern bfd_boolean _bfd_generic_link_split_section
(bfd *, struct bfd_section *);
-extern void _bfd_generic_section_already_linked
+extern bfd_boolean _bfd_generic_section_already_linked
(bfd *, struct already_linked *, struct bfd_link_info *);
/* Generic reloc_link_order processing routine. */