diff options
Diffstat (limited to 'bfd/elf32-ft32.c')
-rw-r--r-- | bfd/elf32-ft32.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elf32-ft32.c b/bfd/elf32-ft32.c index bd0ed3e..5a6ec76 100644 --- a/bfd/elf32-ft32.c +++ b/bfd/elf32-ft32.c @@ -267,8 +267,7 @@ ft32_reloc_type_lookup (bfd *abfd ATTRIBUTE_UNUSED, { unsigned int i; - for (i = sizeof (ft32_reloc_map) / sizeof (ft32_reloc_map[0]); - --i;) + for (i = 0; i < sizeof (ft32_reloc_map) / sizeof (ft32_reloc_map[0]); i++) if (ft32_reloc_map [i].bfd_reloc_val == code) return & ft32_elf_howto_table [ft32_reloc_map[i].ft32_reloc_val]; |