2004-05-07 Andrew Cagney <cagney@redhat.com>

* objfiles.h (struct entry_info): Delete unused fields
	deprecated_entry_file_lowpc and deprecated_entry_file_highpc.
	* objfiles.c (init_entry_point_info, objfile_relocate): Update.
	* mipsread.c (mipscoff_symfile_read): Update.
	* mdebugread.c (parse_partial_symbols): Update.
	* dwarfread.c (read_file_scope): Update.
	* dwarf2read.c (read_file_scope): Update.
	* dbxread.c (read_dbx_symtab, read_dbx_symtab): Update.
	* coffread.c (complete_symtab): Update.
This commit is contained in:
Andrew Cagney
2004-05-07 14:29:34 +00:00
parent 1d3056ac0d
commit 73c1e0a129
9 changed files with 14 additions and 79 deletions

View File

@@ -102,25 +102,6 @@ mipscoff_symfile_read (struct objfile *objfile, int mainline)
minimal symbols for this objfile. */
install_minimal_symbols (objfile);
/* If the entry_file bounds are still unknown after processing the
partial symbols, then try to set them from the minimal symbols
surrounding the entry_point. */
if (mainline
&& objfile->ei.entry_point != INVALID_ENTRY_POINT
&& objfile->ei.deprecated_entry_file_lowpc == INVALID_ENTRY_LOWPC)
{
struct minimal_symbol *m;
m = lookup_minimal_symbol_by_pc (objfile->ei.entry_point);
if (m && DEPRECATED_SYMBOL_NAME (m + 1))
{
objfile->ei.deprecated_entry_file_lowpc = SYMBOL_VALUE_ADDRESS (m);
objfile->ei.deprecated_entry_file_highpc = SYMBOL_VALUE_ADDRESS (m + 1);
}
}
do_cleanups (back_to);
}