bfd_link_add_symbols failure.
* emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
* emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
(gld${EMULATION_NAME}_try_needed): Likewise.
+2013-04-04 Alan Modra <amodra@gmail.com>
+
+ * ldlang.c (load_symbols): Report "error adding symbols" on
+ bfd_link_add_symbols failure.
+ * emultempl/elf32.em (gld${EMULATION_NAME}_try_needed): Likewise.
+ * emultempl/sunos.em (gld${EMULATION_NAME}_after_open): Likewise.
+ (gld${EMULATION_NAME}_try_needed): Likewise.
+
2013-03-27 Georg-Johann Lay <gjl@gcc.gnu.org>
PR ld/13812
/* Add this file into the symbol table. */
if (! bfd_link_add_symbols (abfd, &link_info))
- einfo ("%F%B: could not read symbols: %E\n", abfd);
+ einfo ("%F%B: error adding symbols: %E\n", abfd);
return TRUE;
}
{
/* We've found the needed dynamic object. */
if (! bfd_link_add_symbols (abfd, &link_info))
- einfo ("%F%B: could not read symbols: %E\n", abfd);
+ einfo ("%F%B: error adding symbols: %E\n", abfd);
}
else
{
/* Add this file into the symbol table. */
if (! bfd_link_add_symbols (abfd, &link_info))
- einfo ("%F%B: could not read symbols: %E\n", abfd);
+ einfo ("%F%B: error adding symbols: %E\n", abfd);
return TRUE;
}
substitute BFD for us. */
if (!bfd_link_add_symbols (subsbfd, &link_info))
{
- einfo (_("%F%B: could not read symbols: %E\n"), member);
+ einfo (_("%F%B: error adding symbols: %E\n"), member);
loaded = FALSE;
}
}
if (bfd_link_add_symbols (entry->the_bfd, &link_info))
entry->flags.loaded = TRUE;
else
- einfo (_("%F%B: could not read symbols: %E\n"), entry->the_bfd);
+ einfo (_("%F%B: error adding symbols: %E\n"), entry->the_bfd);
return entry->flags.loaded;
}