mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
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:
@@ -250,8 +250,6 @@ init_entry_point_info (struct objfile *objfile)
|
||||
/* Examination of non-executable.o files. Short-circuit this stuff. */
|
||||
objfile->ei.entry_point = INVALID_ENTRY_POINT;
|
||||
}
|
||||
objfile->ei.deprecated_entry_file_lowpc = INVALID_ENTRY_LOWPC;
|
||||
objfile->ei.deprecated_entry_file_highpc = INVALID_ENTRY_HIGHPC;
|
||||
objfile->ei.entry_func_lowpc = INVALID_ENTRY_LOWPC;
|
||||
objfile->ei.entry_func_highpc = INVALID_ENTRY_HIGHPC;
|
||||
objfile->ei.main_func_lowpc = INVALID_ENTRY_LOWPC;
|
||||
@@ -657,12 +655,6 @@ objfile_relocate (struct objfile *objfile, struct section_offsets *new_offsets)
|
||||
objfile->ei.entry_func_highpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile));
|
||||
}
|
||||
|
||||
if (objfile->ei.deprecated_entry_file_lowpc != INVALID_ENTRY_LOWPC)
|
||||
{
|
||||
objfile->ei.deprecated_entry_file_lowpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile));
|
||||
objfile->ei.deprecated_entry_file_highpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile));
|
||||
}
|
||||
|
||||
if (objfile->ei.main_func_lowpc != INVALID_ENTRY_LOWPC)
|
||||
{
|
||||
objfile->ei.main_func_lowpc += ANOFFSET (delta, SECT_OFF_TEXT (objfile));
|
||||
|
||||
Reference in New Issue
Block a user