forked from Imagelibrary/binutils-gdb
2003-06-11 David Carlton <carlton@bactrian.org>
* block.h (BLOCK_SHOULD_SORT): Delete. * symtab.c (lookup_block_symbol): Don't worry about sorted linear blocks. * ada-lang.c (ada_add_block_symbols): Ditto. * symfile.c (sort_block_syms): Delete. (sort_symtab_syms): Ditto. * symfile.h: Delete sort_symtabs_syms and sort_block_syms declarations. * coffread.c (coff_symfile_read): Don't call sort_symtab_syms. * dbxread.c (dbx_psymtab_to_symtab_1): Ditto. * dwarf2read.c (psymtab_to_symtab_1): Ditto. * dwarfread.c (psymtab_to_symtab_1): Ditto. * hpread.c (hpread_psymtab_to_symtab_1): Ditto. * mdebugread.c (psymtab_to_symtab_1): Ditto. * xcoffread.c (xcoff_psymtab_to_symtab_1): Ditto.
This commit is contained in:
@@ -4008,10 +4008,6 @@ psymtab_to_symtab_1 (struct partial_symtab *pst, char *filename)
|
||||
end_stabs ();
|
||||
}
|
||||
|
||||
/* Sort the symbol table now, we are done adding symbols to it.
|
||||
We must do this before parse_procedure calls lookup_symbol. */
|
||||
sort_symtab_syms (st);
|
||||
|
||||
/* There used to be a call to sort_blocks here, but this should not
|
||||
be necessary for stabs symtabs. And as sort_blocks modifies the
|
||||
start address of the GLOBAL_BLOCK to the FIRST_LOCAL_BLOCK,
|
||||
@@ -4206,9 +4202,6 @@ psymtab_to_symtab_1 (struct partial_symtab *pst, char *filename)
|
||||
|
||||
st->primary = 1;
|
||||
|
||||
/* Sort the symbol table now, we are done adding symbols to it. */
|
||||
sort_symtab_syms (st);
|
||||
|
||||
sort_blocks (st);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user