* elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.
authorRichard Sandiford <rdsandiford@googlemail.com>
Fri, 24 Oct 2003 15:18:29 +0000 (15:18 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Fri, 24 Oct 2003 15:18:29 +0000 (15:18 +0000)
bfd/ChangeLog
bfd/elfxx-mips.c

index 2c7c4cc481ef0a5df65c486a47450df1369a5088..df6cb7746f15bc7d1b361a223f72628eb2e58d03 100644 (file)
@@ -1,3 +1,7 @@
+2003-10-14  Richard Sandiford  <rsandifo@redhat.com>
+
+       * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.
+
 2003-10-24  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
index 2bff5a0570be90d9214ef87d87105a624b58ce11..6a6787fe4508d5462955cb09a7184004648c0add 100644 (file)
@@ -2867,6 +2867,7 @@ mips_elf_create_got_section (abfd, info, maybe_exclude)
   if (g == NULL)
     return FALSE;
   g->global_gotsym = NULL;
+  g->global_gotno = 0;
   g->local_gotno = MIPS_RESERVED_GOTNO;
   g->assigned_gotno = MIPS_RESERVED_GOTNO;
   g->bfd2got = NULL;