]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gold/copy-relocs.cc
PR gold/10708
authorCary Coutant <ccoutant@google.com>
Fri, 5 Nov 2010 21:14:33 +0000 (21:14 +0000)
committerCary Coutant <ccoutant@google.com>
Fri, 5 Nov 2010 21:14:33 +0000 (21:14 +0000)
commit5f9bcf5825f56b017aacf20aaabce0ed07920454
tree1aaf51098dae857ffd0ef4f6ced0f832257d15a6
parent8baf536a5a90596ba9b85da65246645321df0823
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.
gold/ChangeLog
gold/copy-relocs.cc
gold/gold.cc
gold/icf.cc
gold/mapfile.cc
gold/plugin.cc