binutils-gdb/ld/testsuite/ld-gc
H.J. Lu 98da7939e1 Properly check undefined symbols when gc_sections is active.
bfd/

2010-01-26  Alan Modra  <amodra@gmail.com>
	    H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11218
	* elflink.c (elf_link_output_extsym): Do not ignore undefined
	symbols with ref_regular set when gc_sections is active.

ld/testsuite/

2010-01-26  H.J. Lu  <hongjiu.lu@intel.com>

	PR ld/11218
	* ld-gc/dummy.s: New.
	* ld-gc/pr11218-1.c: Likewise.
	* ld-gc/pr11218-2.c: Likewise.
	* ld-gc/pr11218.d: Likewise.
2010-01-26 13:21:36 +00:00
..
abi-note.d Always keep SHT_NOTE sections 2010-01-07 13:44:37 +00:00
abi-note.s Always keep SHT_NOTE sections 2010-01-07 13:44:37 +00:00
dummy.s Properly check undefined symbols when gc_sections is active. 2010-01-26 13:21:36 +00:00
gc.c * ld-gc/gc.c (dummy_func): New function - present so that 2008-10-29 08:29:02 +00:00
gc.exp Properly check undefined symbols when gc_sections is active. 2010-01-26 13:21:36 +00:00
noent.d ld: 2008-01-11 09:11:18 +00:00
noent.s ld: 2008-01-11 09:11:18 +00:00
pr11218-1.c Properly check undefined symbols when gc_sections is active. 2010-01-26 13:21:36 +00:00
pr11218-2.c Properly check undefined symbols when gc_sections is active. 2010-01-26 13:21:36 +00:00
pr11218.d Properly check undefined symbols when gc_sections is active. 2010-01-26 13:21:36 +00:00
start.d Set SEC_KEEP on section XXX for undefined __start_XXX/__stop_XXX 2010-01-08 01:43:23 +00:00
start.s Set SEC_KEEP on section XXX for undefined __start_XXX/__stop_XXX 2010-01-08 01:43:23 +00:00