* as.c (parse_args): Print the date as well for --version.
authorAlan Modra <amodra@gmail.com>
Tue, 23 Oct 2001 04:30:21 +0000 (04:30 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Oct 2001 04:30:21 +0000 (04:30 +0000)
gas/ChangeLog
gas/as.c

index f3a41f4..da68f95 100644 (file)
@@ -1,3 +1,7 @@
+2001-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * as.c (parse_args): Print the date as well for --version.
+
 2001-10-20  Chris Demetriou  <cgd@broadcom.com>
 
        * config/tc-mips.c (md_show_usage): Print "sb1" for Broadcom
index dbc65ca..d5922b0 100644 (file)
--- a/gas/as.c
+++ b/gas/as.c
@@ -524,7 +524,7 @@ parse_args (pargc, pargv)
 
        case OPTION_VERSION:
          /* This output is intended to follow the GNU standards document.  */
-         printf (_("GNU assembler %s\n"), VERSION);
+         printf (_("GNU assembler %s\n"), BFD_VERSION_STRING);
          printf (_("Copyright 2001 Free Software Foundation, Inc.\n"));
          printf (_("\
 This program is free software; you may redistribute it under the terms of\n\