2004-02-17 Elena Zannoni <ezannoni@redhat.com>
* objfiles.c (terminate_minimal_symbol_table): Add back initialization of MSYMBOL_TYPE.
This commit is contained in:
parent
9fc9f5e2ec
commit
5bf0017e00
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2004-02-17 Elena Zannoni <ezannoni@redhat.com>
|
||||||
|
|
||||||
|
* objfiles.c (terminate_minimal_symbol_table): Add back
|
||||||
|
initialization of MSYMBOL_TYPE.
|
||||||
|
|
||||||
2004-02-17 David Mosberger <davidm@hpl.hp.com>
|
2004-02-17 David Mosberger <davidm@hpl.hp.com>
|
||||||
|
|
||||||
Committed by Andrew Cagney.
|
Committed by Andrew Cagney.
|
||||||
|
|
|
@ -283,6 +283,8 @@ terminate_minimal_symbol_table (struct objfile *objfile)
|
||||||
= &objfile->msymbols[objfile->minimal_symbol_count];
|
= &objfile->msymbols[objfile->minimal_symbol_count];
|
||||||
|
|
||||||
memset (m, 0, sizeof (*m));
|
memset (m, 0, sizeof (*m));
|
||||||
|
/* Don't rely on these enumeration values being 0's. */
|
||||||
|
MSYMBOL_TYPE (m) = mst_unknown;
|
||||||
SYMBOL_INIT_LANGUAGE_SPECIFIC (m, language_unknown);
|
SYMBOL_INIT_LANGUAGE_SPECIFIC (m, language_unknown);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue