aboutsummaryrefslogtreecommitdiff
path: root/binutils/coffdump.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/coffdump.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/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 0bd39f4..598d29d 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: