aboutsummaryrefslogtreecommitdiff
path: root/gprof/cg_print.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-02-12 12:47:39 +0000
committerAlan Modra <amodra@gmail.com>2009-02-12 12:47:39 +0000
commitd401d98a57f2e2d30befd5dbe479aaa2d5e83deb (patch)
tree87209154fa19df0abee30996e3768cfa4907dde9 /gprof/cg_print.c
parent5d7cb8dff5604ea7f2a1cc598a95b2067c16dde6 (diff)
downloadfsf-binutils-gdb-d401d98a57f2e2d30befd5dbe479aaa2d5e83deb.zip
fsf-binutils-gdb-d401d98a57f2e2d30befd5dbe479aaa2d5e83deb.tar.gz
fsf-binutils-gdb-d401d98a57f2e2d30befd5dbe479aaa2d5e83deb.tar.bz2
* corefile.c (core_create_function_syms): Remove "<locore>" and
"<hicore>" sentinels. * gprof.c: Likewise. * cg_print.c (cg_print_function_ordering): Likewise. * alpha.c (alpha_find_call): Add check for return value of sym_lookup. * mips.c (mips_find_call): Likewise. * sparc.c (sparc_find_call): Likewise. * tahoe.c (tahoe_find_call): Likewise. * vax.c (vax_find_call): Likewise.
Diffstat (limited to 'gprof/cg_print.c')
-rw-r--r--gprof/cg_print.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/gprof/cg_print.c b/gprof/cg_print.c
index 2557997..58ff608 100644
--- a/gprof/cg_print.c
+++ b/gprof/cg_print.c
@@ -804,13 +804,8 @@ cg_print_function_ordering ()
{
if (symtab.base[index].ncalls == 0)
{
- /* Filter out gprof generated names. */
- if (strcmp (symtab.base[index].name, "<locore>")
- && strcmp (symtab.base[index].name, "<hicore>"))
- {
- unused_syms[unused++] = &symtab.base[index];
- symtab.base[index].has_been_placed = 1;
- }
+ unused_syms[unused++] = &symtab.base[index];
+ symtab.base[index].has_been_placed = 1;
}
else
{