http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48108
--- Comment #3 from Iain Sandoe <iains at gcc dot gnu.org> 2011-03-14 09:00:52
UTC ---
(In reply to comment #2)
> Another fix might be to have pure elf .o files... ld I think will read elf .o
> files... [shhhh] Don't tell anyone I said that. If not, we might be able
> to
> get Apple to do that. This might then require an FSF binutils.
In the short term, a wrapper around the LTO stuff with a more sophisticated
index seems a lot easier.
However, it is in the back of my mind to split the machopic stuff out of
darwin* somewhen in 4.7 so that darwin sections could be used in an elf (or
other supporting named sections) container (and give us a route for removing
the conditionalization on TARGET_MACHO from config/{i386,rs6000}/ )
WDYT?