Fix address violation bug when disassembling a corrupt SH binary.
authorNick Clifton <nickc@redhat.com>
Wed, 14 Jun 2017 16:01:54 +0000 (17:01 +0100)
committerNick Clifton <nickc@redhat.com>
Wed, 14 Jun 2017 16:01:54 +0000 (17:01 +0100)
commitf461bbd847f15657f3dd2f317c30c75a7520da1f
treebcf1f76106ba8b42b0852e17bb062e5157c76903
parentae87f7e73eba29bd38b3a9684a10b948ed715612
Fix address violation bug when disassembling a corrupt SH binary.

PR binutils/21578
* elf32-sh.c (sh_elf_set_mach_from_flags): Fix check for invalid
flag value.
bfd/ChangeLog
bfd/elf32-sh.c