Dimitry Andric
2d764cca51
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
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D1152
2014-12-02 01:30:53 +00:00
Eygene Ryabinkin
4ba4bea936
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 after: 2 weeks
2013-10-29 04:25:49 +00:00
Dimitry Andric
97d40d3d4a
Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings
...
us up to version 2.17.50.20070703, at the last GPLv2 commit.
Amongst others, this added upstream support for some FreeBSD-specific
things that we previously had to manually hack in, such as the OSABI
label support, and so on.
There are also quite a number of new files, some for cpu's (e.g. SPU)
that we may or may not be interested in, but those can be cleaned up
later on, if needed.
2010-11-01 19:35:33 +00:00
Dimitry Andric
dfd2f2d4bb
Merge ^vendor/binutils/dist@214082 into contrib/binutils.
2010-10-21 19:11:14 +00:00
Dimitry Andric
d1728c43cb
Merge ^vendor/binutils/dist@213996 into contrib/binutils. Skip adding
...
any files we do not need, delete some files that were removed upstream,
but keep our own customizations and backports from later binutils.
2010-10-18 20:57:43 +00:00
David E. O'Brien
f51ee0a16d
Rename vendor/binutils/*/contrib to vendor/binutils/*/x
...
Binutils has a "contrib" subdirectory - thus flattening cannot happen
without renaming the upper level contrib directory in a first pass.
Also, don't record this move and remove any keyword expansion.
2009-01-19 17:25:17 +00:00
David E. O'Brien
da03bc7002
Import of Binutils from the FSF 2.15 branch (just post-.0 release).
...
These bits are taken from the FSF anoncvs repo on 23-May-2004 04:41:00 UTC.
2004-06-16 05:45:41 +00:00
David E. O'Brien
898696a8b3
Import of Binutils from the FSF 2.13 branch (just pre-.2 release).
...
These bits are taken from the FSF anoncvs repo on 27-Oct-2002 21:12:00 EST.
2002-12-02 09:06:04 +00:00
David E. O'Brien
88e5f95a93
Import of Binutils from the FSF 2.13 branch (just pre-.1 release).
...
These bits are taken from the FSF anoncvs repo on 11-Oct-2002 22:39:35 PDT.
2002-10-11 06:01:20 +00:00
David E. O'Brien
eb1d121cb5
Import of Binutils from the FSF 2.12 branch (pre-.0 release).
...
These bits are taken from the FSF anoncvs repo on 21-Feburary-2002 20:15 PST.
2002-02-22 04:18:42 +00:00
David E. O'Brien
dbbf32dd39
Enlist the FreeBSD-CURRENT users as testers of what is to become Binutils
...
version 2.12.0. These bits are taken from the FSF anoncvs repo on
27-January-2002 03:41 PST.
2002-01-27 12:00:11 +00:00
David E. O'Brien
e3bf29e1d6
Import of Binutils from the FSF 2.11 branch [checked out 19-July-2001].
...
This fixes an annoying `ld' bug.
2001-07-20 03:29:51 +00:00
David E. O'Brien
fd66bf0071
Import of GNU Binutils version 2.11.2.
2001-06-26 16:57:43 +00:00
David E. O'Brien
c9edceadd8
Import of GNU Binutils version 2.11.0.
...
Believe it or not, this is heavily stripped down.
2001-05-28 05:21:37 +00:00
David E. O'Brien
78ce21c1df
Import of Binutils 2.10 snapshot.
2000-05-12 23:15:20 +00:00