aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-pe/pr19803.d
AgeCommit message (Collapse)AuthorFilesLines
2016-03-22Improve COFF/PE linker garbage collection by preventing the removal of ↵Nick Clifton1-8/+4
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-18Fix possible failure in the AVR linker tests.Senthil Kumar Selvaraj1-0/+17
* ld-avr/gc-section-debugline.d: Relax regex check for CU.