(TXVU_MASK_VFREG): Renamed from TXVU_MASK_REG.
[deliverable/binutils-gdb.git] / gprof / gprof.c
index 7128aa9b3407799fbf9b0aad30e954c2fa76f1bc..1af7fa18369b7ee2be828f2e00f32969caf379fc 100644 (file)
@@ -30,8 +30,6 @@
 #include "source.h"
 #include "sym_ids.h"
 
-#define VERSION "2.7.1"
-
 const char *whoami;
 const char *function_mapping_file;
 const char *a_out_name = A_OUTNAME;
@@ -147,6 +145,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 +369,11 @@ 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 ("Based on BSD gprof, copyright 1983 Regents of the University of California.\n");
+         printf ("\
+This program is free software.  This program has absolutely no warranty.\n");
          done (0);
        case 'w':
          output_width = atoi (optarg);
This page took 0.024695 seconds and 4 git commands to generate.