binutils-gdb/ld/testsuite/ld-gc
H.J. Lu f4ab0e2d1d Skip version check for unreferenced and undefined symbol
No need to check version if symbol is unreferenced and undefined.

bfd/

	PR ld/20306
	* elflink.c (elf_link_check_versioned_symbol): Return false
	for unreferenced undefined symbol.

ld/testsuite/

	* testsuite/ld-gc/gc.exp: Run pr20306 test.
	* ld-gc/pr20306.c: New file.
	* ld-gc/pr20306.d: Likewise.
2016-06-28 08:08:30 -07:00
..
abi-note.d
abi-note.s
all-debug-sections.d
all-debug-sections.s
dummy.s
gc.c
gc.exp
libpersonality.s
noent.d
noent.s
personality.d
personality.s
pr11218-1.c
pr11218-2.c
pr11218.d
pr13683.c
pr13683.d
pr14265.c
pr14265.d
pr14265.t
pr18223.d
pr18223.s
pr19161-1.c
pr19161-2.c
pr19161.d
pr19167.d
pr19167a.s
pr19167b.s
pr20306.c
pr20306.d
start.d
start.s