aboutsummaryrefslogtreecommitdiff
path: root/gold/ehframe.cc
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2013-11-14 13:15:06 -0800
committerCary Coutant <ccoutant@google.com>2013-11-14 13:15:55 -0800
commitcafdd5697b0e6c1f6344caee64f798e7e72424d4 (patch)
tree6c14132b43c58511208d2d81982662a4172cf6e8 /gold/ehframe.cc
parent8fe1b6533885f19680a2fbd827cb677c2e3c68ac (diff)
downloadgdb-cafdd5697b0e6c1f6344caee64f798e7e72424d4.zip
gdb-cafdd5697b0e6c1f6344caee64f798e7e72424d4.tar.gz
gdb-cafdd5697b0e6c1f6344caee64f798e7e72424d4.tar.bz2
Revert "Fix race condition while building EH frame header."
This reverts commit 7cdd7d57e6fa3932eb63aa785ae0e3fa837aab20.
Diffstat (limited to 'gold/ehframe.cc')
-rw-r--r--gold/ehframe.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/gold/ehframe.cc b/gold/ehframe.cc
index be262bf..08a9ec6 100644
--- a/gold/ehframe.cc
+++ b/gold/ehframe.cc
@@ -84,8 +84,7 @@ Eh_frame_hdr::Eh_frame_hdr(Output_section* eh_frame_section,
eh_frame_section_(eh_frame_section),
eh_frame_data_(eh_frame_data),
fde_offsets_(),
- any_unrecognized_eh_frame_sections_(false),
- lock_(NULL)
+ any_unrecognized_eh_frame_sections_(false)
{
}
@@ -103,9 +102,6 @@ Eh_frame_hdr::set_final_data_size()
this->fde_offsets_.reserve(fde_count);
}
this->set_data_size(data_size);
- // We need a lock for updating the fde_offsets_ vector while writing
- // the FDEs.
- this->lock_ = new Lock();
}
// Write the data to the file.