Revision: 2897
http://elftoolchain.svn.sourceforge.net/elftoolchain/?rev=2897&view=rev
Author: kaiwang27
Date: 2013-01-15 23:05:50 +0000 (Tue, 15 Jan 2013)
Log Message:
-----------
Implement function "ld_reloc_gc_sections" that performs a breadth-first
search for sections referenced by relocations associated with "used"
sections, i.e, to find sections that should not be garbage-collected.
The initial set of "used" sections consists of sections containing
the entry symbol and extern (-u) symbols. The search is recursive:
"used" sections found are inserted to the set and their relocations
will be used to search for more "used" sections.
Modified Paths:
--------------
trunk/ld/ld.h
trunk/ld/ld_input.h
trunk/ld/ld_reloc.c
trunk/ld/ld_reloc.h
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|