diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2015-02-24 18:19:50 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2015-03-02 11:00:36 +0800 |
commit | 4f16de34c2f531495992afc6ecaab46391b59ff8 (patch) | |
tree | 01f524c40796b935704a60fcea338e056297c16f /binutils-2.25/gold/gold-threads.cc | |
parent | fd6fc0c5f6ec26b3b526655a721b7b0af0b14644 (diff) | |
download | toolchain_binutils-4f16de34c2f531495992afc6ecaab46391b59ff8.tar.gz toolchain_binutils-4f16de34c2f531495992afc6ecaab46391b59ff8.tar.bz2 toolchain_binutils-4f16de34c2f531495992afc6ecaab46391b59ff8.zip |
Fix build
1. revert https://android-review.googlesource.com/#/c/38591.
2. add a few constants from ToT
3. fix a typo about pthread_mutexattr_settype
Change-Id: I55a829e7907658f920aedbf1100c6d9b1a93052b
Diffstat (limited to 'binutils-2.25/gold/gold-threads.cc')
-rw-r--r-- | binutils-2.25/gold/gold-threads.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils-2.25/gold/gold-threads.cc b/binutils-2.25/gold/gold-threads.cc index b06a908e..ff5a8acc 100644 --- a/binutils-2.25/gold/gold-threads.cc +++ b/binutils-2.25/gold/gold-threads.cc @@ -102,7 +102,7 @@ Lock_impl_threads::Lock_impl_threads() if (err != 0) gold_fatal(_("pthead_mutextattr_init failed: %s"), strerror(err)); #ifdef PTHREAD_MUTEX_ADAPTIVE_NP - err = pthread_mutextattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); + err = pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP); if (err != 0) gold_fatal(_("pthread_mutextattr_settype failed: %s"), strerror(err)); #endif |