Fix a seg-fault in the linker when it encounters a corrupt binary containing a reloc...
authorNick Clifton <nickc@redhat.com>
Fri, 19 Feb 2016 15:20:30 +0000 (15:20 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 19 Feb 2016 15:20:30 +0000 (15:20 +0000)
commit737684142b3f7dfa6d440c8363750911a8ac20ce
treeab4ec688368d529170f0c88d248b8b67d524a0a6
parentb8ec4e871ef7650b852df9956841ee414766de59
Fix a seg-fault in the linker when it encounters a corrupt binary containing a reloc with no associated symbol.

PR ld/19628
* reloc.c (bfd_generic_get_relocated_section_contents): Stop
processing if we encounter a reloc without an associated symbol.
bfd/ChangeLog
bfd/reloc.c