aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2010-06-07 15:00:44 +0000
committerIan Lance Taylor <ian@airs.com>2010-06-07 15:00:44 +0000
commit0f32ea4ce3309801590068305e7c8d7aeb495f2f (patch)
tree062ead6df6483976961550f8457e1857b8ee336b /gold
parentee55da67fbc97a1e4067bdf7b7c7071efd177edd (diff)
downloadgdb-0f32ea4ce3309801590068305e7c8d7aeb495f2f.zip
gdb-0f32ea4ce3309801590068305e7c8d7aeb495f2f.tar.gz
gdb-0f32ea4ce3309801590068305e7c8d7aeb495f2f.tar.bz2
* gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
#ifdef typo.
Diffstat (limited to 'gold')
-rw-r--r--gold/ChangeLog5
-rw-r--r--gold/gold-threads.cc2
2 files changed, 6 insertions, 1 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index e9feede..5442a9a 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-07 Damien Diederen <dd@crosstwine.com>
+
+ * gold-threads.cc (Lock_impl_threads::Lock_impl_threads): Correct
+ #ifdef typo.
+
2010-06-03 Sriraman Tallam <tmsriram@google.com>
PR gold/11658
diff --git a/gold/gold-threads.cc b/gold/gold-threads.cc
index f5347bf..ef5b692 100644
--- a/gold/gold-threads.cc
+++ b/gold/gold-threads.cc
@@ -101,7 +101,7 @@ Lock_impl_threads::Lock_impl_threads()
int err = pthread_mutexattr_init(&attr);
if (err != 0)
gold_fatal(_("pthead_mutextattr_init failed: %s"), strerror(err));
-#ifdef PTHREAD_MUTEXT_ADAPTIVE_NP
+#ifdef PTHREAD_MUTEX_ADAPTIVE_NP
err = pthread_mutextattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP);
if (err != 0)
gold_fatal(_("pthread_mutextattr_settype failed: %s"), strerror(err));