freebsd-dev/contrib
Tijl Coosemans caf5f7a84c In r253839 the default behaviour of ld(1) was changed such that all
libraries that need to be linked into an executable or library have to be
listed on the command line explicitly.  This commit fixes a bug in ld(1)
where it would scan dependencies of the libraries on the command line and
link them if needed if they were also found in ld.so.cache.

The important bit of the patch is the initialisation of needed.by such that
libraries found by scanning dependencies are marked as such and not used in
the link.

The patch is a backport of binutils git commit
d5c8b1f8561426b41aa5330ed60f578178fe6be2

The author gave permission to use it under GPLv2 terms.

PR:		192062
Exp-run by:	antoine
MFC after:	1 week
2014-08-28 18:33:42 +00:00
..
amd Remove the names of the build host and user and the build date. This 2014-04-12 18:01:25 +00:00
apr Merge apr-1.4.8 -> apr-1.5.1 and update. 2014-05-27 07:15:14 +00:00
apr-util Import apr-util-1.5.3 from vendor branch (rr258600) 2013-11-25 22:20:34 +00:00
atf Change libatf-c and libatf-c++ to be private libraries. 2014-05-25 12:01:13 +00:00
binutils In r253839 the default behaviour of ld(1) was changed such that all 2014-08-28 18:33:42 +00:00
bmake Update to bmake-20140620 2014-07-08 22:27:50 +00:00
bsnmp Fix a problem with OBJECT IDENTIFIER encoding: need to check the 2014-01-21 16:49:54 +00:00
byacc Update to byacc 20140715 (only concerns regression tests being fixed) 2014-07-17 22:22:38 +00:00
bzip2
com_err
compiler-rt Mark __fixdfdi/__aeabi_d2lz with COMPILER_RT_ABI so it uses the correct 2014-04-06 09:14:11 +00:00
dialog Update dialog to 1.2-20130923. 2013-09-24 14:52:43 +00:00
diff Fix a cut and paste error. 2014-01-05 23:28:03 +00:00
dma Fix build on i386 2014-02-21 16:14:40 +00:00
dtc Merge from vendor branch importing dtc git rev 6a15eb2350426d285130e4c9d84c0bdb6575547a 2014-01-27 19:37:35 +00:00
ee Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
elftoolchain Reapply r221569, r233401, r233524 and r255105: Add support for a few 2014-01-25 13:53:46 +00:00
expat Update base system libexpat to 2.1.0. 2013-02-26 00:58:44 +00:00
file MFV r267843: update file/libmagic to 5.19. 2014-06-26 06:03:39 +00:00
flex Enable GNU m4 compatibility mode. 2013-05-21 19:23:49 +00:00
gcc Supplement r259111 by also using correct casts in gcc's emmintrin.h for 2014-08-13 16:42:44 +00:00
gcclibs Avoid "cc1: warning: is shorter than expected" when using GNU cpp in 2014-03-26 19:57:50 +00:00
gdb recognize the FreeBSD ARCH tag that is put on binaries like on armeb 2014-02-12 02:03:37 +00:00
gdtoa
gperf gperf: reverse size_type patch from r258115. 2014-01-07 01:40:49 +00:00
groff Pull up vendor changes up to 2014-01-29 2014-01-31 12:26:30 +00:00
ipfilter Unbreak with gcc. 2014-07-13 10:38:01 +00:00
jemalloc Update jemalloc to version 3.6.0. 2014-03-31 17:04:04 +00:00
ldns Don't cast away the const qualifier. Fixes gcc build. 2014-05-16 15:32:16 +00:00
ldns-host Import Magerya Vitaly's ldns-host, and build it instead of the BIND version 2013-09-08 19:40:32 +00:00
less Revert files with no local changes to their vendor state to ease future 2013-05-31 00:31:45 +00:00
libarchive Remove leading '/' from hardlink name when removing them from the 2014-08-26 13:11:38 +00:00
libbegemot
libc-pwcache
libc-vis Restore the Nx macro lost in transit. 2014-01-29 11:39:58 +00:00
libc++ In r260015, I renamed several identifiers to avoid -Wsystem-header 2014-08-23 15:54:22 +00:00
libcxxrt Pull in upstream libcxxrt commit 8006101, which makes its cxxabi.h file 2014-02-07 21:34:09 +00:00
libexecinfo libexecinfo: Include terminating null in byte count 2013-11-21 14:12:36 +00:00
libgnuregex Fix build for FreeBSD. We do not have alloca.h. 2013-06-05 21:28:33 +00:00
libpcap Rename definition of IEEE80211_FC1_WEP to IEEE80211_FC1_PROTECTED. 2014-01-08 08:06:56 +00:00
libreadline Quiesce warning about unused argument in call to rl_message() by wrapping 2013-11-04 16:52:27 +00:00
libstdc++ Fix EABI unwind function declarations to match the function definitions. 2014-07-22 20:32:24 +00:00
libucl Merge libucl 20140718 (fixes a bug in the parser) 2014-07-19 14:10:31 +00:00
llvm Add the patch commited in r270147. 2014-08-18 18:07:28 +00:00
mdocml Remove IPX support. 2014-03-14 02:58:48 +00:00
mknod Add NetBSD's mtree to the tree and install it as nmtree as the first step 2012-12-21 21:00:00 +00:00
mtree Sync with NetBSD. The funtional change is to make the output when 2013-11-21 19:29:41 +00:00
ncurses Workaround a GCC warning to unbreak ARM build. 2014-03-03 08:01:36 +00:00
netcat MFV r258194-264360: nc(1) from OpenBSD 5.5. 2014-04-11 22:12:31 +00:00
ngatm
ntp Don't reply monlist request when it's not enabled. 2014-05-06 21:34:01 +00:00
nvi Vendor import nvi-2.1.2-c80f493b038 a multikey mapping fix 2013-12-08 00:08:03 +00:00
ofed Spell NO_PROFILE= as MK_PROFILE=no. 2014-04-25 19:25:26 +00:00
one-true-awk MFV: one-true-awk 20121220. 2013-01-03 07:25:30 +00:00
openbsm Unlock the right lock. 2014-08-28 11:50:52 +00:00
openpam Fix incorrect error handling in PAM policy parser. [SA-14:13] 2014-06-03 19:01:38 +00:00
openresolv
opie Last '/' for program name, not first one 2014-08-11 14:46:09 +00:00
pam_modules/pam_passwdqc Make the PAM password strength checking module WARNS=2 safe. 2013-08-27 15:50:26 +00:00
pf Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
pnpinfo
sendmail Update for sendmail 8.14.9 import 2014-05-22 04:41:11 +00:00
serf Update serf-1.3.6 -> 1.3.7 2014-08-11 19:41:01 +00:00
smbfs Just disable recoding support in libsmb if built WITHOUT_ICONV. 2013-11-12 15:09:28 +00:00
sqlite3 Update sqlite-3.7.17 -> 3.8.5 2014-08-12 02:09:00 +00:00
subversion Update serf-1.3.6 -> 1.3.7 2014-08-11 19:41:01 +00:00
tcp_wrappers Queisce warning about undeclared function usage. 2013-10-30 22:45:35 +00:00
tcpdump Update most userspace consumers of capability.h to use capsicum.h instead. 2014-03-16 11:04:44 +00:00
tcsh
telnet Improve upon previous commit: 2014-03-02 03:34:06 +00:00
texinfo
tnftp Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
top - Add J command to help. 2014-05-02 23:47:14 +00:00
traceroute
tzcode Fix typo. Note that although this file is under contrib, it has diverged 2014-05-15 03:08:20 +00:00
tzdata MFV of r270725, tzdata2014f 2014-08-27 19:26:35 +00:00
unbound Clean up the libunbound build to avoid accidentally regenerating the 2014-07-19 18:38:48 +00:00
unvis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
vis Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
wpa convert to using pidfile... This prevents multiple wpa_supplicants 2014-06-22 10:00:33 +00:00
xz MFV r253848 (mm): 2014-03-04 21:51:11 +00:00