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: coff-h8300 bfd bug (Electric Fence info)


On Sun, Dec 01, 2002 at 10:49:53PM -0000, Max Bowsher wrote:
> I'm experiencing segfaults from h8300-hms-ld, so I ran it under
> ElectricFence.
> 
> It showed line 1219 of bfd/coff-h8300.c as being buggy.
> Line is:            if(!h8300_coff_hash_table(info)->vectors_sec)
> 
> Now, I'm going to see if I can trace the problem any further, but I've never
> looked at bfd code before, so I'm hoping someone who has will be able to
> make something from this information.

I'd guess you're trying to link non-coff object files.  The bug is
that h8300_coff_hash_table shouldn't be used without first checking
bfd_link_hash_table.creator.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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