aboutsummaryrefslogtreecommitdiffstats
path: root/glibc/glibc-2.3.2/nptl-pthread-once.patch
diff options
context:
space:
mode:
Diffstat (limited to 'glibc/glibc-2.3.2/nptl-pthread-once.patch')
-rw-r--r--glibc/glibc-2.3.2/nptl-pthread-once.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/glibc/glibc-2.3.2/nptl-pthread-once.patch b/glibc/glibc-2.3.2/nptl-pthread-once.patch
index e69de29bb2..dc106b2982 100644
--- a/glibc/glibc-2.3.2/nptl-pthread-once.patch
+++ b/glibc/glibc-2.3.2/nptl-pthread-once.patch
@@ -0,0 +1,10 @@
+--- glibc-2.3.2/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S.orig 2003-10-03 15:54:00.000000000 -0400
++++ glibc-2.3.2/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S 2003-10-03 15:52:31.000000000 -0400
+@@ -109,6 +109,7 @@ __pthread_once:
+ movl $0, 4(%esp)
+ movl %eax, (%esp)
+ call __sigsetjmp@PLT
++ testl %eax, %eax
+ jne 7f
+
+ leal 8(%esp), %eax