From: H.J. Lu Date: Mon, 6 Dec 2010 00:59:14 +0000 (+0000) Subject: Add `%P' on error in plugin message. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ac96fb5a82797abaac47741ea3cb4103e6574fe;p=binutils-gdb.git Add `%P' on error in plugin message. --- diff --git a/ld/plugin.c b/ld/plugin.c index 1832e494060..8c919b6c710 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); }