aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/sunos.em
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/emultempl/sunos.em
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/emultempl/sunos.em')
-rw-r--r--ld/emultempl/sunos.em4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em
index d7cd3e8..af11027 100644
--- a/ld/emultempl/sunos.em
+++ b/ld/emultempl/sunos.em
@@ -429,7 +429,7 @@ gld${EMULATION_NAME}_after_open (void)
{
/* 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
{
@@ -576,7 +576,7 @@ gld${EMULATION_NAME}_try_needed (const char *dir, const char *name)
/* 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;
}