gold patch committed: Backport PR 10708 patch to 2.21 branch
Ian Lance Taylor
iant@google.com
Sun Feb 27 15:24:00 GMT 2011
I committed this patch to the binutils 2.21 branch to bring over the
fix for PR 10708.
Ian
2011-02-27 Ian Lance Taylor <iant@google.com>
Backport from mainline:
2010-11-05 Cary Coutant <ccoutant@google.com>
PR gold/10708
* copy-relocs.cc (Copy_relocs::emit_copy_reloc): Hold a lock on the
object when reading from the file.
* gold.cc (queue_middle_tasks): Hold a lock on the object when doing
second layout pass.
* icf.cc (preprocess_for_unique_sections): Hold a lock on the object
when reading section contents.
(get_section_contents): Likewise.
(icf::find_identical_sections): Likewise.
* mapfile.cc (Mapfile::print_discarded_sections): Hold a lock on the
object when reading from the file.
* plugin.cc (Plugin_manager::layout_deferred_objects): Hold a lock on
the object when doing deferred section layout.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 6159 bytes
Desc: patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20110227/26430803/attachment.bin>
More information about the Binutils
mailing list