summaryrefslogtreecommitdiff
path: root/core/glibc/glibc-2.15-revert-c5a0802a.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-07 00:02:03 +0000
committerroot <root@rshg054.dnsready.net>2012-07-07 00:02:03 +0000
commitb7c6c9c7844914d1d0617a24b9e3a84d691d1f64 (patch)
treee83e42e7aa3b5f01bbd1a22f539aa807e586e04b /core/glibc/glibc-2.15-revert-c5a0802a.patch
parentce1cc063cc56f59a630e758c92a9f8ac67a24c32 (diff)
Sat Jul 7 00:02:03 UTC 2012
Diffstat (limited to 'core/glibc/glibc-2.15-revert-c5a0802a.patch')
-rw-r--r--core/glibc/glibc-2.15-revert-c5a0802a.patch11
1 files changed, 4 insertions, 7 deletions
diff --git a/core/glibc/glibc-2.15-revert-c5a0802a.patch b/core/glibc/glibc-2.15-revert-c5a0802a.patch
index f532b95e8..d8894723a 100644
--- a/core/glibc/glibc-2.15-revert-c5a0802a.patch
+++ b/core/glibc/glibc-2.15-revert-c5a0802a.patch
@@ -118,9 +118,9 @@ diff -rup a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S b/nptl/sysde
#include <tcb-offsets.h>
#include <pthread-pi-defines.h>
-#include <pthread-errnos.h>
+ #include <stap-probe.h>
#include <kernel-features.h>
-
@@ -137,14 +136,11 @@ __pthread_cond_wait:
cmpl $PI_BIT, %eax
jne 61f
@@ -161,7 +161,7 @@ diff -rup a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S b/nptl/sysde
-#if cond_lock != 0
- addq $cond_lock, %rdi
-#endif
-- cmpq $-1, dep_mutex-cond_lock(%rdi)
+- LP_OP(cmp) $-1, dep_mutex-cond_lock(%rdi)
- movl $LLL_PRIVATE, %eax
- movl $LLL_SHARED, %esi
- cmovne %eax, %esi
@@ -187,7 +187,7 @@ diff -rup a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S b/nptl/sysde
-#if cond_lock != 0
- addq $cond_lock, %rdi
-#endif
-- cmpq $-1, dep_mutex-cond_lock(%rdi)
+- LP_OP(cmp) $-1, dep_mutex-cond_lock(%rdi)
- movl $LLL_PRIVATE, %eax
- movl $LLL_SHARED, %esi
- cmovne %eax, %esi
@@ -199,7 +199,7 @@ diff -rup a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S b/nptl/sysde
-93:
- /* Set the rest of SYS_futex args for FUTEX_WAIT_REQUEUE_PI. */
- xorq %r10, %r10
-- movq dep_mutex(%rdi), %r8
+- mov dep_mutex(%rdi), %R8_LP
- leaq cond_futex(%rdi), %rdi
- jmp 90b
-.LcleanupEND2:
@@ -224,6 +224,3 @@ diff -rup a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S b/nptl/sysde
+ .uleb128 0
.Lcstend:
-
-Only in b/nptl/sysdeps/unix/sysv/linux/x86_64: pthread_cond_wait.S.orig
-Only in b/nptl/sysdeps/unix/sysv/linux/x86_64: pthread_cond_wait.S.rej