PR 10237
authorIan Lance Taylor <ian@airs.com>
Wed, 24 Jun 2009 05:01:17 +0000 (05:01 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 24 Jun 2009 05:01:17 +0000 (05:01 +0000)
commit459c9f1c5f4e19a4fdf39ccd9289f0fde532a21b
treecd3535671fa5e3a04044dd9da0a07b8c83c4f5e4
parentdab97f2471e9939e4ddd126a5cab730c5f6831b5
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