summaryrefslogtreecommitdiffstats
path: root/usr.bin/gprof/aout.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2004-06-20 11:05:25 +0000
committerstefanf <stefanf@FreeBSD.org>2004-06-20 11:05:25 +0000
commitaa456841b2ac37ef5d887fe1d9feb715d303cbee (patch)
treecb9dea9d68f8350a536dd0d626eb98e12b6ed452 /usr.bin/gprof/aout.c
parentbcffee208f3017076a5d0f6bb8ae3a0ae9802b18 (diff)
downloadFreeBSD-src-aa456841b2ac37ef5d887fe1d9feb715d303cbee.zip
FreeBSD-src-aa456841b2ac37ef5d887fe1d9feb715d303cbee.tar.gz
Retire support for gprof's -c option. All our currently supported
architectures only provide a dummy implementation. Silence on: current@
Diffstat (limited to 'usr.bin/gprof/aout.c')
-rw-r--r--usr.bin/gprof/aout.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/usr.bin/gprof/aout.c b/usr.bin/gprof/aout.c
index 349a471..2ccf818 100644
--- a/usr.bin/gprof/aout.c
+++ b/usr.bin/gprof/aout.c
@@ -176,9 +176,6 @@ static void
gettextspace(FILE *nfile)
{
- if ( cflag == 0 ) {
- return;
- }
textspace = (u_char *) malloc( xbuf.a_text );
if ( textspace == 0 ) {
warnx("no room for %lu bytes of text space: can't do -c" ,
OpenPOWER on IntegriCloud