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: [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


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