Fix a race condition when setting default target for ARM targets.
authorCary Coutant <ccoutant@google.com>
Wed, 4 Mar 2015 23:17:09 +0000 (15:17 -0800)
committerCary Coutant <ccoutant@google.com>
Wed, 4 Mar 2015 23:17:23 +0000 (15:17 -0800)
commit48c734280a17a1910ac484bd91a36792fb0041e1
tree6be91d7f7d46b618eaf4807594a16e8751effae2
parentdbe40a889191708b6e32441b1c64937844645574
Fix a race condition when setting default target for ARM targets.

gold/
* parameters.cc (Parameters::set_target_once): Call
Target::select_as_default_target just once from here...
(set_parameters_target): ...instead of from here.
gold/ChangeLog
gold/parameters.cc