aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps/unix/sysv/linux/sh
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-08-16 14:03:43 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-08-16 14:03:43 +0000
commit93a78ac437ba44f493333d7e2a4b0249839ce460 (patch)
treebe93f2f5a76313d6decc7ccca7623671e23c7974 /nptl/sysdeps/unix/sysv/linux/sh
parent4b4f2771c217d7b038bcfc17c985ba057da554db (diff)
downloadglibc-93a78ac437ba44f493333d7e2a4b0249839ce460.tar
glibc-93a78ac437ba44f493333d7e2a4b0249839ce460.tar.gz
glibc-93a78ac437ba44f493333d7e2a4b0249839ce460.tar.bz2
glibc-93a78ac437ba44f493333d7e2a4b0249839ce460.zip
Remove __ASSUME_POSIX_TIMERS.
Diffstat (limited to 'nptl/sysdeps/unix/sysv/linux/sh')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S22
1 files changed, 0 insertions, 22 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 0937d6c237..a0ccacc8e3 100644
--- a/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
+++ b/nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S
@@ -158,10 +158,6 @@ __pthread_cond_timedwait:
mov.w .L__NR_clock_gettime, r3
trapa #0x12
SYSCALL_INST_PAD
-# ifndef __ASSUME_POSIX_TIMERS
- cmp/eq #-ENOSYS, r0
- bt 19f
-# endif
/* Compute relative timeout. */
mov.l @r13, r2
@@ -172,24 +168,6 @@ __pthread_cond_timedwait:
.L__NR_clock_gettime:
.word __NR_clock_gettime
-# ifndef __ASSUME_POSIX_TIMERS
-19:
- mov r15, r4
- add #16, r4
- mov #0, r5
- mov #__NR_gettimeofday, r3
- trapa #0x12
- SYSCALL_INST_PAD
-
- /* Compute relative timeout. */
- mov.l @(20,r15), r0
- mov.w .L1k, r1
- dmulu.l r0, r1 /* Micro seconds to nano seconds. */
- mov.l @r13, r2
- mov.l @(4,r13), r3
- mov.l @(16,r15), r0
- sts macl, r1
-#endif
0:
#else
mov r15, r4