Fix seg fault in linker when performing garbage collection on COFF based targets.
authorNick Clifton <nickc@redhat.com>
Wed, 27 Jul 2016 12:18:13 +0000 (13:18 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 27 Jul 2016 12:18:13 +0000 (13:18 +0100)
commit492a7a54d688b511b0ed47c1f0ab054334a4b218
treeb692429ff066ac2f6e0bc4032993c11bc794565b
parent7bb2fa73cb2f3eb8bd3890932d1095610c4bd6c2
Fix seg fault in linker when performing garbage collection on COFF based targets.

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