summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/bfd/po
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-10-17 16:23:36 +0000
committeremaste <emaste@FreeBSD.org>2014-10-17 16:23:36 +0000
commit9ea4006705a4a9b7d821116e2c3df38ce843975d (patch)
treefe938c9b53ba44cc539d90627ef17481d0294151 /contrib/binutils/bfd/po
parentb183e8b3c43da8a7919e0a8943f2d384a2d16700 (diff)
downloadFreeBSD-src-9ea4006705a4a9b7d821116e2c3df38ce843975d.zip
FreeBSD-src-9ea4006705a4a9b7d821116e2c3df38ce843975d.tar.gz
MFC r257302 by rea:
binutils/bfd: fix printf-like format strings for "bfd *" arguments There is a special format argument '%B' that directly handles values of type 'bfd *', they must be used instead of '%s'. Manifestations of this bug can be seen in ld(1) error messages, for example, http://lists.freebsd.org/pipermail/freebsd-current/2013-August/043580.html http://lists.freebsd.org/pipermail/freebsd-current/2013-October/045404.html
Diffstat (limited to 'contrib/binutils/bfd/po')
-rw-r--r--contrib/binutils/bfd/po/bfd.pot4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/bfd/po/bfd.pot b/contrib/binutils/bfd/po/bfd.pot
index a01ee37..e528238 100644
--- a/contrib/binutils/bfd/po/bfd.pot
+++ b/contrib/binutils/bfd/po/bfd.pot
@@ -1572,7 +1572,7 @@ msgstr ""
#: elf32-score.c:2549
#, c-format
-msgid "%s: Malformed reloc detected for section %s"
+msgid "%B: Malformed reloc detected for section %s"
msgstr ""
#: elf32-score.c:2600
@@ -2440,7 +2440,7 @@ msgstr ""
#: elflink.c:4309
#, c-format
-msgid "%s: invalid DSO for symbol `%s' definition"
+msgid "%B: invalid DSO for symbol `%s' definition"
msgstr ""
#: elflink.c:5535
OpenPOWER on IntegriCloud