diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 1 | ||||
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog index 5cb4fee88c..4741cfc278 100644 --- a/nptl/ChangeLog +++ b/nptl/ChangeLog @@ -3,6 +3,7 @@ [BZ #5465] * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S [!SHARED] (__pthread_cond_timedwait): Don't use VDSO. + Patch by Michal Januszewski. 2007-12-07 Ulrich Drepper <drepper@redhat.com> diff --git a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S index a85bdd160b..20bc59db9c 100644 --- a/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S +++ b/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S @@ -134,14 +134,14 @@ __pthread_cond_timedwait: /* Only clocks 0 and 1 are allowed so far. Both are handled in the kernel. */ leaq 24(%rsp), %rsi -#ifdef SHARED +# ifdef SHARED movq __vdso_clock_gettime@GOTPCREL(%rip), %rax movq (%rax), %rax PTR_DEMANGLE (%rax) jz 26f call *%rax jmp 27f -#endif +# endif 26: movl $__NR_clock_gettime, %eax syscall 27: |