This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Problem with linker with binutils-040414
- From: Daniel Jacobowitz <drow at false dot org>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sources dot redhat dot com, Daniel Kulp <dan at kulp dot com>
- Date: Fri, 16 Apr 2004 00:22:35 -0400
- Subject: Re: Problem with linker with binutils-040414
- References: <200404141243.36254.dan@kulp.com> <407E4C43.9090702@redhat.com>
On Thu, Apr 15, 2004 at 09:48:03AM +0100, Nick Clifton wrote:
> 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 ?
Yes, please do.
> bfd/ChangeLog
> 2004-04-15 Nick Clifton <nickc@redhat.com>
>
> * bfd.c (bfd_archive_filename): Catch NULL bfd pointers.
>
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer