old-cross-binutils/ld/testsuite
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
..
config * config/default.exp: Update copyright date. 2012-03-15 01:57:57 +00:00
ld-aarch64 Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-alpha ld/ 2012-06-15 15:13:41 +00:00
ld-arm PR ld/14397 2012-07-26 13:43:24 +00:00
ld-auto-import update copyright dates 2009-09-02 07:25:43 +00:00
ld-bootstrap 2011-12-03 David Daney <david.daney@cavium.com> 2011-12-03 17:13:02 +00:00
ld-cdtest update copyright dates 2009-09-02 07:25:43 +00:00
ld-checks update copyright dates 2009-09-02 07:25:43 +00:00
ld-cris Trim last, empty, line 2012-06-18 06:19:02 +00:00
ld-crx update copyright dates 2009-09-02 07:25:43 +00:00
ld-cygwin update copyright dates 2009-09-02 07:25:43 +00:00
ld-d10v * ld-d10v/reloc-007.d: Don't error. 2010-09-23 11:55:47 +00:00
ld-discard bfd/ 2012-04-03 16:01:38 +00:00
ld-elf Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-elfcomm PR ld/12360 2010-12-31 22:29:19 +00:00
ld-elfvers Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-elfvsb ld/ 2012-06-15 15:13:41 +00:00
ld-elfweak bfd/ 2012-04-03 16:01:38 +00:00
ld-fastcall update copyright dates 2009-09-02 07:25:43 +00:00
ld-frv Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-gc PR ld/14265 2012-08-14 08:31:57 +00:00
ld-h8300 * ld-h8300/h8300.exp: Use is_elf_format. 2010-09-29 06:20:06 +00:00
ld-i386 ld/testsuite/ 2012-07-02 18:20:31 +00:00
ld-ia64 ld/ 2012-06-15 15:13:41 +00:00
ld-ifunc Add missing "foo" after ".global" 2012-05-31 17:16:54 +00:00
ld-libs binutils/testsuite/ 2009-04-16 04:24:07 +00:00
ld-linkonce bfd/ 2012-04-03 16:01:38 +00:00
ld-m68hc11 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. 2012-05-15 12:55:51 +00:00
ld-m68k * ld-m68k/tls-ld-1.d: Update. 2012-05-17 06:13:32 +00:00
ld-mep Update sources to GPLv3 2007-07-06 14:09:45 +00:00
ld-mips-elf * ld-mips-elf/export-class-call16-o32.dd: New test. 2012-08-13 19:52:59 +00:00
ld-misc * ld-gc/start.d: Exclude frv-*-linux*. 2011-02-10 07:24:06 +00:00
ld-mmix ld/ 2012-06-15 15:13:41 +00:00
ld-mn10300 bfd/ 2012-06-06 10:50:18 +00:00
ld-pe * dw2gencfi.c (dwcfi_seg_list): New struct. 2011-04-26 15:28:08 +00:00
ld-pie * ld-pie/pie.exp: Remove extra braces. 2012-04-23 18:03:28 +00:00
ld-plugin * config/tc-m68hc11.c: Add S12X and XGATE co-processor support. 2012-05-15 12:55:51 +00:00
ld-powerpc ld/ 2012-06-15 15:13:41 +00:00
ld-s390 ld/ 2012-06-15 15:13:41 +00:00
ld-scripts ld/ 2012-06-15 15:13:41 +00:00
ld-selective * ld-elf/linkoncerdiff.d: Don't run for hppa64-hpux. 2012-02-14 01:02:04 +00:00
ld-sh ld/ 2012-06-15 15:13:41 +00:00
ld-shared Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-sparc ld/ 2012-06-15 15:13:41 +00:00
ld-spu ld/ 2012-06-15 15:13:41 +00:00
ld-srec Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ld-tic6x ld/ 2012-06-15 15:13:41 +00:00
ld-tilegx Add big-endian support for tilegx. 2012-02-25 19:51:34 +00:00
ld-tilepro * Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo. 2011-06-13 15:18:54 +00:00
ld-undefined bfd/ 2012-04-03 16:01:38 +00:00
ld-unique bfd/ 2012-04-03 16:01:38 +00:00
ld-v850 Add support for v850E2 and v850E2V3 2010-07-23 14:52:54 +00:00
ld-vax-elf bfd/ 2012-08-05 22:45:20 +00:00
ld-versados update copyright dates 2009-09-02 07:25:43 +00:00
ld-vxworks Tolerate some whitespace differences in readelf output. 2009-09-23 03:12:28 +00:00
ld-x86-64 ld/testsuite/ 2012-07-02 18:20:31 +00:00
ld-xc16x update copyright dates 2009-09-02 07:25:43 +00:00
ld-xstormy16 update copyright dates 2009-09-02 07:25:43 +00:00
ld-xtensa bfd/ 2009-09-24 15:56:52 +00:00
lib Add support for 64-bit ARM architecture: AArch64 2012-08-13 14:52:54 +00:00
ChangeLog PR ld/14265 2012-08-14 08:31:57 +00:00
ChangeLog-2004 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2005 split changelogs 2006-01-16 23:15:07 +00:00
ChangeLog-2006 Move 2006 ChangeLog entries to ChangeLog-2006. 2007-01-09 17:30:59 +00:00
ChangeLog-2007 bfd/ 2008-01-07 16:45:35 +00:00
ChangeLog-2008 bfd/ 2009-01-02 16:48:11 +00:00
ChangeLog-2009 Move 2009 binutils ChangeLog to ChangeLog-2009. 2010-01-01 18:06:10 +00:00
ChangeLog-2010 Rotate binutils ChangeLogs. 2011-01-01 16:43:53 +00:00
ChangeLog-2011 Rotate ChangeLogs 2012-01-05 10:09:39 +00:00
ChangeLog-9303