diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S index 2d0df6b5bf..7694f36f95 100644 --- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S +++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S @@ -62,6 +62,12 @@ __pthread_cond_timedwait: add r0, r12 #endif + mov.l @(4,r13), r0 + mov.l .L1g, r1 + cmp/hs r1, r0 + bt/s 18f + mov #EINVAL, r0 + /* Get internal lock. */ mov #0, r3 mov #1, r4 |