This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Add archive support to ELF



Because the whole point of readelf is that it doesn't use the BFD
library.  In a very real sense, the entire readelf program is a
reinvention of the wheel.


I don't think so. readelf provides much more and detailed ELF specific
information than objdump or nm.

What harm will readelf using libbfd do? Is someone planning to remove
libbfd one day and still want to keep readelf.

Something to note here is that GDB would like access to more detailed display functions found in readelf. In particular the dwarf2 print code. Perhaps what's needed is a library that can print detailed internals and then have both readelf and objdump use it.


Andrew



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]