From 6a8c2b0d5eeb82bbc7961fac3d12446a73e09dcf Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 2 Oct 2001 06:02:12 +0000 Subject: * 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. --- binutils/srconv.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'binutils/srconv.c') diff --git a/binutils/srconv.c b/binutils/srconv.c index 9a40f16b513..b55d2d96353 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: -- cgit v1.2.1