From e3d54347fecd99fe254b14a8613f2d2cdca1747e Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Fri, 24 Oct 2003 15:18:29 +0000 Subject: [PATCH] * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno. --- bfd/ChangeLog | 4 ++++ bfd/elfxx-mips.c | 1 + 2 files changed, 5 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 2c7c4cc481e..df6cb7746f1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2003-10-14 Richard Sandiford + + * elfxx-mips.c (mips_elf_create_got_section): Initialize global_gotno. + 2003-10-24 H.J. Lu * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 2bff5a0570b..6a6787fe450 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; -- 2.30.2