aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-11-14 16:05:13 +0000
committerDaniel Jacobowitz <drow@false.org>2003-11-14 16:05:13 +0000
commitcaec41ff606409212f57e42f99b61194e248da05 (patch)
tree007973cf7acaba2c0023297630b8c231ed4036a0 /bfd/elfxx-mips.c
parent22a398e1906e55c453f561070206acb80daf91f1 (diff)
downloadgdb-caec41ff606409212f57e42f99b61194e248da05.zip
gdb-caec41ff606409212f57e42f99b61194e248da05.tar.gz
gdb-caec41ff606409212f57e42f99b61194e248da05.tar.bz2
* elfxx-mips.c (mips_elf_merge_gots): Weaken assert for local
GOT entries.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index b545683..b7224a5 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