A plugin can change the element, so call the generic
bfd_link_add_symbols.
PR 24596
* cofflink.c (coff_link_check_archive_element): Don't assume
element is a coff object file after calling add_archive_element.
+2019-05-28 Alan Modra <amodra@gmail.com>
+
+ PR 24596
+ * cofflink.c (coff_link_check_archive_element): Don't assume
+ element is a coff object file after calling add_archive_element.
+
2019-05-28 Alan Modra <amodra@gmail.com>
PR 24596
return TRUE;
*pneeded = TRUE;
- return coff_link_add_object_symbols (abfd, info);
+ return bfd_link_add_symbols (abfd, info);
}
/* Add all the symbols from an object file to the hash table. */