From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9001 invoked by alias); 15 Apr 2002 18:40:57 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 8976 invoked from network); 15 Apr 2002 18:40:53 -0000 Received: from unknown (HELO cygnus.com) (205.180.83.203) by sources.redhat.com with SMTP; 15 Apr 2002 18:40:53 -0000 Received: from redhat.com (reddwarf.sfbay.redhat.com [172.16.24.50]) by runyon.cygnus.com (8.8.7-cygnus/8.8.7) with ESMTP id LAA00710; Mon, 15 Apr 2002 11:40:51 -0700 (PDT) Message-ID: <3CBB1BD7.A62E147A@redhat.com> Date: Mon, 15 Apr 2002 11:40:00 -0000 From: Michael Snyder Organization: Red Hat, Inc. X-Accept-Language: en MIME-Version: 1.0 To: Andrew Cagney CC: Michael Snyder , gdb-patches@sources.redhat.com, cagney@redhat.com Subject: Re: [RFA] sim/common: use bfd access method. References: <200204130110.g3D1A6P13999@reddwarf.sfbay.redhat.com> <3CBA20CD.1080306@cygnus.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2002-04/txt/msg00538.txt.bz2 Andrew Cagney wrote: > > > 2002-04-12 Michael Snyder > > > > * sim-load.c (sim_load_file): Use bfd access method. > > Looks fairly obvious :-) > > Andrew Committed. > > > Index: sim-load.c > > =================================================================== > > RCS file: /cvs/src/src/sim/common/sim-load.c,v > > retrieving revision 1.4 > > diff -p -r1.4 sim-load.c > > *** sim-load.c 25 Apr 2001 21:14:28 -0000 1.4 > > --- sim-load.c 13 Apr 2002 01:20:42 -0000 > > *************** sim_load_file (sd, myname, callback, pro > > *** 106,112 **** > > found_loadable_section = 0; > > for (s = result_bfd->sections; s; s = s->next) > > { > > ! if (s->flags & SEC_LOAD) > > { > > bfd_size_type size; > > > > --- 106,112 ---- > > found_loadable_section = 0; > > for (s = result_bfd->sections; s; s = s->next) > > { > > ! if (bfd_get_section_flags (s) & SEC_LOAD) > > { > > bfd_size_type size; > > > >