binutils-gdb/ld/testsuite/ld-pe
Nick Clifton 4153b6dbb0 Improve COFF/PE linker garbage collection by preventing the removal of sections containing exported symbols.
PR ld/19803
	* ldlang.c (lang_add_gc_name): New function.  Adds the provided
	symbol name to the list of gc symbols.
	(lang_process): Call lang_add_gc_name with entry_symbol_default if
	entry_symbol.name is NULL.  Use lang_add_gc_name to add the init
	and fini function names.
	* pe-dll.c (process_def_file_and_drectve): Add exported names to
	the gc symbol list.
	* testsuite/ld-pe/pr19803.s: Do not export _testval symbol.
	* testsuite/ld-pe/pr19803.d: Tweak expected output.
2016-03-22 12:25:08 +00:00
..
aligncomm-1.c
aligncomm-2.c
aligncomm-3.c
aligncomm-4.c
aligncomm.d
basefile1.s
cfi32.d
cfi.d
cfia.s
cfib.s
direct2_client.c
direct2_dll.c
direct2_dll.def
direct_client.c
direct_dll.c
export_dynamic_warning.d
export_dynamic_warning.s
exports64.d
exports.d
exports.s
image_size.d
image_size.s
image_size.t
longsecn-1.d
longsecn-2.d
longsecn-3.d
longsecn-4.d
longsecn-5.d
longsecn.d
longsecn.s
non-c-lang-syms.d
non-c-lang-syms.s
orphan_nu.d
orphan.d
orphana_nu.s
orphana.s
orphanb.s
orphand.s
orphane.s
pe-compile.exp
pe-run2.exp
pe-run.exp
pe.exp Fix possible failure in the AVR linker tests. 2016-03-18 09:51:47 +00:00
pr19803.d Improve COFF/PE linker garbage collection by preventing the removal of sections containing exported symbols. 2016-03-22 12:25:08 +00:00
pr19803.e Fix possible failure in the AVR linker tests. 2016-03-18 09:51:47 +00:00
pr19803.s Improve COFF/PE linker garbage collection by preventing the removal of sections containing exported symbols. 2016-03-22 12:25:08 +00:00
secrel1.s
secrel2.s
secrel_64.d
secrel.d
tlssec32.d
tlssec64.d
tlssec.s
vers-script-1.d
vers-script-1.ver
vers-script-2.d
vers-script-2.ver
vers-script-3.d
vers-script-3.ver
vers-script-4.d
vers-script-4.ver
vers-script-dll.c