What to do with info addr and location expressions
Nick Clifton
nickc@redhat.com
Mon Jul 21 20:07:00 GMT 2003
Hi Jim,
>> One thing though - readelf does not, and should not, used the bfd
>> library. One of its main goals is to provide an alternative to bfd
>> for parsing and displaying ELF files, so that it can act as a
>> sanity/bug check.
>
> The natural home for such code would be a libdwarf, but we don't have
> that yet. In the the mean time, could the code live in libiberty,
> like the demangler?
I do not think that this is really suitable for libiberty.
The simplest method would be to break the code out into a separate
file that lives in the binutils/ directory and which could then be
compiled into either readelf or gdb.
Cheers
Nick
More information about the Binutils
mailing list