/* Read ELF (Executable and Linking Format) object files for GDB.
Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+ 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
Written by Fred Fish at Cygnus Support.
&objfile->objfile_obstack);
#endif
}
+ else if (sym->flags & BSF_SECTION_SYM)
+ continue;
else if (sym->flags & (BSF_GLOBAL | BSF_LOCAL | BSF_WEAK))
{
struct minimal_symbol *msym;
if (filesym == NULL)
{
complaint (&symfile_complaints,
- "elf/stab section information %s without a preceding file symbol",
+ _("elf/stab section information %s without a preceding file symbol"),
sym->name);
}
else
}
if (sectinfo->sections[special_local_sect] != 0)
complaint (&symfile_complaints,
- "duplicated elf/stab section information for %s",
+ _("duplicated elf/stab section information for %s"),
sectinfo->filename);
/* BFD symbols are section relative. */
symaddr = sym->value + sym->section->vma;
if (maybe == 0 && questionable != 0)
{
complaint (&symfile_complaints,
- "elf/stab section information questionable for %s", filename);
+ _("elf/stab section information questionable for %s"), filename);
maybe = questionable;
}
/* We were unable to find any offsets for this file. Complain. */
if (dbx->stab_section_info) /* If there *is* any info, */
complaint (&symfile_complaints,
- "elf/stab section information missing for %s", filename);
+ _("elf/stab section information missing for %s"), filename);
}
\f
/* Register that we are able to handle ELF object file formats. */