Remove BFD_FAIL in cpu-sh.c
authorAlan Modra <amodra@gmail.com>
Tue, 30 May 2023 10:16:24 +0000 (19:46 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 1 Jun 2023 00:21:59 +0000 (09:51 +0930)
commitd18f60c747c220ef8ca118b61e5db5c5cdf8f28b
tree8a32ebd4cad179e9964c26c76ad9c60a8c4f733d
parentf38f7ef965553d5f8a78eba934bb9b192be39c61
Remove BFD_FAIL in cpu-sh.c

The assertions in cpu-sh.c can be triggered by passing bogus values
in disassemble_info.mach.  This doesn't cause any bfd misbehaviour.

* cpu-sh.c (sh_get_arch_from_bfd_mach): Remove BFD_FAIL.
(sh_get_arch_up_from_bfd_mach): Likewise.
bfd/cpu-sh.c