http://sourceware.org/bugzilla/show_bug.cgi?id=13991
--- Comment #9 from Joel Sherrill <joel.sherrill at oarcorp dot com> 2012-04-23 20:36:37 UTC --- $ git bisect bad 8b6ed5b4da2a02a7cefa7db05e99cce952cbcd54 is the first bad commit commit 8b6ed5b4da2a02a7cefa7db05e99cce952cbcd54 Author: Alan Modra <amo...@bigpond.net.au> Date: Sat Jul 9 06:20:50 2011 +0000 PR ld/12942 bfd/ * elflink.c (elf_link_add_object_symbols): Use elf_discarded_section rather than kept_section to determine whether a symbol is from a discarded section. * cofflink.c (coff_link_add_symbols): Make symbols from discarded sections appear undefined. * elf-bfd.h (_bfd_elf_section_already_linked): Replace "asection *" with "struct already_linked *". * libbfd-in.h (_bfd_nolink_section_already_linked): Likewise. (_bfd_generic_section_already_linked): Likewise. (bfd_section_already_linked_table_insert): Likewise. (struct already_linked): New. (struct bfd_section_already_linked): Use it. * elflink.c (_bfd_elf_section_already_linked): Replace. "asection *" with "struct already_linked *". Replace the plugin dummy with the LTO output. * linker.c (_bfd_generic_section_already_linked): Likewise. * targets.c (struct already_linked): Add forward declaration. (bfd_target): Replace "struct bfd_section *" with "struct already_linked *" in _section_already_linked. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. include/ * bfdlink.h (bfd_link_info): Add loading_lto_outputs. ld/ * ldlang.c (section_already_linked): Pass "struct already_linked *" to bfd_section_already_linked. (lang_process): Set link_info.loading_lto_outputs before loading LTO outputs. * plugin.c: Include "libbfd.h". (add_symbols): Call bfd_section_already_linked with comdat_key. :040000 040000 b74c43ec7468f632b6a9d46d8fdd8097c1d9a004 1ee60c94c23664ee75221d3d778704ecd60c6b41 M bfd :040000 040000 8fbaed852e51637be17fcd0fdf4d841df8399c26 108b5ddd493c9e4de599ba753f97d50b79d26522 M include :040000 040000 9251eb9c0bb7ca6c4fa6574d8f42551c5e1055e0 1f402ac26f7639b97146c3368964a712a0f3d0a0 M ld -- Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils