[Bug] ld aborts linking large ieee file

Nick Clifton nickc@redhat.com
Fri Mar 14 12:49:00 GMT 2003


Hi Gene,

> The patch is against bfd/ieee.c 1.27 in cvs (from binutils-2.13) and it
> prevents objcopy from crashing when copying the original 3rd-party ieee
> file. With this patch applied the transformed 3rd-p file can then be linked
> without causing an abort() in ld. I have not touched the ld code.

Thanks - I have applied your patch with a small change.  Rather than
using a goto I have just enclosed the symbol using code inside a "if
(symbol != NULL) {....}" block.  I also added some minor formatting
fixups to other areas in the file.

Cheers
        Nick

2003-03-14  Gene Smith  <gene.smith@siemens.com>

	* ieee.c (ieee_write_expression): Handle the case where symbol is
	NULL.
	General formatting improvements.






More information about the Binutils mailing list