summaryrefslogtreecommitdiff
path: root/gprof/gprof.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2007-03-01 15:48:36 +0000
committerJoseph Myers <joseph@codesourcery.com>2007-03-01 15:48:36 +0000
commit8071947142fd0d08278d524066716a90102d2391 (patch)
tree1e8e39318a5d3cb08cd1339bafff29725da6f5c9 /gprof/gprof.c
parente39e2e128b03321dba6e9cb5c8b3daea26965539 (diff)
downloadbinutils-redhat-8071947142fd0d08278d524066716a90102d2391.tar.gz
bfd:
* Makefile.am (bfdver.h): Use "." not " " between version number and date. * Makefile.in: Regenerate. * configure.in (PKGVERSION): Default to "(GNU Binutils) ". * configure: Regenerate. binutils: * version.c (print_version): Update copyright date. gas: * as.c (parse_args): Update copyright date. gprof: * gprof.c: Include bfdver.h (main): Use BFD_VERSION_STRING for version number and package name. * Makefile.am (PKGVERSION): Remove. (INCLUDES): Update. Regenerate dependencies. * Makefile.in: Regenerate. * configure.in (PKGVERSION): Remove. * configure: Regenerate. ld: * ldver.c (ldversion): Remove word "version" from output. Update copyright date.
Diffstat (limited to 'gprof/gprof.c')
-rw-r--r--gprof/gprof.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gprof/gprof.c b/gprof/gprof.c
index d956ad574d..98406e67d3 100644
--- a/gprof/gprof.c
+++ b/gprof/gprof.c
@@ -29,6 +29,7 @@
#include "libiberty.h"
#include "gprof.h"
+#include "bfdver.h"
#include "search_list.h"
#include "source.h"
#include "symtab.h"
@@ -411,7 +412,7 @@ main (int argc, char **argv)
break;
case 'v':
/* This output is intended to follow the GNU standards document. */
- printf (_("GNU gprof %s\n"), PKGVERSION VERSION);
+ printf (_("GNU gprof %s\n"), BFD_VERSION_STRING);
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"));