as --version

Alan Modra amodra@bigpond.net.au
Mon Oct 22 21:31:00 GMT 2001


Applied.

gas/ChangeLog
	* as.c (parse_args): Print the date as well for --version.

Index: gas/as.c
===================================================================
RCS file: /cvs/src/src/gas/as.c,v
retrieving revision 1.32
diff -u -p -r1.32 as.c
--- as.c	2001/10/02 06:02:50	1.32
+++ as.c	2001/10/23 04:20:25
@@ -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\



More information about the Binutils mailing list