Fix seg-fault when running garbage collection on coff binaries.
authorNick Clifton <nickc@redhat.com>
Wed, 27 Jul 2016 09:49:32 +0000 (10:49 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 27 Jul 2016 09:50:52 +0000 (10:50 +0100)
commit147d994bcdd36a177e49e7b6ac8d9c1f7b4cdcf5
tree6dd71ad25f4b9e7a6518f8cb15fb3a31870c9017
parent7fca8e8ff70e53aeb5459cbe1438d168d5624958
Fix seg-fault when running garbage collection on coff binaries.

PR ld/20401
* coffgen.c (fini_reloc_cookie_rels): Check for the extistence
of the coff_section_data before using it.
bfd/ChangeLog
bfd/coffgen.c