aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2003-10-24 15:18:29 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2003-10-24 15:18:29 +0000
commite3d54347fecd99fe254b14a8613f2d2cdca1747e (patch)
treefba7d275c8ea1608b931cfd56a4b5d17356a56e4 /bfd/elfxx-mips.c
parent5e35cbc224bd9b78e4547073ca92b1fd85ad9301 (diff)
downloadgdb-e3d54347fecd99fe254b14a8613f2d2cdca1747e.zip
gdb-e3d54347fecd99fe254b14a8613f2d2cdca1747e.tar.gz
gdb-e3d54347fecd99fe254b14a8613f2d2cdca1747e.tar.bz2
* elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 2bff5a0..6a6787f 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -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;