------- Comment #4 from davek at gcc dot gnu dot org 2010-04-29 05:28 ------- Created an attachment (id=20512) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20512&action=view) Extends GNU LD to parse archives for LTO.
(In reply to comment #3) > Ow. I think we need to get LD to help us out here. So this is a rough first draft of the-kind-of-thing-i-was-thinking-of. We get collect2 to run a dummy link early, and extract the output from the --lto-assist flag to get a list of archive members that we need lto to recompile for us. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41376