[lto] PATCH: Locate DWARF information in ELF files
Andrew Pinski
pinskia@physics.uc.edu
Mon Jun 19 01:27:00 GMT 2006
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
>> instead?
>
> 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
porting
libelf and bfd for their targets. Why have duplication when
something already
exists to get rid of it? Also BFD can be used as the wrapper so you
don't really
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
libelf without
really looking at alternatives?
-- Pinski
More information about the Gcc-patches
mailing list