https://sourceware.org/bugzilla/show_bug.cgi?id=20401

Nick Clifton <nickc at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nickc at redhat dot com

--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi Ozkan,

> We ran into a segfault with the djgpp port of ld in fini_reloc_cookie_rels()

Would it be possible for you to upload a small testcase that reproduces this
problem ?

> -  if (cookie->rels && coff_section_data (NULL, sec)->relocs != cookie->rels)
> +  if (cookie->rels && (!coff_section_data (NULL, sec) || coff_section_data
> (NULL, sec)->relocs != cookie->rels))

This is certainly a reasonable first step, but we ought to find out why the
coff_section_data is NULL.  Probably the linker garbage collection has deleted
the section, but it would be nice to confirm this.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to