BFD 2.16.1 "assertion failure" and "internal error"

Nick Clifton nickc@redhat.com
Wed Jul 13 15:55:00 GMT 2005


Hi Dan,

> I have generated a set of .o files that binutils can handle 
> http://www.cs.cornell.edu/marques/bfdexample/alpha.tar.

> objcopy a.o
> BFD: BFD 2.16.1 assertion fail ../../binutils-2.16.1/bfd/coff-alpha.c:607

Thanks.  This failure appears to be due to an overly conservative 
assertion.   Please try the attached patch which fixes the problem for 
me.  (The patch changes a magic value from 14 to 15.  There is no 
comment explaining where this magic value came from, which is another 
reason why I hate seeing raw constants in source code).

Cheers
   Nick

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: coff-alpah.c.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20050713/9daf65d4/attachment.ksh>


More information about the Binutils mailing list