mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-28 06:20:30 +00:00
* elfread.c (elf_symtab_read): Discard section syms.
This commit is contained in:
parent
f364d1ca1d
commit
85e3476f96
@ -1,3 +1,7 @@
|
||||
2005-02-21 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elfread.c (elf_symtab_read): Discard section syms.
|
||||
|
||||
2005-02-21 Andrew Cagney <cagney@gnu.org>
|
||||
|
||||
* cli/cli-decode.c (add_set_enum_cmd): Delete function.
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user