* gprof.c (funcsymbol): Use bfd_get_symbol_info instead of
bfd_decode_symclass.
This commit is contained in:
parent
4335ce642d
commit
4b8250bda2
2 changed files with 10 additions and 2 deletions
|
@ -1,4 +1,9 @@
|
|||
Sun Mar 20 15:40:21 1994 Jeffrey A. Law (law@cygnus.com)
|
||||
Tue Mar 22 10:50:52 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||
|
||||
* gprof.c (funcsymbol): Use bfd_get_symbol_info instead of
|
||||
bfd_decode_symclass.
|
||||
|
||||
Sun Mar 20 15:40:21 1994 Jeffrey A. Law (law@snake.cs.utah.edu)
|
||||
|
||||
* Makefile.in: Avoid bug in hpux sed.
|
||||
|
||||
|
|
|
@ -690,6 +690,7 @@ funcsymbol( symp )
|
|||
CONST char *name;
|
||||
int i;
|
||||
char symprefix;
|
||||
symbol_info syminfo;
|
||||
|
||||
/*
|
||||
* must be a text symbol,
|
||||
|
@ -707,8 +708,10 @@ funcsymbol( symp )
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
|
||||
symprefix = bfd_get_symbol_leading_char (abfd);
|
||||
i = bfd_decode_symclass (symp);
|
||||
bfd_get_symbol_info (abfd, symp, &syminfo);
|
||||
i = syminfo.type;
|
||||
#if defined(DEBUG) && 0
|
||||
if (i != 'T' && i != 't')
|
||||
fprintf (stderr, "%s(%d): %s is of class %c\n", __FILE__, __LINE__, symp->name, i);
|
||||
|
|
Loading…
Reference in a new issue