aboutsummaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
authorMark Eichin <eichin@cygnus>1992-07-01 22:52:47 +0000
committerMark Eichin <eichin@cygnus>1992-07-01 22:52:47 +0000
commita0d48c83a3fefce2b64e7d4b9a82dd9650334543 (patch)
tree199a3da4c82c4b608f79e697cb613f384bf7e03c /gprof/gprof.c
parentc73e3fe40c268fd0d7f60a7b60800597cdeb3463 (diff)
downloadgdb-a0d48c83a3fefce2b64e7d4b9a82dd9650334543.zip
gdb-a0d48c83a3fefce2b64e7d4b9a82dd9650334543.tar.gz
gdb-a0d48c83a3fefce2b64e7d4b9a82dd9650334543.tar.bz2
restore some old code to punt symbols which are BSF_LOCAL (needed for Solaris,
should be correct for anything else.)
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r--gprof/gprof.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index 88cd5b6..32e297f 100644
--- a/gprof/gprof.c
+++ b/gprof/gprof.c
@@ -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