aboutsummaryrefslogtreecommitdiff
path: root/bfd/libbfd-in.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-08-05 03:17:12 +0000
committerAlan Modra <amodra@gmail.com>2011-08-05 03:17:12 +0000
commit43e1669b2d187f4b2e4ecdf98a5aac8e9fb10bfd (patch)
tree68647f2f6ce1d2294bd05d4e4ca671d5943b6eee /bfd/libbfd-in.h
parent6177242a84b9139f50d23a2b86ac68da6183e10c (diff)
downloadgdb-43e1669b2d187f4b2e4ecdf98a5aac8e9fb10bfd.zip
gdb-43e1669b2d187f4b2e4ecdf98a5aac8e9fb10bfd.tar.gz
gdb-43e1669b2d187f4b2e4ecdf98a5aac8e9fb10bfd.tar.bz2
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-in.h')
-rw-r--r--bfd/libbfd-in.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h
index 0c98b47..db39f3c 100644
--- a/bfd/libbfd-in.h
+++ b/bfd/libbfd-in.h
@@ -481,8 +481,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)
@@ -602,7 +602,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. */