------- Comment #13 from davek at gcc dot gnu dot org  2010-01-02 13:59 -------
(In reply to comment #12)
> The collect2 stuff should in principle work with non-ELF targets
> as well if you circumvent that first problem somehow (for
> example by not producing regular object code from cc1 but only
> assemble the LTO sections to a ELF object file).

  Hmm, that would be an alternative to extending libelf to speak a rudimentary
degree of non-ELF format.  Maybe we could extend collect2 on non-ELF to use
objcopy to extract the elf sections from any input files to temporary
pure-ELF-format objects; does that seem reasonable?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41529

Reply via email to