aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-12-06 02:28:31 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-12-06 02:28:31 +0000
commit7990daecfc90f458631df31ffc4d56b42957e32f (patch)
tree682301b6b2143797b591eff5a6e38508d46f4c21 /ld
parentd357cef7845e8fa0d39555ea816c6937dca8cd78 (diff)
downloadfsf-binutils-gdb-7990daecfc90f458631df31ffc4d56b42957e32f.zip
fsf-binutils-gdb-7990daecfc90f458631df31ffc4d56b42957e32f.tar.gz
fsf-binutils-gdb-7990daecfc90f458631df31ffc4d56b42957e32f.tar.bz2
Add a space after `:' in plugin error message.
2010-12-05 H.J. Lu <hongjiu.lu@intel.com> * plugin.c (message): Add a space after `:' in error message.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/plugin.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index eeefd33..63858ee 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,9 @@
2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
+ * plugin.c (message): Add a space after `:' in error message.
+
+2010-12-05 H.J. Lu <hongjiu.lu@intel.com>
+
* plugin.c (asymbol_from_plugin_symbol): Add the trailing `\n'
to einfo.
(get_symbols): Likewise.
diff --git a/ld/plugin.c b/ld/plugin.c
index 8c919b6..34d76bd 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -587,7 +587,8 @@ message (int level, const char *format, ...)
case LDPL_ERROR:
default:
{
- char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%P%F:" : "%P%X:",
+ char *newfmt = ACONCAT ((level == LDPL_FATAL
+ ? "%P%F: " : "%P%X: ",
format, "\n", NULL));
vfinfo (stderr, newfmt, args, TRUE);
}