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 88cd5b6489c7580f9800360f4458992de680a9cc..32e297fad1e87367fd945bac22d5f707fb0aa2a6 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