aboutsummaryrefslogtreecommitdiff
path: root/binutils/version.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-02 06:02:12 +0000
committerAlan Modra <amodra@gmail.com>2001-10-02 06:02:12 +0000
commit6a8c2b0d5eeb82bbc7961fac3d12446a73e09dcf (patch)
tree8c9fd258fc174b88190e4b19a441480c5948c515 /binutils/version.c
parent7812ae365bca48f7e0dc30873c92252e56a70dde (diff)
downloadgdb-6a8c2b0d5eeb82bbc7961fac3d12446a73e09dcf.zip
gdb-6a8c2b0d5eeb82bbc7961fac3d12446a73e09dcf.tar.gz
gdb-6a8c2b0d5eeb82bbc7961fac3d12446a73e09dcf.tar.bz2
* coffdump.c (PROGRAM_VERSION): Delete.
(main <'V'>): Call print_version. * srconv.c: Likewise. * sysdump.c: Likewise. * version.c (program_version): Remove. (print_version): Use BFD_VERSION_STRING. Just print the current year in copyright message. * addr2line.c (program_version): Remove unused declaration. * objdump.c (display_target_tables): Use BFD_VERSION_STRING in place of BFD_VERSION. * Makefile.am (Makefile): Depend on bfd/configure.in (cplus-dem.o): Depend on Makefile. Run "make dep-am" * Makefile.in: Regenerate.
Diffstat (limited to 'binutils/version.c')
-rw-r--r--binutils/version.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/binutils/version.c b/binutils/version.c
index 5a4aefe..ac67d8a 100644
--- a/binutils/version.c
+++ b/binutils/version.c
@@ -22,11 +22,6 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "bfd.h"
#include "bucomm.h"
-/* This is the version numbers for the binutils. They all change in
- lockstep -- it's easier that way. */
-
-const char *program_version = VERSION;
-
/* Print the version number and copyright information, and exit. This
implements the --version option for the various programs. */
@@ -36,8 +31,8 @@ print_version (name)
{
/* This output is intended to follow the GNU standards document. */
/* xgettext:c-format */
- printf ("GNU %s %s\n", name, program_version);
- printf (_("Copyright 1997, 98, 99, 2000, 2001 Free Software Foundation, Inc.\n"));
+ printf ("GNU %s %s\n", name, BFD_VERSION_STRING);
+ printf (_("Copyright 2001 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"));