From: H.J. Lu Date: Mon, 6 Dec 2010 00:49:00 +0000 (+0000) Subject: Add the trailing `\n' to pluin message. X-Git-Tag: cgen-snapshot-20110101~126 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b7f42144490ffbd08c09c4d684ed6a332ff4daf5;p=external%2Fbinutils.git Add the trailing `\n' to pluin message. 2010-12-05 H.J. Lu PR ld/12288 * plugin.c (message): Add the trailing `\n'. --- diff --git a/ld/ChangeLog b/ld/ChangeLog index bb7b5a6..4aed58c 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2010-12-05 H.J. Lu + PR ld/12288 + * plugin.c (message): Add the trailing `\n'. + +2010-12-05 H.J. Lu + * ldfile.c (ldfile_open_file_search): Check maybe_archive instead of is_archive. * emultempl/aix.em: Likewise. diff --git a/ld/plugin.c b/ld/plugin.c index ae9c378..420fcee 100644 --- a/ld/plugin.c +++ b/ld/plugin.c @@ -588,12 +588,14 @@ message (int level, const char *format, ...) default: { char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%F" : "%X", - format, NULL)); + format, "\n", NULL)); vfinfo (stderr, newfmt, args, TRUE); } break; } + fputc('\n', stderr); + va_end (args); return LDPS_OK; }