This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [rfa] Add bfd_runtime
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sources dot redhat dot com
- Cc: cagney at gnu dot org
- Date: Thu, 7 Oct 2004 11:15:20 -0400
- Subject: Re: [rfa] Add bfd_runtime
- References: <40E1FF7A.10405@redhat.com> <m3smcdajcg.fsf@gossamer.airs.com> <40E2CB85.2030607@redhat.com> <m33c4d6rki.fsf@gossamer.airs.com> <40EAAF53.8070001@redhat.com> <m3hdsc1vij.fsf@gossamer.airs.com> <414F63A3.2050009@redhat.com> <m3acvkzbff.fsf@gossamer.airs.com> <41647E0E.2010409@gnu.org> <m33c0rw1kc.fsf@gossamer.airs.com>
On Thu, Oct 07, 2004 at 01:16:03AM -0400, Ian Lance Taylor wrote:
> Andrew Cagney <cagney@gnu.org> writes:
>
> > Let me see if I've got this:
> >
> > objfile - iterate over sections
> > corefile - iterate over segments
> > archive - ???
>
> archive - iterate over objfiles
>
> > So how would you solve this problem? Given a memory access method and
> > a starting offset, construct a bfd containing a list of sections
> > constructed using both the segment and section information in the
> > inferior?
>
> I would write a new BFD target vector; e.g., elf32-i386-runtime.
Ugh, is that really necessary? It would mean architecture-specific
code to support this generic ELF concept, and I don't see any useful
hooks in the elf backend vector anyway...
--
Daniel Jacobowitz