From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20083 invoked by alias); 7 Oct 2004 15:15:26 -0000 Mailing-List: contact binutils-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sources.redhat.com Received: (qmail 20061 invoked from network); 7 Oct 2004 15:15:24 -0000 Received: from unknown (HELO nevyn.them.org) (66.93.172.17) by sourceware.org with SMTP; 7 Oct 2004 15:15:24 -0000 Received: from drow by nevyn.them.org with local (Exim 4.34 #1 (Debian)) id 1CFZzE-0004ET-MU; Thu, 07 Oct 2004 11:15:20 -0400 Date: Thu, 07 Oct 2004 15:15:00 -0000 From: Daniel Jacobowitz To: binutils@sources.redhat.com Cc: cagney@gnu.org Subject: Re: [rfa] Add bfd_runtime Message-ID: <20041007151520.GA16154@nevyn.them.org> Mail-Followup-To: binutils@sources.redhat.com, cagney@gnu.org References: <40E1FF7A.10405@redhat.com> <40E2CB85.2030607@redhat.com> <40EAAF53.8070001@redhat.com> <414F63A3.2050009@redhat.com> <41647E0E.2010409@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.5.1+cvs20040105i X-SW-Source: 2004-10/txt/msg00081.txt.bz2 On Thu, Oct 07, 2004 at 01:16:03AM -0400, Ian Lance Taylor wrote: > Andrew Cagney 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