gold patch committed: Only lock target selector if necessary

Ian Lance Taylor iant@google.com
Tue Mar 24 17:34:00 GMT 2009
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  <iant@google.com>

	* target-select.cc (instantiate_target): Don't acquire the lock if
	the instantiated_target_ field has already been set.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 1600 bytes
Desc: Only lock target selector if necessary
URL: <https://sourceware.org/pipermail/binutils/attachments/20090324/02a5d578/attachment.bin>


More information about the Binutils mailing list