OSDN Git Service

Add -Wshadow to the gcc command line options used when compiling the binutils.
[pf3gnuchains/pf3gnuchains3x.git] / bfd / elf32-i386.c
index 016e046..61e3097 100644 (file)
@@ -1669,7 +1669,6 @@ elf_i386_check_relocs (bfd *abfd,
                     easily.  Oh well.  */
                  void **vpp;
                  asection *s;
-                 Elf_Internal_Sym *isym;
 
                  isym = bfd_sym_from_r_symndx (&htab->sym_cache,
                                                abfd, r_symndx);
@@ -2665,7 +2664,7 @@ elf_i386_fake_sections (bfd *abfd ATTRIBUTE_UNUSED,
                        Elf_Internal_Shdr *hdr,
                        asection *sec)
 {
-  register const char *name;
+  const char *name;
 
   name = bfd_get_section_name (abfd, sec);
 
@@ -3610,7 +3609,7 @@ elf_i386_relocate_section (bfd *output_bfd,
            {
              Elf_Internal_Rela outrel;
              bfd_byte *loc;
-             int dr_type, indx;
+             int dr_type;
              asection *sreloc;
 
              if (htab->elf.srelgot == NULL)
@@ -3939,7 +3938,6 @@ elf_i386_relocate_section (bfd *output_bfd,
              Elf_Internal_Rela outrel;
              asection *sreloc;
              bfd_byte *loc;
-             int indx;
 
              outrel.r_offset = rel->r_offset
                                + input_section->output_section->vma