aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-12-06 20:25:49 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-12-06 20:25:49 +0000
commitd9b214634821128048e319c8d24c4640dab19dd2 (patch)
treecb99cb7edfae079ccf70f15d2209aa9ed53c6d7c
parent8e0e408ae67929c13582e95db3f037627b83947f (diff)
downloadfsf-binutils-gdb-d9b214634821128048e319c8d24c4640dab19dd2.zip
fsf-binutils-gdb-d9b214634821128048e319c8d24c4640dab19dd2.tar.gz
fsf-binutils-gdb-d9b214634821128048e319c8d24c4640dab19dd2.tar.bz2
Use putchar for the trailing `\n' in plugin message.
bfd/ 2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> PR ld/12288 * plugin.c (message): Add putchar for the trailing `\n'. ld/ 2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com> PR ld/12288 * plugin.c (message): Use putchar for the trailing `\n'.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/plugin.c1
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/plugin.c2
4 files changed, 12 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 16f5536..009a020 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
+
+ PR ld/12288
+ * plugin.c (message): Add putchar for the trailing `\n'.
+
2010-12-04 Mike Frysinger <vapier@gentoo.org>
* Makefile.am (!INSTALL_LIBBFD/bfdinclude_HEADERS): Set to nothing.
diff --git a/bfd/plugin.c b/bfd/plugin.c
index a46bf90..61cd687 100644
--- a/bfd/plugin.c
+++ b/bfd/plugin.c
@@ -78,6 +78,7 @@ message (int level ATTRIBUTE_UNUSED,
va_start (args, format);
printf ("bfd plugin: ");
vprintf (format, args);
+ putchar ('\n');
va_end (args);
return LDPS_OK;
}
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 3d20061..e4140e6 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2010-12-06 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
+
+ PR ld/12288
+ * plugin.c (message): Use putchar for the trailing `\n'.
+
2010-12-06 H.J. Lu <hongjiu.lu@intel.com>
Dmitry Gorbachev <d.g.gorbachev@gmail.com>
diff --git a/ld/plugin.c b/ld/plugin.c
index 2950295..db31596 100644
--- a/ld/plugin.c
+++ b/ld/plugin.c
@@ -598,7 +598,7 @@ message (int level, const char *format, ...)
break;
}
- fputc('\n', stderr);
+ putchar('\n');
va_end (args);
return LDPS_OK;