summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/binutils/gprof/gprof.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-11-23 04:12:06 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-11-23 04:12:06 +0000
commit37d4621bd4a912b6a032bc21906f7032e602cbf2 (patch)
tree6e6f3dad18baebc5f90abdcbbf4a8ba242555627 /gnu/usr.bin/binutils/gprof/gprof.c
parentfb7c7a778840ea235dd0bb550cfd2e2ac8ccb37c (diff)
Merge to Cygnus 961112 + add some support (not ready) for shared libs
Diffstat (limited to 'gnu/usr.bin/binutils/gprof/gprof.c')
-rw-r--r--gnu/usr.bin/binutils/gprof/gprof.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/gprof/gprof.c b/gnu/usr.bin/binutils/gprof/gprof.c
index 7128aa9b340..cb76cff0620 100644
--- a/gnu/usr.bin/binutils/gprof/gprof.c
+++ b/gnu/usr.bin/binutils/gprof/gprof.c
@@ -147,6 +147,8 @@ Usage: %s [-[abcDhilLsTvwxyz]] [-[ACeEfFJnNOpPqQZ][name]] [-I dirs]\n\
[--version] [--width=n] [--ignore-non-functions]\n\
[image-file] [profile-file...]\n",
whoami);
+ if (status == 0)
+ fprintf (stream, "Report bugs to bug-gnu-utils@prep.ai.mit.edu\n");
done (status);
}
@@ -369,7 +371,12 @@ DEFUN (main, (argc, argv), int argc AND char **argv)
bsd_style_output = TRUE;
break;
case 'v':
- printf ("%s version %s\n", whoami, VERSION);
+ /* This output is intended to follow the GNU standards document. */
+ printf ("GNU gprof %s\n", VERSION);
+ printf ("Copyright 1996 Free Software Foundation, Inc.\n");
+ printf ("\
+This program is free software; you may redistribute it under the terms of\n\
+the GNU General Public License. This program has absolutely no warranty.\n");
done (0);
case 'w':
output_width = atoi (optarg);