OSDN Git Service

PR 10237
authorian <ian>
Wed, 24 Jun 2009 05:01:15 +0000 (05:01 +0000)
committerian <ian>
Wed, 24 Jun 2009 05:01:15 +0000 (05:01 +0000)
commit009a7f625fce74032d316ad9eb6bc5a5c08c3813
treeab64035ee6286c441e9b5a6968d3b166d3bdf86a
parenta93695c5ba0ed09bfd00f44e6ab32d542e04e049
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