Add NULL bfd test to elf_symbol_from
authorAlan Modra <amodra@gmail.com>
Mon, 20 Nov 2017 23:34:05 +0000 (10:04 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 21 Nov 2017 00:50:24 +0000 (11:20 +1030)
commit0ee5a0e48314fec3522f7eabadd5fea920628077
tree325c8ffc094ec4bcbc3983d15015f01b23956c06
parentbf3d139947aa7f846b463db4a7c4b6059a183e11
Add NULL bfd test to elf_symbol_from

A followup to PR22443.

* elf-bfd.h (elf_symbol_from): Check for NULL symbol bfd.
* elfcode.h (elf_slurp_reloc_table_from_section): Add FIXME comment.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elfcode.h