diff options
Diffstat (limited to 'bfd/elf32-sh.c')
-rw-r--r-- | bfd/elf32-sh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-sh.c b/bfd/elf32-sh.c index 7bee661..b2b7c6b 100644 --- a/bfd/elf32-sh.c +++ b/bfd/elf32-sh.c @@ -6655,7 +6655,7 @@ sh_elf_set_mach_from_flags (bfd *abfd) int sh_elf_get_flags_from_mach (unsigned long mach) { - int i = ARRAY_SIZE (sh_ef_bfd_table); + int i = ARRAY_SIZE (sh_ef_bfd_table) - 1; for (; i>0; i--) if (sh_ef_bfd_table[i] == mach) |