From: Daniel Jacobowitz Date: Fri, 14 Nov 2003 16:05:13 +0000 (+0000) Subject: * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=caec41ff606409212f57e42f99b61194e248da05;p=binutils-gdb.git * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local GOT entries. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index f3afdca1531..63fd6fc48ae 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-11-14 Daniel Jacobowitz + + * elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local + GOT entries. + 2003-11-13 Martin Schwidefsky * elf32-s390.c (elf_s390_relocate_section): Only convert R_390_32 diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index b5456831e99..b7224a5d072 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -2263,7 +2263,7 @@ mips_elf_merge_gots (bfd2got_, p) got entries, since they're all in the master got_entries hash table anyway. */ - BFD_ASSERT (old_lcount + lcount == arg->primary->local_gotno); + BFD_ASSERT (old_lcount + lcount >= arg->primary->local_gotno); BFD_ASSERT (old_gcount + gcount >= arg->primary->global_gotno); arg->primary_count = arg->primary->local_gotno @@ -2287,7 +2287,7 @@ mips_elf_merge_gots (bfd2got_, p) htab_delete (g->got_entries); - BFD_ASSERT (old_lcount + lcount == arg->current->local_gotno); + BFD_ASSERT (old_lcount + lcount >= arg->current->local_gotno); BFD_ASSERT (old_gcount + gcount >= arg->current->global_gotno); arg->current_count = arg->current->local_gotno