* mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug

section, but just don't add a 2nd minimal symbol if this is an .mdebug
        section in an ELF file.
This commit is contained in:
Dawn Perchik 1998-07-02 17:30:20 +00:00
parent 5cc30c0a87
commit 3acd0db516
2 changed files with 101 additions and 97 deletions

View File

@ -1,3 +1,9 @@
Thu Jul 2 10:22:00 1998 Dawn Perchik <dawn@cygnus.com>
* mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug
section, but just don't add a 2nd minimal symbol if this is an .mdebug
section in an ELF file.
1998-07-01 Jim Blandy <jimb@zwingli.cygnus.com>
* Makefile.in (ax-general.o): Depend on $(defs_h) too.

View File

@ -2431,8 +2431,6 @@ parse_partial_symbols (objfile, section_offsets)
Skip the creation of the minimal symbols based on the ECOFF
symbol table. */
if (ECOFF_IN_ELF(cur_bfd))
{
/* Pass 2 over external syms: fill in external symbols */
ext_in = ext_block;
ext_in_end = ext_in + hdr->iextMax;
@ -2525,7 +2523,7 @@ parse_partial_symbols (objfile, section_offsets)
whose name starts with a `.'. Skip those but complain for all
other stLocal symbols.
Irix6 puts the section start addresses in stNil symbols, skip
those too. */
those too.*/
if (name[0] == '.')
continue;
/* Fall through. */
@ -2533,9 +2531,9 @@ parse_partial_symbols (objfile, section_offsets)
ms_type = mst_unknown;
complain (&unknown_ext_complaint, name);
}
if (!ECOFF_IN_ELF(cur_bfd))
prim_record_minimal_symbol (name, svalue, ms_type, objfile);
}
}
/* Pass 3 over files, over local syms: fill in static symbols */
for (f_idx = 0; f_idx < hdr->ifdMax; f_idx++)