mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 10:00:51 +00:00
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.
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user