* elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.
This commit is contained in:
parent
5e35cbc224
commit
e3d54347fe
2 changed files with 5 additions and 0 deletions
|
@ -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>
|
2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
|
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
|
||||||
|
|
|
@ -2867,6 +2867,7 @@ mips_elf_create_got_section (abfd, info, maybe_exclude)
|
||||||
if (g == NULL)
|
if (g == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
g->global_gotsym = NULL;
|
g->global_gotsym = NULL;
|
||||||
|
g->global_gotno = 0;
|
||||||
g->local_gotno = MIPS_RESERVED_GOTNO;
|
g->local_gotno = MIPS_RESERVED_GOTNO;
|
||||||
g->assigned_gotno = MIPS_RESERVED_GOTNO;
|
g->assigned_gotno = MIPS_RESERVED_GOTNO;
|
||||||
g->bfd2got = NULL;
|
g->bfd2got = NULL;
|
||||||
|
|
Loading…
Reference in a new issue