Ian Lance Taylor
|
22fd9730a0
|
* target-select.cc (instantiate_target): Don't acquire the lock if
the instantiated_target_ field has already been set.
|
2009-03-24 17:32:43 +00:00 |
Ian Lance Taylor
|
7f055c204a
|
2009-03-23 Ian Lance Taylor <iant@google.com>
* gold-threads.h (class Initialize_lock): Define.
* gold-threads.cc (class Initialize_lock_once): Define.
(initialize_lock_control): New static variable.
(initialize_lock_pointer): New static variable.
(initialize_lock_once): New static function.
(Initialize_lock::Initialize_lock): Define.
(Initialize_lock::initialize): Define.
* target-select.h: Include "gold-threads.h".
(class Target_selector): Add lock_ and initialize_lock_ fields.
Don't define instantiate_target, just declare it.
* target-select.cc (Target_selector::Target_selector): Initialize
new fields.
(Target_selector::instantiate_target): Define.
* descriptors.h: Include "gold-threads.h".
(class Descriptors): Add initialize_lock_ field.
* descriptors.cc (Descriptors::Descriptors): Initialize new
field.
(Descriptors::open): Use initialize_lock_ field
* errors.h (class Errors): Add initialize_lock_ field.
* errors.cc (Errors::Errors): Initialize new field.
(Errors::initialize_lock): Use initialize_lock_ field.
* powerpc.cc (class Target_selector_powerpc): Remove
instantiated_target_ field. In do_recognize call
instantiate_target rather than do_instantiate_target. In
do_instantiate_target just allocate a new target.
* sparc.cc (class Target_selector_sparc): Likewise.
|
2009-03-24 04:50:32 +00:00 |
Ian Lance Taylor
|
ebdbb4583d
|
Update copyright years. Update language files.
|
2008-03-13 21:04:21 +00:00 |
Ian Lance Taylor
|
8851eccaec
|
From Craig Silverstein: Have Parameters point to General_options.
|
2008-02-28 00:18:24 +00:00 |
Ian Lance Taylor
|
c79126688f
|
Add threading support.
|
2007-11-22 00:05:51 +00:00 |
Ian Lance Taylor
|
fe9a4c1201
|
Add infrastructure for threading support.
|
2007-10-17 06:24:50 +00:00 |
Ian Lance Taylor
|
6cb15b7f89
|
Add licensing text to every source file.
|
2007-09-22 21:02:10 +00:00 |
Ian Lance Taylor
|
a3ad94edd4
|
Hash tables, dynamic section, i386 PLT, gold_assert.
|
2006-11-29 17:56:40 +00:00 |
Ian Lance Taylor
|
bae7f79e03
|
Initial CVS checkin of gold
|
2006-08-04 23:10:59 +00:00 |