2001-04-23 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/pathconf.c (__pathconf): For _PC_ASYNC_IO test
whether named file is a regular file or a block device.
* sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
* sysdeps/arm/fpu/feenablxcpt.c: New file.
* sysdeps/arm/fpu/fedisablxcpt.c: New file.
* sysdeps/arm/fpu/fegetexcpt.c: New file.
2001-04-22 Philip Blundell <philb@gnu.org>
2001-04-22 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sys/user.h (struct user_fpregs):
Renamed from struct user_fp.
(struct user_regs): New.
(struct user): Use struct user_regs rather than struct pt_regs to
avoid dependency on asm/ptrace.h. Use struct user_fpregs in place
of struct user_fp and struct user_fp_struct.
* sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Include sys/procfs.h
not sys/elf.h.
2001-04-22 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/sys/elf.h: Move contents to
sys/procfs.h, and tell the user to include that file instead.
* sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove old cruft
surrounded with #if 0.
(elf_greg_t, ELF_NGREG, elf_gregset_t, elf_fpregset_t): Moved here
from sys/elf.h.
(prgregset_t, prfpregset_t): Define in terms of elf_gregset_t and
elf_fpregset_t respectively.
2001-04-22 Philip Blundell <philb@gnu.org>
* sysdeps/unix/sysv/linux/arm/register-dump.h: Also print the
address that faulted.
noreturn attribute, remove statements that will never be executed.
* sysdeps/pthread/timer_routines.c (thread_func): Add noreturn
attribute, remove statements that will never be executed.
2001-04-21 Ulrich Drepper <drepper@redhat.com>
* elf/dl-support.c: Include cpuclock-init.h. Use CPUCLOCK_VARDEF and
CPUCLOCK_INIT if defined.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/generic/cpuclock-init.h: New file.
* sysdeps/unix/i386/i586/cpuclock-init.h: New file.
* sysdeps/unix/i386/i586/Versions: New file.
* sysdeps/unix/i386/i586/clock_settime.c: New file.
* sysdeps/unix/i386/i586/clock_gettime.c: Handle thread CPU clock
separately by calling __pthread_clock_gettime if this function is
available. Subtract offset from tsc value before computing time value.
* sysdeps/mach/hurd/munlock.c: New file.
* sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK_RANGE): Define it.
* misc/Makefile (routines): Add mlock munlock mlockall munlockall.
* sysdeps/generic/mlock.c: New file.
* sysdeps/generic/munlock.c: New file.
* sysdeps/generic/mlockall.c: New file.
* sysdeps/generic/munlockall.c: New file.
* sysdeps/generic/bits/mman.h (MCL_CURRENT, MCL_FUTURE): New macros.
* sysdeps/unix/sysv/linux/syscalls.list (mlock, munlock,
mlockall, munlockall): Change caller field to - from EXTRA.
Don't use __ names; not used (and not declared in include/sys/mman.h).
Use __ names for calls we make.
(get_privileged_ports): Add alias.
* hurd/hurd.h: Declare it with the __ name.
* sysdeps/mach/hurd/reboot.c (reboot): Use __get_privileged_ports.
* sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
* sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
2001-04-19 Matthew Wilcox <willy@ldl.fc.hp.com>
* sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL):
Change to return a signed result for compatibility with other
architectures, and correctness.
2001-04-19 Andreas Jaeger <aj@suse.de>
* po/zh_TW.po: Remove extraneous backslashes.
* sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Remove unused
variables b and n.
2001-04-18 Jakub Jelinek <jakub@redhat.com>
* sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update.
* sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/swapcontext.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/setcontext.S (__setcontext):
Copy first word of uc_sigmask into __uc_sigmask.
* sysdeps/unix/sysv/linux/sparc/sparc64/getcontext.S (__getcontext):
Save uc_link around trap. Copy __uc_sigmask into first word of
uc_sigmask, clear the rest. Make sure setcontext to the created
context doesn't do this though.
* sysdeps/unix/sysv/linux/sparc/sparc64/ucontext_i.h: New file.
* sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Add
uc_stack and uc_sigmask, rename old uc_sigmask to __uc_sigmask in the
64bit version, make uc_sigmask __sigset_t in the 32bit version.
* rt/Makefile (otherlibs): Added for static NSS.
* glibcbug.in (BUGGLIBC): Send to new alias.