This is the mail archive of the
mailing list for the GCC project.
Re: [lto] PATCH: Locate DWARF information in ELF files
Andrew Pinski wrote:
> On Jun 18, 2006, at 1:25 PM, Mark Mitchell wrote:
>> This patch makes the LTO front end open ELF files and locate the DWARF
>> sections required for building LTO information. The ELF-specific bits
>> are segreated into a separate file so that platforms using other
>> object file formats can be supported in future. We will probably also
>> need some autoconf bits to detect libelf; for now, we'll just assume
>> its available.
> Isn't libelf not part of the GNU project?
Uli has a replacement for it if you really want one.
> Even some GNU/Linux does not
> include libelf by default. Why not use BFD to read the dwarf2 info
Because BFD is such overkill for this that it's not even funny.
libelf is much much simpler, and i think a good choice to start with.