* elfxx-mips.c (mips_elf_create_got_section): Initialize hgot.
This commit is contained in:
Richard Sandiford 2006-03-13 19:14:23 +00:00
parent 9282a62962
commit d329bcd1df
2 changed files with 5 additions and 0 deletions

View 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

View 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))