diff --git a/ld/ChangeLog b/ld/ChangeLog index bb7b5a6a78..4aed58ca46 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +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 diff --git a/ld/plugin.c b/ld/plugin.c index ae9c378c1a..420fcee16f 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; }