bfd/
[deliverable/binutils-gdb.git] / bfd / elfxx-mips.c
index 07546babce4083621844020a4fbbe143436bf89f..3ed4596baa6078aef9634f36fed10d6d3d883e8c 100644 (file)
@@ -3777,9 +3777,9 @@ mips_elf_record_local_got_symbol (bfd *abfd, long symndx, bfd_vma addend,
       return TRUE;
     }
 
+  entry.gotidx = -1;
   if (tls_flag != 0)
     {
-      entry.gotidx = -1;
       entry.tls_type = tls_flag;
       if (tls_flag == GOT_TLS_IE)
        g->tls_gotno += 1;
@@ -3793,7 +3793,7 @@ mips_elf_record_local_got_symbol (bfd *abfd, long symndx, bfd_vma addend,
     }
   else
     {
-      entry.gotidx = g->local_gotno++;
+      g->local_gotno += 1;
       entry.tls_type = 0;
     }
 
This page took 0.026622 seconds and 4 git commands to generate.