freebsd-skq/contrib/binutils/ld/emultempl
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
..
alphaelf.em
armcoff.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
armelf.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
astring.sed
avrelf.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
cr16elf.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
elf32.em In r253839 the default behaviour of ld(1) was changed such that all 2014-08-28 18:33:42 +00:00
elf-generic.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
genelf.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
generic.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
ia64elf.em
linux.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
mipsecoff.em
mipself.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
needrelax.em
netbsd.em
ostring.sed
pe.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
pep.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
ppc32elf.em Revert r234656, and apply a proper fix for binutils PR 10474, which 2012-05-07 17:13:36 +00:00
ppc64elf.em Merge binutils 2.17.50 to head. This brings a number of improvements to 2011-02-18 20:54:12 +00:00
README
scoreelf.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
spu_ovl.o Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
spu_ovl.S Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
spuelf.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
sunos.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
ticoff.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00
vanilla.em Merge ^/vendor/binutils/dist@214571 into contrib/binutils, which brings 2010-11-01 19:35:33 +00:00

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.