PATCH: Add archive support to ELF

H. J. Lu hjl@lucon.org
Sat Aug 9 15:18:00 GMT 2003


On Sat, Aug 09, 2003 at 03:21:33AM -0700, Eric Christopher wrote:
> 
> > What harm will readelf using libbfd do? Is someone planning to remove
> > libbfd one day and still want to keep readelf.
> 
> More to the point, readelf is useful when implementing bfd bits for a
> new architecture. All it does is read the elf bits, not the bfd ones.
> 
> -eric
> 

The only thing in bfd my patch uses is the host file I/O to access
archive members. My readelf configured for ELF/i386 only can read
ELF/ia64 without any problems. You can add new target specfic ELF
bits to readelf without touching bfd. Everything should work just
fine.


H.J.



More information about the Binutils mailing list