2005-09-27 Bob Rossi <bob@brasko.net>
[deliverable/binutils-gdb.git] / gdb / elfread.c
index 568d9f442b12671918cce6831c3735a0aee1d1e2..70a825fb42f88f0cdcd45ad11e7740a92c3c847a 100644 (file)
@@ -1,7 +1,7 @@
 /* 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.
 
@@ -254,6 +254,8 @@ elf_symtab_read (struct objfile *objfile, int dynamic)
                              &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;
This page took 0.024674 seconds and 4 git commands to generate.