gold patch committed: Fix some minor usage issues

Ian Lance Taylor iant@google.com
Wed Jun 24 05:13:00 GMT 2009


PR 10237 reports that gold gets an internal error if -r is used with a
shared library, and that gold reports an error if invoked with -V and no
input files.  I committed this patch to fix those cases.

Ian


2009-06-23  Ian Lance Taylor  <iant@google.com>

	PR 10237
	* options.cc (General_options::parse_V): Set printed_version_.
	(General_options::General_options): Initialize printed_version_.
	* options.h (class General_options): Add printed_version_ field.
	* gold.cc (queue_initial_tasks): If there are no input files,
	don't give a fatal error if we printed the version information.
	(queue_middle_tasks): If using -r with a shared object, give a
	fatal error rather than an ordinary error.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 3477 bytes
Desc: Fix usage issues
URL: <https://sourceware.org/pipermail/binutils/attachments/20090624/19cc79e6/attachment.bin>


More information about the Binutils mailing list