2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
* elfread.c (elf_symtab_read): Only mark a minimal symbol as special if it actually exists. Merge the checks for this conditions.
This commit is contained in:
parent
3a29589aa2
commit
a103a963e0
2 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
2009-11-13 Maciej W. Rozycki <macro@codesourcery.com>
|
||||
|
||||
* elfread.c (elf_symtab_read): Only mark a minimal symbol as
|
||||
special if it actually exists. Merge the checks for this
|
||||
conditions.
|
||||
|
||||
2009-11-13 Kazu Hirata <kazu@codesourcery.com>
|
||||
Maxim Kuvyrkov <maxim@codesourcery.com>
|
||||
|
||||
|
|
|
@ -531,10 +531,10 @@ elf_symtab_read (struct objfile *objfile, int type,
|
|||
|
||||
if (elf_sym)
|
||||
MSYMBOL_SIZE(msym) = elf_sym->internal_elf_sym.st_size;
|
||||
}
|
||||
if (msym != NULL)
|
||||
|
||||
msym->filename = filesymname;
|
||||
gdbarch_elf_make_msymbol_special (gdbarch, sym, msym);
|
||||
}
|
||||
|
||||
/* For @plt symbols, also record a trampoline to the
|
||||
destination symbol. The @plt symbol will be used in
|
||||
|
|
Loading…
Reference in a new issue