X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=bfd%2Felf32-v850.c;h=2965e290dd6c546ecff127f7cdb637623e077f60;hb=cd174cc03c3d22b2aa730d0bf76b71e8b5a8c091;hp=922698f61a6c217cd5e0a81afe3caaeb68724519;hpb=d749d3aaf187cf7abfc082fbd56922aeadc331c7;p=pf3gnuchains%2Fpf3gnuchains4x.git diff --git a/bfd/elf32-v850.c b/bfd/elf32-v850.c index 922698f61a..2965e290dd 100644 --- a/bfd/elf32-v850.c +++ b/bfd/elf32-v850.c @@ -2188,7 +2188,7 @@ v850_elf_relax_delete_bytes (bfd *abfd, Elf32_External_Sym *extsyms; Elf32_External_Sym *esym; Elf32_External_Sym *esymend; - int index; + int sym_index; unsigned int sec_shndx; bfd_byte *contents; Elf_Internal_Rela *irel; @@ -2336,12 +2336,12 @@ v850_elf_relax_delete_bytes (bfd *abfd, esym = extsyms + symtab_hdr->sh_info; esymend = extsyms + (symtab_hdr->sh_size / sizeof (Elf32_External_Sym)); - for (index = 0; esym < esymend; esym ++, index ++) + for (sym_index = 0; esym < esymend; esym ++, sym_index ++) { Elf_Internal_Sym isym; bfd_elf32_swap_symbol_in (abfd, esym, shndx, & isym); - sym_hash = elf_sym_hashes (abfd) [index]; + sym_hash = elf_sym_hashes (abfd) [sym_index]; if (isym.st_shndx == sec_shndx && ((sym_hash)->root.type == bfd_link_hash_defined