PR 10237
commit6ff13c248d1573a4b52f23ec7342b790e0b4a069
authorIan Lance Taylor <ian@airs.com>
Wed, 24 Jun 2009 05:01:17 +0000 (24 05:01 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 24 Jun 2009 05:01:17 +0000 (24 05:01 +0000)
treef58dd73fa27db09a9599a845e58b88395355fc0d
parent53b648c87dd782bc5f530570ad1651eaddbb40ee
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.
gold/ChangeLog
gold/gold.cc
gold/options.cc
gold/options.h