old-cross-binutils/ld/testsuite/ld-gc
Nick Clifton b9b2ae8bbf PR ld/14265
* script-sections.cc (Sections_element::output_section_name): Add
	keep return parameter.
	(Output_section_element::match_name): Add keep return parameter.
	Return the value of the keep_ member.
	* script-sections.h (class Output_section): Update
	output_section_name prototype.
	* layout.cc (Layout::keep_input_section): New public member
	function.
	(Layout::choose_output_section): Pass keep parameter to
	output_section_name.
	* layout.h (class Layout): Add keep_input_section.
	* object.cc (Sized_relobj_file::do_layout): Check for kept input
	sections.
	* testsuite/Makefile.am: Add a test.
	* testsuite/Makefile.in: Regenerate.
	* testsuite/pr14265.c: Source file for the test.
	* testsuite/pr14265.t: Linker script for the test.
	* testsuite/pr14265.sh: Shell script for the test.

	* ld-gc/gc.exp: Add a new test.
	* ld-gc/pr14265.c: Source file for the new test.
	* ld-gc/pr14265.t: Linker script for the new test.
	* ld-gc/pr14265.d: Expected symbol dump.
2012-08-14 08:31:57 +00:00
..
abi-note.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +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 PR ld/14265 2012-08-14 08:31:57 +00:00
libpersonality.s PR ld/13177 2011-10-19 07:17:21 +00:00
noent.d
noent.s
personality.d PR ld/13177 2011-10-19 07:17:21 +00:00
personality.s PR ld/13177 2011-10-19 07:17:21 +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 * ld/testsuite/ld-gc/pr11218-2.c: Declare 2010-11-16 23:41:38 +00:00
pr11218.d Improve binutils testsuite coverage for GNU/Hurd. 2010-11-08 06:43:40 +00:00
pr13683.c PR ld/13683 2012-02-22 16:27:35 +00:00
pr13683.d gas/ChangeLog: 2012-08-01 13:46:59 +00:00
pr14265.c PR ld/14265 2012-08-14 08:31:57 +00:00
pr14265.d PR ld/14265 2012-08-14 08:31:57 +00:00
pr14265.t PR ld/14265 2012-08-14 08:31:57 +00:00
start.d ld/ 2012-06-21 03:33:00 +00:00
start.s * ld-elf/elf.exp: Force 32-bit start address for alpha. 2011-03-30 17:41:36 +00:00