mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
2009-12-07 Tristan Gingold <gingold@adacore.com>
* dbxread.c (dbx_symfile_read): No need to test mainline to call init_psymbol_list. * xcoffread.c (xcoff_initial_scan): Ditto; * coffread.c (coff_symfile_read): Remove call to init_psymbol_list. * elfread.c (elf_symfile_read): Ditto. * machoread.c (macho_symfile_read): Ditto.
This commit is contained in:
@ -691,15 +691,6 @@ elf_symfile_read (struct objfile *objfile, int mainline)
|
||||
/* Now process debugging information, which is contained in
|
||||
special ELF sections. */
|
||||
|
||||
/* If we are reinitializing, or if we have never loaded syms yet,
|
||||
set table to empty. MAINLINE is cleared so that *_read_psymtab
|
||||
functions do not all also re-initialize the psymbol table. */
|
||||
if (mainline)
|
||||
{
|
||||
init_psymbol_list (objfile, 0);
|
||||
mainline = 0;
|
||||
}
|
||||
|
||||
/* We first have to find them... */
|
||||
bfd_map_over_sections (abfd, elf_locate_sections, (void *) & ei);
|
||||
|
||||
|
Reference in New Issue
Block a user