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: provide pass-through value in bfd_elf_bfd_from_remote_memory


> Yes, but while you're there can the can you please also expunge that 
> ehdr_vma parameter so that this uses a normal read() function that takes 
> an offset.

The function in question reads from inferior virtual memory addresses, not
positions in any file.  EHDR_VMA is needed not only to locate the ELF
header for reading, but to do other address calculations in making sense of
the data.  


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