binutils/
[deliverable/binutils-gdb.git] / bfd / elf32-i386.c
index 9de1a6c7aff4d7aaa095e4e6a2c71f9dd630bce9..016e04611af3537909cc26b4b0b14cad20ed3562 100644 (file)
@@ -4251,13 +4251,15 @@ elf_i386_finish_dynamic_symbol (bfd *output_bfd,
            }
          else
            {
+             asection *plt;
+
              if (!h->pointer_equality_needed)
                abort ();
 
              /* For non-shared object, we can't use .got.plt, which
                 contains the real function addres if we need pointer
                 equality.  We load the GOT entry with the PLT entry.  */
-             asection *plt = htab->elf.splt ? htab->elf.splt : htab->elf.iplt;
+             plt = htab->elf.splt ? htab->elf.splt : htab->elf.iplt;
              bfd_put_32 (output_bfd,
                          (plt->output_section->vma
                           + plt->output_offset + h->plt.offset),
This page took 0.023498 seconds and 4 git commands to generate.