summaryrefslogtreecommitdiff
path: root/binutils/coffdump.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/coffdump.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/coffdump.c')
-rw-r--r--binutils/coffdump.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/binutils/coffdump.c b/binutils/coffdump.c
index 0bd39f40d9..598d29d00d 100644
--- a/binutils/coffdump.c
+++ b/binutils/coffdump.c
@@ -30,8 +30,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "coffgrok.h"
#include "bucomm.h"
-#define PROGRAM_VERSION "1.0"
-
static int atnl;
static void tab PARAMS ((int));
@@ -512,7 +510,7 @@ main (ac, av)
show_help ();
/*NOTREACHED*/
case 'V':
- printf (_("GNU %s version %s\n"), program_name, PROGRAM_VERSION);
+ print_version ("coffdump");
exit (0);
/*NOTREACHED*/
case 0: