diff options
author | Alan Modra <amodra@bigpond.net.au> | 2013-04-04 14:38:46 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2013-04-04 14:38:46 +0000 |
commit | 028a10b8cc1d9bb1e1b90363216fe4d1838f9aeb (patch) | |
tree | 945ea9a000d0899d01812eefedef941126fe03ac /ld/emultempl | |
parent | d1cca8cb444be73e9f3d04041f23181b459bada9 (diff) | |
download | binutils-redhat-028a10b8cc1d9bb1e1b90363216fe4d1838f9aeb.tar.gz |
* 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')
-rw-r--r-- | ld/emultempl/elf32.em | 2 | ||||
-rw-r--r-- | ld/emultempl/sunos.em | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index 32662e5fb6..ea7bad08e7 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -447,7 +447,7 @@ fragment <<EOF /* 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; } diff --git a/ld/emultempl/sunos.em b/ld/emultempl/sunos.em index d7cd3e8352..af11027a73 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; } |