------- Comment #1 from steven at gcc dot gnu dot org 2010-04-12 15:59 ------- >From http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42776#c8 :
> Can we use a similar approach for Mach-O [as for PE-COFF]? I don't speak Mach-O, but yes, the approach should work. You'd start by saying lto_binary_reader=lto-mach-o in config.gcc and adding a new lto/lto-mach-o.c with the same handful of toplevel functions: open and close file, build section hash, and create section and append binary data to section. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43729