Reading an elf file with binutils

Alan Modra amodra@bigpond.net.au
Fri Aug 7 12:13:00 GMT 2009


On Thu, Aug 06, 2009 at 11:40:32AM -0700, Yan wrote:
> I have a follow-up question.. I'm using bfd_section::filepos to see
> where in the file the section is, but the documentation says that it's
> not valid for all backends and is not always updated. Is it fairly
> reliable on average? Mostly I'll be using this code on ELF and Windows
> PE executables...

Probably OK for those targets.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list