binutils-gdb/ld/testsuite
H.J. Lu aef2898990 Don't add DT_NEEDED for unmatched symbol
Don't add DT_NEEDED if a symbol from a library loaded via DT_NEEDED
doesn't match the symbol referenced by regular object.

bfd/

	PR ld/19553
	* elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
	if a symbol from a library loaded via DT_NEEDED doesn't match
	the symbol referenced by regular object.

ld/testsuite/

	PR ld/19553
	* testsuite/ld-elf/indirect.exp: Run tests for PR ld/19553.
	* testsuite/ld-elf/pr19553.map: New file.
	* testsuite/ld-elf/pr19553.map: Likewise.
	* testsuite/ld-elf/pr19553a.c: Likewise.
	* testsuite/ld-elf/pr19553b.c: Likewise.
	* testsuite/ld-elf/pr19553b.out: Likewise.
	* testsuite/ld-elf/pr19553c.c: Likewise.
	* testsuite/ld-elf/pr19553c.out: Likewise.
	* testsuite/ld-elf/pr19553d.c: Likewise.
	* testsuite/ld-elf/pr19553d.out: Likewise.
2016-02-01 15:49:52 -08:00
..
config Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-aarch64 [AArch64] Relax long branch veneer insertion for non STT_FUNC symbol 2016-01-21 09:57:09 +00:00
ld-alpha Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-arm Fix linker testsuite failures for ARM netbsdelf target. 2016-01-21 15:20:57 +00:00
ld-auto-import Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-avr Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-bootstrap Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-cdtest Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-checks Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-cris Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-crx Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-cygwin Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-d10v Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-discard Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-elf Don't add DT_NEEDED for unmatched symbol 2016-02-01 15:49:52 -08:00
ld-elfcomm Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-elfvers Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-elfvsb Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-elfweak Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-fastcall Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-frv Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-gc Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-h8300 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-i386 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-ia64 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-ifunc Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-libs Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-linkonce Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-m68hc11 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-m68k Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-mep Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-metag Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-mips-elf MIPS/BFD: Move attribute check after ELF file header flag check 2016-01-04 23:30:00 +00:00
ld-misc Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-mmix Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-mn10300 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-nds32 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-nios2 Add Nios II arch flags and compatibility tests 2015-07-01 15:55:28 -07:00
ld-pe Fix linker testsuite failures for arm-pe targets. 2016-01-20 15:41:06 +00:00
ld-pie Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-plugin Skip linker plugin tests if the linker has not been configured to support plugins. 2016-01-18 11:23:44 +00:00
ld-powerpc Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-s390 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-scripts Fix linker testsuite failures for arm-pe targets. 2016-01-20 15:41:06 +00:00
ld-selective Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-sh Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-shared Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-size Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-sparc Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-spu Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-srec Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-tic6x Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-tilegx Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-tilepro Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-undefined Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-unique Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-v850 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-vax-elf Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-versados Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-visium Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-vxworks Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-x86-64 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-xc16x Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-xstormy16 Copyright update for binutils 2016-01-01 23:00:01 +10:30
ld-xtensa Copyright update for binutils 2016-01-01 23:00:01 +10:30
lib m68hc11/12 and xgate config.sub weirdness 2016-01-17 12:13:43 +10:30
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ChangeLog-2015 binutils ChangeLog rotation 2016-01-01 22:59:17 +10:30
ChangeLog-9303