mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-29 16:38:05 +08:00
2000-02-14 Amit S. Kale <akale@veritas.com>
* elfread.c (elf_symtab_read): Move the use of sym to after where it is set. Checked in by Jim Kingdon <kingdon@redhat.com>
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2000-02-14 Amit S. Kale <akale@veritas.com>
|
||||||
|
|
||||||
|
* elfread.c (elf_symtab_read): Move the use of sym to after where
|
||||||
|
it is set.
|
||||||
|
Checked in by Jim Kingdon <kingdon@redhat.com>
|
||||||
|
|
||||||
Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
* MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
|
* MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
|
||||||
|
@ -293,10 +293,10 @@ elf_symtab_read (objfile, dynamic)
|
|||||||
if (number_of_symbols < 0)
|
if (number_of_symbols < 0)
|
||||||
error ("Can't read symbols from %s: %s", bfd_get_filename (objfile->obfd),
|
error ("Can't read symbols from %s: %s", bfd_get_filename (objfile->obfd),
|
||||||
bfd_errmsg (bfd_get_error ()));
|
bfd_errmsg (bfd_get_error ()));
|
||||||
offset = ANOFFSET (objfile->section_offsets, sym->section->index);
|
|
||||||
for (i = 0; i < number_of_symbols; i++)
|
for (i = 0; i < number_of_symbols; i++)
|
||||||
{
|
{
|
||||||
sym = symbol_table[i];
|
sym = symbol_table[i];
|
||||||
|
offset = ANOFFSET (objfile->section_offsets, sym->section->index);
|
||||||
if (sym->name == NULL || *sym->name == '\0')
|
if (sym->name == NULL || *sym->name == '\0')
|
||||||
{
|
{
|
||||||
/* Skip names that don't exist (shouldn't happen), or names
|
/* Skip names that don't exist (shouldn't happen), or names
|
||||||
|
Reference in New Issue
Block a user