mirror of git://sourceware.org/git/glibc.git
Update.
* sysdeps/unix/sysv/syscalls.list: time syscall never fails. * sysdeps/unix/sysv/linux/x86_64/time.S: time syscall never fails. * sysdeps/unix/sysv/i386/time.S: time syscall never fails.
This commit is contained in:
parent
54943a039f
commit
35107e0ce4
|
|
@ -1,5 +1,8 @@
|
||||||
2003-07-27 Ulrich Drepper <drepper@redhat.com>
|
2003-07-27 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/unix/sysv/syscalls.list: time syscall never fails.
|
||||||
|
* sysdeps/unix/sysv/linux/x86_64/time.S: time syscall never fails.
|
||||||
|
* sysdeps/unix/sysv/i386/time.S: time syscall never fails.
|
||||||
* sysdeps/unix/syscalls.list: umask syscall never fails.
|
* sysdeps/unix/syscalls.list: umask syscall never fails.
|
||||||
|
|
||||||
2003-07-27 Andreas Jaeger <aj@suse.de>
|
2003-07-27 Andreas Jaeger <aj@suse.de>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1991,92,96,97,2002 Free Software Foundation, Inc.
|
/* Copyright (C) 1991,92,96,97,2002, 2003 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
|
@ -19,12 +19,12 @@
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
#include <asm-syntax.h>
|
#include <asm-syntax.h>
|
||||||
|
|
||||||
SYSCALL (time, 1)
|
PSEUDO_NOERRNO (time, time, 1)
|
||||||
movl 4(%esp), %edx /* Put passed pointer in %edx. */
|
movl 4(%esp), %edx /* Put passed pointer in %edx. */
|
||||||
testl %edx, %edx /* Is it non-nil? */
|
testl %edx, %edx /* Is it non-nil? */
|
||||||
je L(null)
|
je L(null)
|
||||||
movl %eax, (%edx) /* Yes; store the time there. */
|
movl %eax, (%edx) /* Yes; store the time there. */
|
||||||
L(null):
|
L(null):
|
||||||
ret
|
ret
|
||||||
PSEUDO_END (time)
|
PSEUDO_END_NOERRNO (time)
|
||||||
libc_hidden_def (time)
|
libc_hidden_def (time)
|
||||||
|
|
|
||||||
|
|
@ -34,13 +34,9 @@ ENTRY (time)
|
||||||
|
|
||||||
movq $VSYSCALL_ADDR_vtime, %rax
|
movq $VSYSCALL_ADDR_vtime, %rax
|
||||||
callq *%rax
|
callq *%rax
|
||||||
/* Check error return. */
|
|
||||||
cmpl $-4095, %eax
|
|
||||||
jae SYSCALL_ERROR_LABEL
|
|
||||||
|
|
||||||
L(pseudo_end):
|
|
||||||
add $0x8, %rsp
|
add $0x8, %rsp
|
||||||
cfi_adjust_cfa_offset(-8)
|
cfi_adjust_cfa_offset(-8)
|
||||||
ret
|
ret
|
||||||
PSEUDO_END(time)
|
PSEUDO_END_NOERRNO(time)
|
||||||
libc_hidden_def (time)
|
libc_hidden_def (time)
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ setrlimit - setrlimit i:ip __setrlimit setrlimit
|
||||||
settimeofday - settimeofday i:PP __settimeofday settimeofday
|
settimeofday - settimeofday i:PP __settimeofday settimeofday
|
||||||
signal - signal i:ii signal
|
signal - signal i:ii signal
|
||||||
stime - stime i:p stime
|
stime - stime i:p stime
|
||||||
time - time i:P time
|
time - time Ei:P time
|
||||||
times - times i:p __times times
|
times - times i:p __times times
|
||||||
ulimit - ulimit i:ii ulimit
|
ulimit - ulimit i:ii ulimit
|
||||||
utime - utime i:sP utime
|
utime - utime i:sP utime
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue