From 8ff4c1f3c9b64444db91fa0630f150cf964d2d81 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 4 Apr 2013 14:38:47 +0000 Subject: * 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. --- ld/ldlang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ld/ldlang.c') diff --git a/ld/ldlang.c b/ld/ldlang.c index 08aa32a..645c26c 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -2781,7 +2781,7 @@ load_symbols (lang_input_statement_type *entry, 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; } } @@ -2795,7 +2795,7 @@ load_symbols (lang_input_statement_type *entry, 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; } -- cgit v1.1