Prevent an abort in the FRV disassembler if the target bfd name is unknown.
authorNick Clifton <nickc@redhat.com>
Thu, 5 Jan 2017 09:11:47 +0000 (09:11 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 5 Jan 2017 09:11:47 +0000 (09:11 +0000)
commit0ae60c3ef45d41b34d40ed5c7b4fdfea289530de
tree8fc325b95728b93b6ba9538ade41c8445dfc4116
parentc0386d4d54d2cc33d6efc0b998fe6396bf92be15
Prevent an abort in the FRV disassembler if the target bfd name is unknown.

PR 20946
* frv-desc.c (lookup_mach_via_bfd_name): Return NULL if the name
could not be matched.
(frv_cgen_cpu_open): Allow for lookup_mach_via_bfd_name returning
NULL.
opcodes/ChangeLog
opcodes/frv-desc.c