New ELF linker code added to GNU binutils

Ian Lance Taylor iant@google.com
Tue Mar 25 23:33:00 GMT 2008


"Joseph S. Myers" <joseph@codesourcery.com> writes:

> The --version output is a bit strange:
>
> GNU gold (GNU binutils (GNU Binutils) 2.18.50.20080325) version 1.4
>
> (note the "GNU binutils (GNU Binutils)").  BFD_VERSION_STRING includes 
> both the package version ("(GNU Binutils)" by default, possibly overridden 
> by --with-pkgversion) and a version number - it's not expected for 
> binutils components to have their own independent version numbers such as 
> "1.4".  The word "version" isn't part of the standard --version output.

I committed this patch to fix this.  The --version output now looks
like this:

GNU gold (GNU Binutils 2.18.50.20080322) 1.4
Copyright 2008 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.


I think a separate version for gold makes sense during this
development period.  In the future it may make sense to simply fold it
into the usual GNU binutils version number.  I'd be happy to hear
other opinions.

Ian


2008-03-25  Ian Lance Taylor  <iant@google.com>

	* version.cc (print_version): Adjust output for current value of
	BFD_VERSION_STRING.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 1078 bytes
Desc: Fix --version output
URL: <https://sourceware.org/pipermail/binutils/attachments/20080325/ffcdb4cd/attachment.bin>


More information about the Binutils mailing list