On 10/25/2010 10:07 PM, Dave Korn wrote: > - integrate gccgo, with elfcpp > - then common out the file-reading stuff from gcc/lto/ up to gcc/ so that all > the FEs can share it > - then convert it to use elfcpp (with a bit of file I/O added) and stop using > libelf altogether > - then switch gccgo over to using it
I think that's a reasonable plan. It makes things no less object-file netural than they are now, which is OK. (And, before someone else points it out, I believe it was I who started using libelf in the LTO prototype, so I know full well how we got here!) I certainly have no problem with using elfcpp over libelf. -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713