I committed this patch to gold. This tweaks yesterday's patch to only lock the target selector if necessary, avoiding a bunch of lock calls in a large link. I also committed a comment fix, without a ChangeLog entry. Ian 2009-03-24 Ian Lance Taylor * target-select.cc (instantiate_target): Don't acquire the lock if the instantiated_target_ field has already been set.