Age | Commit message (Collapse) | Author |
|
SUBSTITUTE_ARGS_5, SUBSTITUTE_ARGS_6, SUBSTITUTE_ARGS_7): Load argument values into temporary variables.
|
|
2004-04-08 Ulrich Drepper <drepper@redhat.com>
* rt/tst-mqueue3.c: New file.
* rt/Makefile (tests): Add tst-mqueue3.
2004-04-08 Jakub Jelinek <jakub@redhat.com>
* rt/tst-mqueue1.c: New file.
* rt/tst-mqueue2.c: New file.
* rt/tst-mqueue4.c: New file.
* rt/Makefile (tests): Add tst-mqueue1, tst-mqueue2, tst-mqueue4.
* rt/Versions (librt): Add mq_*@@GLIBC_2.3.4.
* rt/Makefile (headers): Add mqueue.h and bits/mqueue.h.
(mq-routines): Set.
(librt-routines): Use it.
* rt/mqueue.h: New file.
* include/mqueue.h: New file.
* sysdeps/generic/bits/mqueue.h: New file.
* sysdeps/generic/mq_setattr.c: New file.
* sysdeps/generic/mq_getattr.c: New file.
* sysdeps/generic/mq_notify.c: New file.
* sysdeps/generic/mq_close.c: New file.
* sysdeps/generic/mq_send.c: New file.
* sysdeps/generic/mq_unlink.c: New file.
* sysdeps/generic/mq_receive.c: New file.
* sysdeps/generic/mq_timedreceive.c: New file.
* sysdeps/generic/mq_timedsend.c: New file.
* sysdeps/generic/mq_open.c: New file.
* sysdeps/unix/sysv/linux/bits/local_lim.h (MQ_PRIO_MAX): Define.
* sysdeps/unix/sysv/linux/bits/mqueue.h: New file.
* sysdeps/unix/sysv/linux/syscalls.list: Add mq_timedsend,
mq_timedreceive and mq_setattr.
* sysdeps/unix/sysv/linux/mq_getattr.c: New file.
* sysdeps/unix/sysv/linux/mq_notify.c: New file.
* sysdeps/unix/sysv/linux/mq_close.c: New file.
* sysdeps/unix/sysv/linux/mq_send.c: New file.
* sysdeps/unix/sysv/linux/mq_unlink.c: New file.
* sysdeps/unix/sysv/linux/mq_receive.c: New file.
* sysdeps/unix/sysv/linux/mq_open.c: New file.
2004-04-09 Thorsten Kukuk <kukuk@suse.de>
* sysdeps/s390/ffs.c: Don't add ffsl weak alias on s390x.
2004-04-09 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: New file.
|
|
2004-04-09 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/ia64/sysdep.h (DO_INLINE_SYSCALL): Move
LOAD_ARGS_##nr up front and add LOAD_REGS_##nr.
(LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
(LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
variables.
(LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
(LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
syscall argument registers.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (INTERNAL_SYSCALL): Add
LOAD_REGS_##nr.
(LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4)
(LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary
variables.
(LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4)
(LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the
syscall argument registers.
|
|
(LOAD_ARGS_0, LOAD_ARGS_1, LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary variables. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the syscall argument registers.
|
|
|
|
LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4) (LOAD_ARGS_5, LOAD_ARGS_6): Load argument values into temporary variables. (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4) (LOAD_REGS_5, LOAD_REGS_6): New macros to actually load the syscall argument registers.
|
|
2004-04-03 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/internal_statvfs.c: Restructure to avoid
duplication in 64-bit version.
* sysdeps/unix/sysv/linux/wordsize-64/internal_statvfs64.c: New file.
|
|
|
|
2004-04-02 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/internal_statvfs64.c: New file.
* sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
Add internal_statvfs64.
* sysdeps/unix/sysv/linux/internal_statvfs.c: Allow to be used to
compile 64bit version.
* sysdeps/unix/sysv/linux/statvfs64.c: Use __fstatfs64 and skip
compatibility code if __ASSUME_STATFS64 is defined.
* sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
* sysdeps/unix/sysv/linux/statfs64.c: Don't add __no_statfs64 if
__ASSUME_STATFS64 != 0.
2004-04-02 Thorsten Kukuk <kukuk@firun.suse.de>
* nis/nss_nis/nis-ethers.c (saveit): Fix return codes in error case.
* nis/nss_nis/nis-initgroups.c (saveit): Likewise.
* nis/nss_nis/nis-proto.c (saveit): Likewise.
* nis/nss_nis/nis-rpc.c (saveit): Likewise.
* nis/nss_nis/nis-service.c (saveit): Likewise.
|
|
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Use
__sigprocmask not sigprocmask.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
* time/mktime.c: Likewise.
* misc/getpass.c: Likewise.
|
|
* include/string.h: Add libc_hidden_builtin_proto for memcmp.
* sysdeps/generic/memcmp.c: Add libc_hidden_builtin_def.
* sysdeps/i386/memcmp.S: Likewise.
* sysdeps/i386/i686/memcmp.S: Likewise.
* sysdeps/ia64/memcmp.S: Likewise.
* sysdeps/sparc/sparc64/memcmp.S: Likewise.
* sysdeps/unix/sysv/linux/sigprocmask.c: Include <string.h>.
|
|
* sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Use
__tcgetattr() instead of tcgetattr().
|
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S [SHARED]:
Use __GI_exit.
|
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S [SHARED]: Use
__GI__exit.
|
|
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Use
__sigprocmask not sigprocmask.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
|
|
|
|
* sysdeps/unix/sysv/linux/i386/setgroups.c (setgroups): Avoid
comparison with limit if we can rely on the syscall being available.
|
|
2004-03-29 Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/sched_getaffinity.c: Prepend GLIBC_ to
version names is SHLIB_COMPAT check.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
|
|
2004-03-28 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Handle
_SC_SIGQUEUE_MAX.
|
|
2004-03-26 Ulrich Drepper <drepper@redhat.com>
* elf/dl-caller.c: New file.
* include/caller.h: New file.
* Makefile (distribute): Add include/caller.h.
* elf/Makefile (dl-routines): Add dl-caller.
* elf/dl-load.c (_dl_map_object_from_fd): Record l_text_end.
* elf/dl-open.c (check_libc_caller): Removed.
(dl_open_worker): Use __check_caller instead.
* elf/rtld.c (_rtld_global_ro): Initialize _dl_check_caller.
(_dl_start_final): Record l_text_end for ld.so map.
(dl_main): Record l_text_end for main object and vdso.
* include/link.h (struct link_map): Add l_text_end field.
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add
_dl_check_caller field.
Define enum allowmask. Add declaration of _dl_check_caller.
* sysdeps/unix/sysv/linux/dl-execstack.c: Also use __check_caller test.
|
|
2004-03-23 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_pread, __NR_pwrite):
Define to __NR_p{read,write}64 if not defined.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (__NR_pread,
__NR_pwrite): Define to __NR_p{read,write}64 if not defined instead
of defining it the other way around.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Move common syscalls
for 64bit arches to sysdeps/unix/sysv/linux/wordsize-64/syscalls.list.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
* sysdeps/unix/sysv/linux/alpha/pread64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/glob64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/alpha/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/xstat.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/fxstat.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/sparc/sparc64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/ia64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/ia64/lxstat.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/ia64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/xstat.c: Removed.
* sysdeps/unix/sysv/linux/ia64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/ia64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/fxstat.c: Removed.
* sysdeps/unix/sysv/linux/ia64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/ia64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/pread64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/getrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/glob64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir64_r.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/truncate64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/xstat64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/pwrite64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/getdents64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir_r.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/lxstat.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/mmap64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/xstat.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/fxstat64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/setrlimit64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/ftruncate64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/sendfile64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/getdents.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/lxstat64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/readdir64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/fxstat.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/statfs64.c: Removed.
* sysdeps/unix/sysv/linux/x86_64/fstatfs64.c: Removed.
* sysdeps/unix/sysv/linux/alpha/Implies: New file.
* sysdeps/unix/sysv/linux/alpha/getdents64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Implies: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/Implies: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/lxstat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/statvfs64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fstatvfs64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/pread64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/xstat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/xstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/sendfile64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/getdents.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/statvfs.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/lxstat64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/statfs64.c: New file.
* sysdeps/unix/sysv/linux/wordsize-64/fstatfs64.c: New file.
* sysdeps/unix/sysv/linux/ia64/Implies: New file.
* sysdeps/unix/sysv/linux/x86_64/Implies: New file.
|
|
2004-03-22 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c
(__getpagesize): Avoid warning about writing into read-only memory.
* string/Makefile (routines): Add xpg-strerror.
* string/string.h (strerror_r): If __USE_XOPEN2K but not __USE_GNU,
redirect strerror_r to __xpg_strerror_r.
* string/Versions (libc): Add __xpg_strerror_r@@GLIBC_2.3.4.
* sysdeps/generic/xpg-strerror.c: New file.
* sysdeps/mach/xpg-strerror.c: New file.
|
|
2004-03-20 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/sched_getaffinity.c
(__sched_getaffinity_old): Fix interface.
* sysdeps/unix/sysv/linux/sched_setaffinity.c
(__sched_setaffinity_old): Likewise.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: Include <alloca.h>.
|
|
|
|
2004-03-17 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_CLONE_THREAD_FLAGS ): Define for newer SH kernel.
(__ASSUME_TGKILL, __ASSUME_UTIMES): Likewise.
* sysdeps/unix/sysv/linux/sh/socket.S: Add unwind information.
|
|
2004-03-18 Ulrich Drepper <drepper@redhat.com>
* posix/sched.h: Change sched_getaffinity and sched_setaffinity
interfaces: add new second parameter.
* sysdeps/generic/sched_getaffinity.c: Implement interface change.
* sysdeps/generic/sched_setaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/sched_getaffinity.c: Likewise. Add
compatibility interface.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
* sysdeps/unix/sysv/linux/Versions: Add versions for changed
interfaces.
|
|
* sysdeps/unix/sysv/linux/ia64/ioperm.c (_iopl): Match EPERM error
the x86 code produces in case of mission permissions.
Patch by Bernd Schmidt <bernds@redhat.com>.
|
|
2004-03-13 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Add const.
(handle_amd): New function.
(__sysconf): Handle _SC_LEVEL4_CACHE_LINESIZE here, not in
linux_sysconf. Call handle_amd on AuthenticAMD.
* sysdeps/unix/sysv/linux/x86_64/sysconf.c: Likewise.
|
|
oldvalue from CENABLE to CDISABLE.
2004-03-12 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/select.S: Fix unwind. Propagate
oldvalue from CENABLE to CDISABLE.
|
|
* sysdeps/unix/sysv/linux/x86_64/sysconf.c: New file.
|
|
* sysdeps/unix/sysv/linux/bits/local_lim.h: Define HOST_NAME_MAX.
|
|
2004-03-12 Ulrich Drepper <drepper@redhat.com>
* posix/getconf.c (vars): Add _SC_ values for cache information.
* sysdeps/generic/bits/confname.h: Add _SC_* values for cache
information.
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Reorganize to
allow yet another sysconf function to include the one in this file.
* sysdeps/unix/sysv/linux/i386/sysconf.c: New file.
* sysdeps/generic/sysconf.c: Add default handling for cache line info.
|
|
(glibc21_stat): New. * sysdeps/unix/sysv/linux/alpha/fxstat.c: New file. * sysdeps/unix/sysv/linux/alpha/lxstat.c: New file. * sysdeps/unix/sysv/linux/alpha/xstat.c: New file. * sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add code for _STAT_VER_GLIBC2_3_4. (__libc_missing_axp_stat64): New. * sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file. * sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New. (_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New. (struct stat, struct stat64): Update to new format. (_STATBUF_ST_NSEC): New.
2004-03-11 Richard Henderson <rth@redhat.com>
* sysdeps/unix/sysv/linux/alpha/kernel_stat.h (kernel_stat64): New.
(glibc21_stat): New.
* sysdeps/unix/sysv/linux/alpha/fxstat.c: New file.
* sysdeps/unix/sysv/linux/alpha/lxstat.c: New file.
* sysdeps/unix/sysv/linux/alpha/xstat.c: New file.
* sysdeps/unix/sysv/linux/alpha/xstatconv.c (__xstat_conv): Add
code for _STAT_VER_GLIBC2_3_4.
(__libc_missing_axp_stat64): New.
* sysdeps/unix/sysv/linux/alpha/xstatconv.h: New file.
* sysdeps/unix/sysv/linux/alpha/bits/stat.h (__ST_TIME): New.
(_STAT_VER_GLIBC2_3_4, _STAT_VER_KERNEL64): New.
(struct stat, struct stat64): Update to new format.
(_STATBUF_ST_NSEC): New.
|
|
2004-03-11 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
(__novec_swapcontext): Branch to novec_* labels.
|
|
2004-03-10 Jakub Jelinek <jakub@redhat.com>
* include/libc-symbols.h [__ASSEMBLY__] (compat_text_section,
compat_data_section): Define.
* sysdeps/unix/sysv/linux/alpha/adjtime.c (ADJTIME): Add
attribute_compat_text_section.
* sysdeps/unix/sysv/linux/alpha/wordexp.c (__old_wordexp): Likewise.
* sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob,
__old_globfree): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/chown.c (__chown_is_lchown):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c
(__posix_fadvise64_l32): Likewise.
* sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c
(__posix_fadvise64_l32): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c (__old_semctl):
Likewise.
* sysdeps/unix/sysv/linux/semctl.c (__old_semctl): Likewise.
* sysdeps/unix/sysv/linux/posix_fadvise64.c (__posix_fadvise64_l32):
Likewise.
* sysdeps/unix/sysv/linux/shmctl.c (__old_shmctl): Likewise.
* hurd/compat-20.c (_hurd_proc_init_compat_20): Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
(__swapcontext, __novec_swapcontext): Use END instead of PSEUDO_END.
(__novec_swapcontext, __swapcontext_stub): Add compat_text_section.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
(__makecontext_stub): Likewise.
(__novec_makecontext): Likewise. Fix name in END () to match
function name.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
(__setcontext): Use END instead of PSEUDO_END.
(__novec_setcontext): Add compat_text_section. Use END instead of
PSEUDO_END, fix the name in END () to match function name.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
(__getcontext, __novec_getcontext): Use END instead of PSEUDO_END.
(__novec_getcontext, __getcontext_stub): Add compat_text_section.
2004-03-10 Kaz Kojima <kkojima@rr.iij4u.or.jp>
* sysdeps/sh/dl-machine.h: Don't use GL macro if not appropriate.
(COPY_UNALIGNED_WORD): Remove cast used as lvalue.
2004-03-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/i386/dl-procinfo.h (HWCAP_IMPORTANT): Remove mmx, add sse2.
|
|
2004-03-10 Ulrich Drepper <drepper@redhat.com>
* include/libc-symbols.h: Define attribute_compat_text_section and
attribute_compat_data_section.
* io/ftw.c: Mark compat code with attribute_compat_text_section.
* libio/iofopncook.c: Likewise.
* libio/oldfileops.c: Likewise.
* libio/oldiofclose.c: Likewise.
* libio/oldiofdopen.c: Likewise.
* libio/oldiofgetpos.c: Likewise.
* libio/oldiofgetpos64.c: Likewise.
* libio/oldiofopen.c: Likewise.
* libio/oldiofsetpos.c: Likewise.
* libio/oldiofsetpos64.c: Likewise.
* libio/oldiopopen.c: Likewise.
* libio/oldpclose.c: Likewise.
* libio/oldtmpfile.c: Likewise.
* nptl/forward.c: Likewise.
* nss/getXXbyYY_r.c: Likewise.
* nss/getXXent_r.c: Likewise.
* posix/tst-vfork1.c: Likewise.
* stdlib/canonicalize.c: Likewise.
* stdlib/old_atexit.c: Likewise.
* sysdeps/generic/glob.c: Likewise.
* sysdeps/posix/posix_fallocate64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
* sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/msgctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
* sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/semctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/shmctl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
* sysdeps/unix/sysv/linux/i386/syscalls.list: vm86@@GLIBC_2.3.4
should be the default symbol. Having none misses the point.
|
|
* sysdeps/unix/sysv/linux/i386/vfork.S: If SAVE_PID and
RESTORE_PID are defined, use it.
* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
|
|
* sysdeps/unix/sysv/linux/ia64/dl-static.c (_dl_static_init): Call
_dl_lookup_symbol_x not _dl_lookup_symbol.
|
|
2004-03-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/powerpc/elf/rtld-global-offsets.sym: Adjust for moving
_dl_hwcap into _rtld_global_ro.
* sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
* sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
|
|
2004-03-07 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/ldsodefs.h: Move _dl_initial_searclist,
_dl_hp_timing_overhead, _dl_init_all_dirs, and the content of
dl-procinfo.c from _rtld_global to _rtld_global_ro.
* elf/rtld.c: Adjust initializer for _rtld_global_ro.
* elf/dl-close.c: Use GLRO instead of GL where appropriate.
* elf/dl-libc.c: Likewise.
* elf/dl-load.c: Likewise.
* sysdeps/i386/dl-procinfo.h: Likewise.
* sysdeps/i386/i686/hp-timing.h: Likewise.
* sysdeps/ia64/hp-timing.h: Likewise.
* sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
* sysdeps/sparc/sparc64/hp-timing.h: Likewise.
* sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise.
* sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/dl-procinfo.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-procinfo.h: Likewise.
|
|
* elf/Versions: Remove functions which are not exported anymore.
* dlfcn/dlerror.c: Call ld.so functions through GLSO.
* dlfcn/dlinfo.c: Likewise.
* elf/dl-close.c: Likewise.
* elf/dl-libc.c: Likewise.
* elf/dl-open.c: Likewise.
* elf/dl-sym.c: Likewise.
* sysdeps/generic/libc-start.c: Likewise.
* elf/dl-debug.c: Remove *_internal definition. Don't use INTUSE for
functions which are not exported anymore.
* elf/dl-deps.c: Likewise.
* elf/dl-dst.h: Likewise.
* elf/dl-error.c: Likewise.
* elf/dl-fini.c: Likewise.
* elf/dl-init.c: Likewise.
* elf/dl-load.c: Likewise.
* elf/dl-lookup.c: Likewise.
* elf/dl-misc.c: Likewise.
* elf/dl-profile.c: Likewise.
* elf/dl-profstub.c: Likewise.
* elf/dl-reloc.c: Likewise.
* elf/dl-runtime.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/do-lookup.h: Likewise.
* include/dlfcn.h: Likewise.
* sysdeps/generic/dl-cache.c: Likewise.
* sysdeps/generic/dl-fptr.c: Likewise.
* sysdeps/generic/dl-origin.c: Likewise.
* sysdeps/generic/dl-sysdep.c: Likewise.
* sysdeps/generic/dl-tls.c: Likewise.
* sysdeps/generic/ldsodefs.h: Likewise.
* sysdeps/i386/dl-tls.h: Likewise.
* sysdeps/unix/sysv/linux/dl-origin.c: Likewise.
* elf/rtld.c: Likewise. Export function though _rtld_global_ro.
* generic/dl-fptr.c: Likewise.
* mach/hurd/dl-sysdep.c: Likewise.
* unix/sysv/linux/ia64/dl-static.c: Likewise.
* unix/sysv/linux/ia64/getpagesize.c: Likewise.
* unix/sysv/linux/m68k/getpagesize.c: Likewise.
* unix/sysv/linux/sparc/sparc32/getpagesize.c: Likewise.
|
|
* sysdeps/sparc/sparc64/dl-machine.h: Likewise.
* sysdeps/sparc/sparc32/dl-machine.h: Likewise.
* sysdeps/s390/s390-64/dl-machine.h: Likewise.
* sysdeps/s390/s390-32/dl-machine.h: Likewise.
* sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
* sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
* sysdeps/m68k/dl-machine.h: Likewise.
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/arm/dl-machine.h: Likewise.
* sysdeps/alpha/dl-machine.h: Likewise.
|
|
2004-03-04 Jakub Jelinek <jakub@redhat.com>
* iconv/iconv_prog.c (process_block): Handle omit_invalid.
If iconv returns EILSEQ with omit_invalid, continue converting
and return 1 if no other errors are seen.
(main): Set status to EXIT_FAILURE whenever process_* returns
nonzero, but only stop processing further files if iy returns
negative value.
|
|
2004-03-03 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/x86_64/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (posix_fadvise64):
Remove.
* sysdeps/unix/sysv/linux/alpha/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/alpha/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (posix_fadvise64):
Remove.
* sysdeps/unix/sysv/linux/ia64/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/ia64/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (posix_fadvise64):
Remove.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/posix_fadvise64.c: New
file.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Removed.
* sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list
(posix_fadvise64): Remove.
* sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/posix_fadvise64.c: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list
(posix_fadvise64): Remove.
|
|
2004-03-02 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/powerpc/powerpc32/xstat.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/fxstat.c: New file.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/lxstat.c: New file.
|
|
2004-03-01 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/kernel-features.h: Add support for
__ASSUME_GETDENTS32_D_TYPE.
* sysdeps/unix/sysv/linux/getdents.c: For 2.6.4+ kernels you
getdents syscall again since it provides d_type information.
* manual/install.texi (Tools for Compilation): Autoconf 2.53 is
required.
|
|
2004-02-27 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/sysconf.c: Include stdlib.h.
|
|
2004-02-26 Jakub Jelinek <jakub@redhat.com>
* sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Set
retval to -1 on error.
|
|
2004-02-26 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Use the official
not cancelable interfaces.
|
|
2004-02-24 Arnold D. Robbins <arnold@skeeve.com>
* posix/regex_internal.c (build_wcs_upper_buffer): Enclose
`offsets_needed' label in `#ifdef _LIBC' to silence `unused label'
compiler warning.
2004-02-24 Nelson H.F. Beebe <beebe@math.utah.edu>
* posix/regex_internal.c (build_wcs_buffer): Add cast to char* in call
to `wcrtomb'.
* posix/regex_internal.h (bitset_not, bitset_merge, bitset_not_merge,
bitset_mask, re_string_char_size_a, re_string_wchar_at,
re_string_elem_size_at): Change to use prototypes.
(re_string_char_size_at, re_string_wchar_at,
re_string_elem_size_at): Declare as `internal_function'.
|