bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 13 Mar 2006 19:14:23 +0000 (19:14 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 13 Mar 2006 19:14:23 +0000 (19:14 +0000)
* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.

bfd/ChangeLog
bfd/elfxx-mips.c

index 444a14ea0b8c25b78ecfd6e2c6711865e215bc5f..70ab598460353f1f661ec8a92ddb76fa06b811c1 100644 (file)
@@ -1,3 +1,7 @@
+2006-03-13  Richard Sandiford  <richard@codesourcery.com>
+
+       * elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
+
 2006-03-11  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/2443
index 89acbc57a34a8da521ecaec66b81e322df3cdb38..98974bde8a85a50b0d207f26fae8e8bc0f801edc 100644 (file)
@@ -3576,6 +3576,7 @@ mips_elf_create_got_section (bfd *abfd, struct bfd_link_info *info,
   h->non_elf = 0;
   h->def_regular = 1;
   h->type = STT_OBJECT;
+  elf_hash_table (info)->hgot = h;
 
   if (info->shared
       && ! bfd_elf_link_record_dynamic_symbol (info, h))