summaryrefslogtreecommitdiff
path: root/testing/glibc/glibc-2.13-futex.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-09-09 23:14:45 +0000
committerroot <root@rshg054.dnsready.net>2011-09-09 23:14:45 +0000
commit42db4a0cf3a829fcd1bc2150669c6aa3c2984815 (patch)
tree91bdb63fa6802146ab19b3fbf8f6fc5ab78e23c2 /testing/glibc/glibc-2.13-futex.patch
parenta7b0a0b362d0535cd86b575a45ec70cc2332fa62 (diff)
Fri Sep 9 23:14:45 UTC 2011
Diffstat (limited to 'testing/glibc/glibc-2.13-futex.patch')
-rw-r--r--testing/glibc/glibc-2.13-futex.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/glibc/glibc-2.13-futex.patch b/testing/glibc/glibc-2.13-futex.patch
new file mode 100644
index 000000000..9b9c3ac45
--- /dev/null
+++ b/testing/glibc/glibc-2.13-futex.patch
@@ -0,0 +1,31 @@
+--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
++++ a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S
+@@ -210,7 +210,7 @@ pthread_rwlock_timedrdlock:
+ cfi_restore(%r12)
+ retq
+
+-#ifdef __ASSUME_PRIVATE_FUTEX
++#ifdef __ASSUME_FUTEX_CLOCK_REALTIME
+ cfi_adjust_cfa_offset(16)
+ cfi_rel_offset(%r12, 8)
+ cfi_rel_offset(%r13, 0)
+--- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
++++ a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S
+@@ -192,7 +192,7 @@ pthread_rwlock_timedwrlock:
+
+ 7: movq %rdx, %rax
+
+-#ifndef __ASSUME_PRIVATE_FUTEX
++#ifndef __ASSUME_FUTEX_CLOCK_REALTIME
+ addq $16, %rsp
+ cfi_adjust_cfa_offset(-16)
+ popq %r14
+@@ -207,7 +207,7 @@ pthread_rwlock_timedwrlock:
+ cfi_restore(%r12)
+ retq
+
+-#ifdef __ASSUME_PRIVATE_FUTEX
++#ifdef __ASSUME_FUTEX_CLOCK_REALTIME
+ cfi_adjust_cfa_offset(16)
+ cfi_rel_offset(%r12, 8)
+ cfi_rel_offset(%r13, 0)