This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Bug] ld aborts linking large ieee file
- From: Nick Clifton <nickc at redhat dot com>
- To: "Smith, Gene" <gene dot smith at siemens dot com>
- Cc: binutils at sources dot redhat dot com
- Date: 14 Mar 2003 12:49:09 +0000
- Subject: Re: [Bug] ld aborts linking large ieee file
- References: <6391E0672315FB41904F245E7764A6BA0252643A@jsc0001e>
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 dot smith at siemens dot com>
* ieee.c (ieee_write_expression): Handle the case where symbol is
NULL.
General formatting improvements.