* xcoffread.c (xcoff_symfile_read), coffread.c (coff_symfile_read):

Sort symtabs for this objfile only, not for all objfiles.
This commit is contained in:
Jim Kingdon 1993-10-21 05:24:18 +00:00
parent 9c38eb65ac
commit 577e6a8dc5
1 changed files with 7 additions and 4 deletions

View File

@ -2079,10 +2079,13 @@ xcoff_symfile_read (objfile, section_offset, mainline)
free_debugsection ();
/* Sort symbols alphabetically within each block. */
for (s = objfile -> symtabs; s != NULL; s = s -> next)
{
sort_symtab_syms (s);
}
{
struct symtab *s;
for (s = objfile -> symtabs; s != NULL; s = s -> next)
{
sort_symtab_syms (s);
}
}
/* Install any minimal symbols that have been collected as the current
minimal symbols for this objfile. */