From: H.J. Lu Date: Mon, 6 Dec 2010 00:59:14 +0000 (+0000) Subject: Add `%P' on error in plugin message. X-Git-Tag: cgen-snapshot-20110101~123 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7ac96fb5a82797abaac47741ea3cb4103e6574fe;p=external%2Fbinutils.git Add `%P' on error in plugin message. --- diff --git a/ld/plugin.c b/ld/plugin.c index 1832e49..8c919b6 100644 --- a/ld/plugin.c +++ b/ld/plugin.c @@ -587,7 +587,7 @@ message (int level, const char *format, ...) case LDPL_ERROR: default: { - char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%F" : "%X", + char *newfmt = ACONCAT ((level == LDPL_FATAL ? "%P%F:" : "%P%X:", format, "\n", NULL)); vfinfo (stderr, newfmt, args, TRUE); }