Stop the ARC disassembler from seg-faulting if initialised without a BFD present.
authorAnton Kolesov <Anton.Kolesov@synopsys.com>
Wed, 14 Sep 2016 11:20:13 +0000 (12:20 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Sep 2016 11:20:13 +0000 (12:20 +0100)
commitdce084426d75b45ef728425a880d642a604c36a7
tree26196485cafe17b714dc9fbfd71ba600b6c1663f
parent29063f8bfb9d68a213efd1d0ab7a66f97ed9a013
Stop the ARC disassembler from seg-faulting if initialised without a BFD present.

* arc-dis.c (arc_get_disassembler): Accept a null bfd gracefully.
opcodes/ChangeLog
opcodes/arc-dis.c