aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-12-14 21:33:26 +0000
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-12-14 21:33:26 +0000
commitfedb228d125f9f510c29371a038cd70a9f9c5c61 (patch)
tree28c92c0766d08b11199afff27a3bb3914201ecee /gold/ChangeLog
parenta8852dc55e66b770e87e3028189ed2be09e86b81 (diff)
downloadgdb-fedb228d125f9f510c29371a038cd70a9f9c5c61.zip
gdb-fedb228d125f9f510c29371a038cd70a9f9c5c61.tar.gz
gdb-fedb228d125f9f510c29371a038cd70a9f9c5c61.tar.bz2
gold: fix race in FileRead::~View.
gold/: * fileread.cc (file_counts_lock, file_counts_initialize_lock) (total_mapped_bytes, current_mapped_bytes, maximum_mapped_bytes): Move definition before File_read::View member definitions. (File_read::View::~View): Initialize and hold lock before updating current_mapped_bytes.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 7e1f613..526fb78 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,13 @@
2010-12-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+ * fileread.cc (file_counts_lock, file_counts_initialize_lock)
+ (total_mapped_bytes, current_mapped_bytes, maximum_mapped_bytes):
+ Move definition before File_read::View member definitions.
+ (File_read::View::~View): Initialize and hold lock before
+ updating current_mapped_bytes.
+
+2010-12-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
* dwarf_reader.cc: Remove outdated comment.
* gold-threads.cc: Fix typo in error message.
* archive.cc: Fix typos in comments.