summaryrefslogtreecommitdiff
path: root/binutils/sysdump.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/sysdump.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/sysdump.c')
-rw-r--r--binutils/sysdump.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/binutils/sysdump.c b/binutils/sysdump.c
index 874b9e5bed..0b0d49524f 100644
--- a/binutils/sysdump.c
+++ b/binutils/sysdump.c
@@ -33,8 +33,6 @@
#include <getopt.h>
#include "sysroff.h"
-#define PROGRAM_VERSION "1.0"
-
static int dump = 1;
static int segmented_p;
static int code;
@@ -778,7 +776,7 @@ main (ac, av)
show_help ();
/*NOTREACHED*/
case 'V':
- printf (_("GNU %s version %s\n"), program_name, PROGRAM_VERSION);
+ print_version ("sysdump");
exit (0);
/*NOTREACHED*/
case 0: