static void add_equivalences (bool *saw_equiv) { segment_info *f; bool seen_one, more; seen_one = false; more = TRUE; while (more) { more = FALSE; for (f = current_segment; f; f = f->next) { if (!f->sym->equiv_built) { f->sym->equiv_built = 1; seen_one = find_equivalence (f); if (seen_one) { *saw_equiv = true; more = true; } } } } /* Add a copy of this segment list to the namespace. */ copy_equiv_list_to_ns (current_segment); }
static void add_equivalences (void) { segment_info *f; bool more; more = TRUE; while (more) { more = FALSE; for (f = current_segment; f; f = f->next) { if (!f->sym->equiv_built) { f->sym->equiv_built = 1; more = find_equivalence (f); } } } }