binutils-gdb/ld/testsuite
H.J. Lu 57316bff0a bfd/
2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

	* elflink.c (elf_mark_used_section): New.
	(bfd_elf_gc_sections): Call elf_gc_mark_section for
	non-relocatable link if we don't do GC.

include/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

	* bfdlink.h (bfd_link_info): Add gc_sections.

ld/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

	* emultempl/elf32.em (gld${EMULATION_NAME}_finish): Remove
	unused empty output sections for non-relocatable link.

	* ld.h (args_type): Remove gc_sections.

	* ldlang.c (lang_mark_used_section): New.
	(lang_gc_sections): Use link_info.gc_sections instead of
	command_line.gc_sections.
	* ldmain.c (main): Likewise.
	* lexsup.c (parse_args): Likewise.
	* ldlang.c (lang_process): Call lang_mark_used_section.

	* ldmain.c (main): Initialize link_info.gc_sections to FALSE.

ld/testsuite/

2005-03-16  H.J. Lu  <hongjiu.lu@intel.com>

	* ld-alpha/tlsbin.rd: Updated for empty section removal.
	* ld-alpha/tlsbinr.rd: Likewise.
	* ld-alpha/tlspic.rd: Likewise.
	* ld-arm/mixed-lib.sym: Likewise.
	* ld-i386/tlsbin.rd: Likewise.
	* ld-i386/tlsnopic.rd: Likewise.
	* ld-i386/tlspic.rd: Likewise.
	* ld-ia64/tlsbin.rd: Likewise.
	* ld-ia64/tlspic.rd: Likewise.
	* ld-powerpc/apuinfo.rd: Likewise.
	* ld-powerpc/powerpc.exp: Likewise.
	* ld-powerpc/tlsexe32.r: Likewise.
	* ld-s390/tlsbin.rd: Likewise.
	* ld-s390/tlsbin_64.rd: Likewise.
	* ld-s390/tlspic.rd: Likewise.
	* ld-s390/tlspic_64.rd: Likewise.
	* ld-sh/tlsbin-2.d: Likewise.
	* ld-sh/tlspic-2.d: Likewise.
	* ld-sparc/tlssunbin32.rd: Likewise.
	* ld-sparc/tlssunnopic32.rd: Likewise.
	* ld-sparc/tlssunpic32.rd: Likewise.
	* ld-x86-64/tlsbin.rd: Likewise.
	* ld-x86-64/tlspic.rd: Likewise.
2005-03-16 21:52:48 +00:00
..
config update copyright dates 2005-03-03 11:52:12 +00:00
ld-alpha bfd/ 2005-03-16 21:52:48 +00:00
ld-arm bfd/ 2005-03-16 21:52:48 +00:00
ld-auto-import Test the auto importing direct from a dll functionality. 2002-12-18 16:05:10 +00:00
ld-bootstrap update copyright dates 2005-03-03 11:52:12 +00:00
ld-cdtest update copyright dates 2005-03-03 11:52:12 +00:00
ld-checks update copyright dates 2005-03-03 11:52:12 +00:00
ld-cris Adjust testsuite for cris-axis-aout. 2005-03-08 02:31:40 +00:00
ld-crx 2004-12-21 Tomer Levi <Tomer.Levi@nsc.com> 2004-12-21 16:28:40 +00:00
ld-cygwin Add new test for cygwin target: building an executable with an export table. 2003-06-02 09:11:01 +00:00
ld-d10v ld-d10v/default_layout.d: Adjust expected offsets to allow for section alignment. 2005-03-01 17:07:53 +00:00
ld-discard ld-d10v/default_layout.d: Adjust expected offsets to allow for section alignment. 2005-03-01 17:07:53 +00:00
ld-elf update copyright dates 2005-03-03 11:52:12 +00:00
ld-elfcomm update copyright dates 2005-03-03 11:52:12 +00:00
ld-elfvers update copyright dates 2005-03-03 11:52:12 +00:00
ld-elfvsb update copyright dates 2005-03-03 11:52:12 +00:00
ld-elfweak update copyright dates 2005-03-03 11:52:12 +00:00
ld-fastcall Only run tests for PE type x86 targets. 2002-11-07 08:36:04 +00:00
ld-frv bfd/ChangeLog: 2005-02-17 17:11:01 +00:00
ld-h8300 ld-h8300/h8300.exp: Addition of new test case to check relaxation for H8S target. 2004-07-27 16:47:02 +00:00
ld-i386 bfd/ 2005-03-16 21:52:48 +00:00
ld-ia64 bfd/ 2005-03-16 21:52:48 +00:00
ld-linkonce 2002-10-12 H.J. Lu (hjl@gnu.org) 2002-10-12 15:40:13 +00:00
ld-m68hc11 * ld-m68hc11/link-hcs12.d: New test. 2003-05-13 19:11:45 +00:00
ld-maxq Add support fpr MAXQ processor 2004-11-08 13:17:43 +00:00
ld-mips-elf bfd/ChangeLog 2005-03-05 00:01:44 +00:00
ld-mmix bfd/ 2004-12-11 04:32:37 +00:00
ld-pe gas/testsuite/ 2004-09-29 13:36:22 +00:00
ld-powerpc bfd/ 2005-03-16 21:52:48 +00:00
ld-s390 bfd/ 2005-03-16 21:52:48 +00:00
ld-scripts update copyright dates 2005-03-03 11:52:12 +00:00
ld-selective update copyright dates 2005-03-03 11:52:12 +00:00
ld-sh bfd/ 2005-03-16 21:52:48 +00:00
ld-shared update copyright dates 2005-03-03 11:52:12 +00:00
ld-sparc bfd/ 2005-03-16 21:52:48 +00:00
ld-srec update copyright dates 2005-03-03 11:52:12 +00:00
ld-undefined update copyright dates 2005-03-03 11:52:12 +00:00
ld-v850 include/elf/ 2004-12-16 16:56:04 +00:00
ld-versados Fixtypos in ChangeLogs, fix copyright dates in files 2001-03-13 06:14:29 +00:00
ld-x86-64 bfd/ 2005-03-16 21:52:48 +00:00
ld-xstormy16 Adjust for objdump -d change. 2003-08-02 11:34:30 +00:00
ld-xtensa bfd ChangeLog 2004-10-08 00:22:15 +00:00
lib * lib/ld-lib.exp (run_dump_test): Don't require a dump program if 2005-02-21 10:30:49 +00:00
ChangeLog bfd/ 2005-03-16 21:52:48 +00:00
ChangeLog-9303 Split ChangeLog files. 2004-01-02 11:16:21 +00:00