aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-04-15Update.Ulrich Drepper
2000-04-15 Ulrich Drepper <drepper@redhat.com> * posix/Makefile (headers): Add spawn.h. (distribute): Add spawn_int.h. (routines): Add spawn_faction_init, spawn_faction_destroy, spawn_faction_addclose, spawn_faction_addopen, spawn_faction_adddup2, spawnattr_init, spawnattr_destroy, spawnattr_getdefault, spawnattr_setdefault, spawnattr_getflags, spawnattr_setflags, spawnattr_getpgroup, spawnattr_setpgroup, spawn, spawnp, and spawni. * posix/Versions [libc] (GLIBC_2.2): Add posix_spawn_file_actions_init, posix_spawn_file_actions_destroy, posix_spawn_file_actions_addclose, posix_spawn_file_actions_addopen, posix_spawn_file_actions_adddup2, posix_spawnattr_init, posix_spawnattr_destroy, posix_spawnattr_getdefault, posix_spawnattr_setdefault, posix_spawnattr_getflags, posix_spawnattr_setflags, posix_spawnattr_getpgroup, posix_spawnattr_setpgroup, posix_spawn, and posix_spawnp. * posix/spawn.c: New file. * posix/spawn.h: New file. * posix/spawn_faction_addclose.c: New file. * posix/spawn_faction_adddup2.c: New file. * posix/spawn_faction_addopen.c: New file. * posix/spawn_faction_destroy.c: New file. * posix/spawn_faction_init.c: New file. * posix/spawn_int.h: New file. * posix/spawnattr_destroy.c: New file. * posix/spawnattr_getdefault.c: New file. * posix/spawnattr_getflags.c: New file. * posix/spawnattr_getpgroup.c: New file. * posix/spawnattr_getschedparam.c: New file. * posix/spawnattr_getschedpolicy.c: New file. * posix/spawnattr_getsigmask.c: New file. * posix/spawnattr_init.c: New file. * posix/spawnattr_setdefault.c: New file. * posix/spawnattr_setflags.c: New file. * posix/spawnattr_setpgroup.c: New file. * posix/spawnattr_setschedparam.c: New file. * posix/spawnattr_setschedpolicy.c: New file. * posix/spawnattr_setsigmask.c: New file. * posix/spawni.c: New file. * posix/spawnp.c: New file. * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_SPAWN. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
2000-04-15Update.Ulrich Drepper
2000-04-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _POSIX_SPAWN. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2000-04-15Add _POSIX_SPAWN.Ulrich Drepper
2000-04-15Update.Andreas Jaeger
(elf_machine_got_rel): Cast sym correctly.
2000-04-15Update.Andreas Jaeger
* sysdeps/mips/add_n.S: Use __PIC__, add end directive.
2000-04-15Update.Andreas Jaeger
* sysdeps/mips/addmul_1.S: Likewise. * sysdeps/mips/lshift.S: Likewise. * sysdeps/mips/mul_1.S: Likewise. * sysdeps/mips/rshift.S: Likewise. * sysdeps/mips/sub_n.S: Likewise. * sysdeps/mips/submul_1.S: Likewise.
2000-04-15Update.Andreas Jaeger
* sysdeps/mips/dl-machine.h (elf_machine_got_rel): Initialize symidx correctly. * sysdeps/mips/add_n.S: Use __PIC__, add .end directive.
2000-04-15Update.Andreas Jaeger
* stdlib/stdlib.h: Fix typo in comment.
2000-04-142000-04-14 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and 2.2 for libdl, ld and libm. * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and 2.2 for libdl, ld and libm.
2000-04-142000-04-14 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and 2.2 for linuxthreads. 2000-04-14 Andreas Jaeger <aj@suse.de> * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and 2.2 for libdl, ld and libm. * shlib-versions (mips.*-.*-linux.*): Support only GLIBC 2.0 and 2.2 for linuxthreads.
2000-04-14Add newline at EOF.Andreas Jaeger
2000-04-14Update.Ulrich Drepper
2000-04-14 Ulrich Drepper <drepper@redhat.com> * malloc/Versions [libc] (GLIBC_2.2): Add posix_memalign. * malloc/malloc.c: Implement posix_memalign for glibc. * include/stdlib.h: Add prototype for __posix_memalign. * stdlib/stdlib.h: Add prototype for posix_memalign.
2000-04-14Implement posix_memalign for glibc.Ulrich Drepper
2000-04-14Update.Andreas Jaeger
2000-04-14 Andreas Jaeger <aj@suse.de> * sysdeps/generic/madvise.c: Fix typos. * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__. * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility. * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc warnings.
2000-04-142000-04-14 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* weaks.c: Fix typo. 2000-04-14 Andreas Jaeger <aj@suse.de> * sysdeps/generic/madvise.c: Fix typos. * sysdeps/unix/sysv/linux/mips/clone.S (error): Use __PIC__. * sysdeps/mips/bits/setjmp.h: Remove K&R compatibility. * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Silence gcc warnings. 2000-04-14 Andreas Jaeger <aj@suse.de> * weaks.c: Fix typo.
2000-04-14update.Ulrich Drepper
2000-04-14 Ulrich Drepper <drepper@redhat.com> * include/sys/statfs.h: Add prototypes for __statfs64 and __fstatfs64. * sysdeps/generic/fstatfs64.c (__fstatfs64): Renamed to fstatfs64. Make old name weak alias. * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. * sysdeps/generic/statfs64.c (__statfs64): Renamed to statfs64. Make old name weak alias. * sysdeps/unix/sysv/linux/statfs64.c: Likewise. * io/Makefile (routines): Add posix_fadvise, posix_fadvise64, posix_fallocate, and posix_fallocate64. * io/Versions [libc] (GLIBC_2.2): Add posix_fadvise, posix_fadvise64, posix_fallocate, and posix_fallocate64. * io/fcntl.h: Declare posix_fadvise, posix_fadvise64, posix_fallocate, and posix_fallocate64. * sysdeps/generic/fadvise.c: New file. * sysdeps/generic/fadvise64.c: New file. * sysdeps/generic/fallocate.c: New file. * sysdeps/generic/fallocate64.c: New file. * sysdeps/posix/fallocate.c: New file. * sysdeps/posix/fallocate64.c: New file. * sysdeps/generic/bits/fcntl.h: Define POSIX_FADV_NORMAL, POSIX_FADV_RANDOM, POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED, POSIX_FADV_DONTNEED, and POSIX_FADV_NOREUSE. * sysdeps/mach/hurd/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/alpha/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/fcntl.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. * sysdeps/generic/madvise.c (__madvise): Renamed to posix_madvise. * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2000-04-14Update.Ulrich Drepper
2000-04-13 Ulrich Drepper <drepper@redhat.com> * misc/Versions [libc] (GLIBC_2.2): Add posix_madvice. * misc/sys/mman.h (posix_madvise): Add prototype. * sysdeps/generic/madvise.c (madvise): Renamed to __madvise. Make old name and posix_madvise weak aliases. * sysdeps/unix/sysv/linux/syscalls.list: Likewise. * sysdeps/generic/bits/mman.h: Add POSIX_MADV_* constants. * sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2000-04-14[libc] (GLIBC_2.2): Add posix_madvice.Ulrich Drepper
2000-04-14Update.Andreas Jaeger
(elf_machine_got_rel): Handle symbol versioning.
2000-04-14Update.Andreas Jaeger
(elf_machine_got_rel): Only add runtime display if needed.
2000-04-13Update.Andreas Jaeger
* sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol versioning. 2000-04-13 Andreas Jaeger <aj@suse.de>
2000-04-13Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/mips/clone.S: Fix function. * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
2000-04-13Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/mips/pipe.S: New file.
2000-04-13Update.Andreas Jaeger
2000-04-13 Andreas Jaeger <aj@suse.de> * sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is default. * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems with some applications. Patches by Ralf Baechle <ralf@uni-koblenz.de>. * sysdeps/mips/bsd-setjmp.S: Use __PIC__. * sysdeps/mips/bsd-_setjmp.S: Likewise. * sysdeps/mips/setjmp.S: Likewise.
2000-04-132000-04-13 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sysdeps/unix/mips/pipe.S: Reorder instructions since .reorder is default. * sysdeps/mips/__longjmp.c (__longjmp): Use $25 to fix problems with some applications. Patches by Ralf Baechle <ralf@uni-koblenz.de>. * sysdeps/mips/bsd-setjmp.S: Use __PIC__. * sysdeps/mips/bsd-_setjmp.S: Likewise. * sysdeps/mips/setjmp.S: Likewise.
2000-04-13Update.Ulrich Drepper
2000-04-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Fix typo.
2000-04-13Update.Ulrich Drepper
2000-04-13 Ulrich Drepper <drepper@redhat.com> * posix/globtest.sh: Work around inconsistency with expanding ~/ in shell (PR libc/1690). Reported by patsmith@pobox.com.
2000-04-13Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_SPIN_LOCKS): Defined. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
2000-04-13Update.Ulrich Drepper
* sysdeps/pthread/pthread.h: Add prototypes for pthread_spin_init, pthread_spin_destroy, pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock. * sysdeps/pthread/bits/pthreadtypes.h: Change struct _pthread_fastlock into pthread_spinlock_t. Change all uses. * spinlock.c: Implement pthread_spin_lock. Rename __pthread_unlock to __pthread_spin_unlock and define weak alias for real name. Define pthread_spin_trylock, pthread_spin_init, and pthread_spin_destroy. Change all uses of _pthread_fastlock to pthread_spinlock_t. * spinlock.h: Rename __pthread_unlock to __pthread_spin_unlock. Change all uses of _pthread_fastlock to pthread_spinlock_t. * Versions [libpthread] (GLIBC_2.2): Add pthread_spin_init, pthread_spin_destroy, pthread_spin_lock, pthread_spin_trylock, and pthread_spin_unlock. * cancel.c: Use __pthread_spin_unlock instead of __pthread_unlock. Change all uses of _pthread_fastlock to pthread_spinlock_t. * condvar.c: Likewise. * internals.h: Likewise. * join.c: Likewise. * manager.c: Likewise. * mutex.c: Likewise. * pthread.c: Likewise. * rwlock.c: Likewise. * semaphore.c: Likewise. * signals.c: Likewise.
2000-04-13Update.Ulrich Drepper
* posix/getconf.c: Add support for many more POSIX options. * sysdeps/posix/sysconf.c: Likewise. * sysdeps/generic/bits/confname.h: Add many more POSIX options. * sysdeps/mach/hurd/bits/posix_opt.h: Add _POSIX_REGEXP and _POSIX_SHELL. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * sysdeps/unix/sysv/linux/i386/bits/time.h: Rename __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Add define CLOCK_MONOTONIC and CLOCK_THREAD_CPUTIME_ID. * sysdeps/unix/i386/clock_getcpuclockid.c: Set *clock_id to CLOCK_PROCESS_CPUTIME_ID. * sysdeps/unix/i386/i586/clock_getres.c: Change for renaming of __CLOCK_HIGHRES to CLOCK_PROCESS_CPUTIME_ID. Handle CLOCK_THREAD_CPUTIME_ID and CLOCK_MONOTONIC the same. * sysdeps/unix/i386/i586/clock_gettime.c: Likewise.
2000-04-12Update.Ulrich Drepper
* malloc/Makefile (tests): Add tst-calloc. * malloc/tst-calloc.c: New file.
2000-04-12Update.Ulrich Drepper
* sysdeps/arm/libm-test-ulps: New file.
2000-04-12Update.Ulrich Drepper
* malloc/malloc.c: Undo all of today's changes.
2000-04-12Update.Ulrich Drepper
* locale/programs/locale.c (show_info): Don't try to look into data for LC_ALL (there is none).
2000-04-12Update.Ulrich Drepper
* malloc/malloc.c (cALLOc): Clear only what the user asked for and avoid writing over boundary. Patch by Greg McGary <gkm@eng.ascend.com>.
2000-04-12Update.Ulrich Drepper
2000-04-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/arm/memprof.h: New file.
2000-04-12Update.Ulrich Drepper
2000-04-12 Andreas Jaeger <aj@suse.de> * sysdeps/unix/i386/i586/clock_gettime.c: Fix typo. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Include <string.h> for memmem declaration. * sysdeps/unix/clock_gettime.c (clock_gettime): Initialize retval to -1. * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
2000-04-12Update.Ulrich Drepper
* libio/iopopen.c (_IO_new_proc_open): Close pipes in case the mode is invalid. * libio/oldiopopen.c (_IO_old_proc_open): Likewise. Patch by Bart Veer <bartv@redhat.com>.
2000-04-12Update.Ulrich Drepper
2000-04-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init function interface.
2000-04-12(RTLD_START): Rewrite for new init function interface.Ulrich Drepper
2000-04-12Update.Andreas Jaeger
2000-04-11 Andreas Jaeger <aj@suse.de> * sysdeps/mips/dl-machine.h: Update some comments. (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
2000-04-122000-04-11 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sysdeps/mips/dl-machine.h: Update some comments. (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
2000-04-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _POSIX_SHARED_MEMORY_OBJECTS.
2000-04-12Update.Ulrich Drepper
* rt/Makefile (tests): Add tst-shm. Add rules to generate tst-shm. * rt/tst-shm.c: New file.
2000-04-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC for descriptor.
2000-04-12Update.Ulrich Drepper
* misc/sys/mman.h: Add prototypes for shm_open and shm_unlink. * rt/Makefile (librt-routines): Add shm_open and shm_unlink. * rt/Versions [librt] (GLIBC_2.2): Add shm_open and shm_unlink. * sysdeps/generic/shm_open.c: New file. * sysdeps/generic/shm_unlink.c: New file. * sysdeps/unix/sysv/linux/shm_open.c: New file. * sysdeps/unix/sysv/linux/shm_unlink.c: New file. * sysdeps/unix/sysv/linux/Versions [libc] (GLIBC_2.2): Export __endmntent, __getmntent_r, __setmntent, and __statfs.
2000-04-12Add prototypes for shm_open and shm_unlink.Ulrich Drepper
2000-04-112000-04-11 Andreas Jaeger <aj@suse.de>Andreas Jaeger
* sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Define. (__compare_and_swap): Mark as modifying memory. 2000-04-11 Andreas Jaeger <aj@suse.de> * sysdeps/mips/pt-machine.h (MEMORY_BARRIER): Define. (__compare_and_swap): Mark as modifying memory.
2000-04-11Update.Ulrich Drepper
* libio/vasprintf.c (_IO_vasprintf): Try to avoid memory fragmentation by allocating new memory at the end instead of reallocating.
2000-04-11(_IO_vasprintf): Try to avoid memory fragmentation by allocating new memory ↵Ulrich Drepper
at the end instead of reallocating.