]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r257302 (by rea):
authordim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 9 Dec 2014 07:19:24 +0000 (07:19 +0000)
committerdim <dim@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Tue, 9 Dec 2014 07:19:24 +0000 (07:19 +0000)
commitab78ae503687036fa569e5163ada1bd2476c94d3
tree1637b6870a0359c233ba2c69d6961d960985c21c
parent466b37d6aa0dbbd7b01065b0d90e37f56dd2570e
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

Approved by: dim

MFC r275386:

Let GNU ld be less obscure about missing symbols and DSOs.  If the BFD
object looks like a typical shared library, suggest adding '-l<foo>',
where <foo> has the 'lib' prefix and '.so<bar>' or '.a' suffix removed.

Otherwise, suggest adding '-l:<foo>', where <foo> is the full DT_SONAME.

Submitted by: Conrad Meyer <conrad.meyer@isilon.com>
Sponsored by: EMC / Isilon storage division
Reviewed by: emaste
PR: 194296
Differential Revision: https://reviews.freebsd.org/D1152

git-svn-id: svn://svn.freebsd.org/base/stable/9@275632 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
contrib/binutils/bfd/elf32-score.c
contrib/binutils/bfd/elflink.c
contrib/binutils/bfd/po/bfd.pot