restore some old code to punt symbols which are BSF_LOCAL (needed for Solaris,
authorMark Eichin <eichin@cygnus>
Wed, 1 Jul 1992 22:52:47 +0000 (22:52 +0000)
committerMark Eichin <eichin@cygnus>
Wed, 1 Jul 1992 22:52:47 +0000 (22:52 +0000)
should be correct for anything else.)

gprof/gprof.c

index 88cd5b6..32e297f 100644 (file)
@@ -668,14 +668,12 @@ funcsymbol( symp )
   if (!symp->section)
     return FALSE;
 
-#if 0
   if (!aflag && (symp->flags&BSF_LOCAL)) {
 #if defined(DEBUG)
     fprintf (stderr, "%s(%d):  %s:  not a function\n", __FILE__, __LINE__, symp->name);
 #endif
     return FALSE;
   }
-#endif /* 0 */
   /*
    *   can't have any `funny' characters in name,
    *   where `funny' includes  `.', .o file names