* linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints
[deliverable/binutils-gdb.git] / gdb / elfread.c
index f8e08ea19fcfe946f772187308ea30f1f26fbbee..575b088092e1a319f6192a27e5fae3e1c92da21b 100644 (file)
@@ -1,6 +1,6 @@
 /* Read ELF (Executable and Linking Format) object files for GDB.
 
-   Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+   Copyright (C) 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
    2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 
    Written by Fred Fish at Cygnus Support.
@@ -19,8 +19,8 @@
 
    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
-   Foundation, Inc., 59 Temple Place - Suite 330,
-   Boston, MA 02111-1307, USA.  */
+   Foundation, Inc., 51 Franklin Street, Fifth Floor,
+   Boston, MA 02110-1301, USA.  */
 
 #include "defs.h"
 #include "bfd.h"
@@ -530,13 +530,7 @@ elf_symfile_read (struct objfile *objfile, int mainline)
       make_cleanup (xfree, synthsyms);
       synth_symbol_table = xmalloc (sizeof (asymbol *) * synthcount);
       for (i = 0; i < synthcount; i++)
-       {
-         synth_symbol_table[i] = synthsyms + i;
-         /* Synthetic symbols are not, strictly speaking, either local
-            or global.  But we can treat them as global symbols, since
-            they are effectively dynamic symbols.  */
-         synth_symbol_table[i]->flags |= BSF_GLOBAL;
-       }
+       synth_symbol_table[i] = synthsyms + i;
       make_cleanup (xfree, synth_symbol_table);
       elf_symtab_read (objfile, 0, synthcount, synth_symbol_table);
     }
This page took 0.026372 seconds and 4 git commands to generate.