This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [RFA:] Allow bfd_hash_lookup (bfd_get_section_by_name) in anempty bfd
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: <binutils at sources dot redhat dot com>
- Date: Sat, 12 Jan 2002 00:04:05 -0500 (EST)
- Subject: Re: [RFA:] Allow bfd_hash_lookup (bfd_get_section_by_name) in anempty bfd
On Sat, 12 Jan 2002, Alan Modra wrote:
> On Fri, Jan 11, 2002 at 11:44:41PM -0500, Hans-Peter Nilsson wrote:
> > With some work in progress, I called bfd_get_section_by_name
> > with a bfd with no sections (presumably: yet). It seems like
> > that should be valid, and not get a SIGFPE on the
> > "index = hash % table->size" further down.
>
> Huh? opncls.c:_bfd_new_bfd sets up the hash table. How did you
> manage this trick?
Sorry, bogus pointer referenced. :-(
Request withdrawn :-)
brgds, H-P