Problem with linker with binutils-040414

Nick Clifton nickc@redhat.com
Thu Apr 15 08:53:00 GMT 2004


Hi Guys,

Daniel Kulp wrote:

>I have confirmed that on line 3637 of elflink.c, old_bfd is null and thus 
>the call to bfd_archive_filename cores.  
>
In line with this suggestion I am going to apply the following patch to 
stop bfd_archive_filename() seg-faulting when it is passed a NULL bfd 
pointer.

Daniel - Do you want me to apply this to the 2.15 branch ?

Cheers
  Nick

bfd/ChangeLog
2004-04-15  Nick Clifton  <nickc@redhat.com>

    * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bfd.c.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20040415/2a102ff2/attachment.ksh>


More information about the Binutils mailing list