diff options
author | Nick Clifton <nickc@redhat.com> | 2009-04-09 13:07:34 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-04-09 13:07:34 +0000 |
commit | c0a3d8be15f85acec18c7e19c02fafeaed0981fb (patch) | |
tree | 0889f5c9287743baf45581def6abf2af5e7dbf6a /gprof/corefile.c | |
parent | 63441252f6997990a5b3e10f962b9e4df865bf26 (diff) | |
download | binutils-redhat-c0a3d8be15f85acec18c7e19c02fafeaed0981fb.tar.gz |
* corefile.c (core_create_function_syms): Initialise a symbol's
is_func field based on the setting of the BSF_FUNCTION flag.
Diffstat (limited to 'gprof/corefile.c')
-rw-r--r-- | gprof/corefile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/corefile.c b/gprof/corefile.c index b3433c299c..1f2575f361 100644 --- a/gprof/corefile.c +++ b/gprof/corefile.c @@ -572,7 +572,7 @@ core_create_function_syms () } } - symtab.limit->is_func = TRUE; + symtab.limit->is_func = (core_syms[i]->flags & BSF_FUNCTION) != 0; symtab.limit->is_bb_head = TRUE; if (class == 't') |