diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-05 11:13:28 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2016-02-05 11:13:28 (GMT) |
commit | ce83329f4da559ebaf0210ec821da541cb62bc49 (patch) | |
tree | 34fec4c2080db23b90fb05c7d9ba93481e7fe7c8 /patches/binutils/2.26/310-fix-gold-pthreads-typo.patch | |
parent | 6702ff8debf1bc1357cb16cddedb4a2087c80d22 (diff) | |
parent | 46c9c486d02953deb130c427fce1286498f285ff (diff) |
Merge pull request #331 from bhundven/update_binutils
binutils: Add binutils-2.26
Diffstat (limited to 'patches/binutils/2.26/310-fix-gold-pthreads-typo.patch')
-rw-r--r-- | patches/binutils/2.26/310-fix-gold-pthreads-typo.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/binutils/2.26/310-fix-gold-pthreads-typo.patch b/patches/binutils/2.26/310-fix-gold-pthreads-typo.patch new file mode 100644 index 0000000..f2e6ff2 --- /dev/null +++ b/patches/binutils/2.26/310-fix-gold-pthreads-typo.patch @@ -0,0 +1,14 @@ +--- binutils-2.25.1/gold/gold-threads.cc.orig 2014-10-14 08:32:04.000000000 +0100 ++++ binutils-2.25.1/gold/gold-threads.cc 2015-10-20 22:38:18.640819300 +0100 +@@ -102,9 +102,9 @@ + 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)); ++ gold_fatal(_("pthread_mutexattr_settype failed: %s"), strerror(err)); + #endif + + err = pthread_mutex_init(&this->mutex_, &attr); |