This is the mail archive of the
mailing list for the GCC project.
Re: [lto] PATCH: Locate DWARF information in ELF files
On Jun 18, 2006, at 4:49 PM, Daniel Berlin wrote:
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.
Is it that much of overkill? Also that means people have to start
libelf and bfd for their targets. Why have duplication when
exists to get rid of it? Also BFD can be used as the wrapper so you
need to add another duplicated files in GCC to read another file format.
Also maybe Mark could answer the question, why he decided on using
really looking at alternatives?