aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2013-04-04 14:38:47 +0000
committerAlan Modra <amodra@gmail.com>2013-04-04 14:38:47 +0000
commit8ff4c1f3c9b64444db91fa0630f150cf964d2d81 (patch)
tree79c838ba4fde29c765612f2a59a4ab4a84465cfc /ld/ldlang.c
parentff5ac77bf52737eb247737fcf0f213eaf148cbf8 (diff)
downloadgdb-8ff4c1f3c9b64444db91fa0630f150cf964d2d81.zip
gdb-8ff4c1f3c9b64444db91fa0630f150cf964d2d81.tar.gz
gdb-8ff4c1f3c9b64444db91fa0630f150cf964d2d81.tar.bz2
* 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.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c4
1 files changed, 2 insertions, 2 deletions
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;
}