summaryrefslogtreecommitdiff
path: root/binutils/srconv.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-10-02 06:02:12 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-10-02 06:02:12 +0000
commit3b696b94fd9b601a6a94cc90776fefc8583f2101 (patch)
tree64a926bc7e28eaaa94c194cb1f0cbc910a4a2b27 /binutils/srconv.c
parent6f0a120bef42145034fd848bac64bb21aa48a921 (diff)
downloadbinutils-redhat-3b696b94fd9b601a6a94cc90776fefc8583f2101.tar.gz
* 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/srconv.c')
-rw-r--r--binutils/srconv.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/binutils/srconv.c b/binutils/srconv.c
index 9a40f16b51..b55d2d9635 100644
--- a/binutils/srconv.c
+++ b/binutils/srconv.c
@@ -36,7 +36,6 @@
#include "coff/internal.h"
#include "../bfd/libcoff.h"
-#define PROGRAM_VERSION "1.5"
/*#define FOOP1 1 */
static int addrsize;
@@ -1993,7 +1992,7 @@ main (ac, av)
show_help ();
/*NOTREACHED */
case 'V':
- printf (_("GNU %s version %s\n"), program_name, PROGRAM_VERSION);
+ print_version ("srconv");
exit (0);
/*NOTREACHED */
case 0: