about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* 2000-04-14 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-04-146-12/+16
| | | | | | | | | | | | | | | | | | * 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.
* update.Ulrich Drepper2000-04-1425-26/+458
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-04-1411-17/+97
| | | | | | | | | | | | | | | | 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.
* [libc] (GLIBC_2.2): Add posix_madvice.Ulrich Drepper2000-04-141-0/+3
|
* Update.Andreas Jaeger2000-04-142-18/+48
| | | | (elf_machine_got_rel): Handle symbol versioning.
* Update.Andreas Jaeger2000-04-142-4/+10
| | | | (elf_machine_got_rel): Only add runtime display if needed.
* Update.Andreas Jaeger2000-04-133-12/+47
| | | | | | | * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Handle symbol versioning. 2000-04-13 Andreas Jaeger <aj@suse.de>
* Update.Andreas Jaeger2000-04-132-29/+19
| | | | | | * sysdeps/unix/sysv/linux/mips/clone.S: Fix function. * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
* Update.Andreas Jaeger2000-04-132-0/+3
| | | | * sysdeps/unix/sysv/linux/mips/pipe.S: New file.
* Update.Andreas Jaeger2000-04-131-0/+13
| | | | | | | | | | | | | | | | 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-13 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-04-135-15/+14
| | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2000-04-133-2/+7
| | | | | | | 2000-04-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Fix typo.
* Update.Ulrich Drepper2000-04-139-10/+99
| | | | | | | 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.
* Update.Ulrich Drepper2000-04-133-0/+10
| | | | | | * sysdeps/unix/sysv/linux/bits/posix_opt.h (_POSIX_SPIN_LOCKS): Defined. * sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* Update.Ulrich Drepper2000-04-1316-97/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2000-04-1315-14/+780
| | | | | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2000-04-123-1/+114
| | | | | * malloc/Makefile (tests): Add tst-calloc. * malloc/tst-calloc.c: New file.
* Update.Ulrich Drepper2000-04-122-0/+1081
| | | | * sysdeps/arm/libm-test-ulps: New file.
* Update.Ulrich Drepper2000-04-122-1/+3
| | | | * malloc/malloc.c: Undo all of today's changes.
* Update.Ulrich Drepper2000-04-123-19/+23
| | | | | * locale/programs/locale.c (show_info): Don't try to look into data for LC_ALL (there is none).
* Update.Ulrich Drepper2000-04-122-1/+5
| | | | | | * malloc/malloc.c (cALLOc): Clear only what the user asked for and avoid writing over boundary. Patch by Greg McGary <gkm@eng.ascend.com>.
* Update.Ulrich Drepper2000-04-122-0/+25
| | | | | | 2000-04-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/arm/memprof.h: New file.
* Update.Ulrich Drepper2000-04-125-6/+15
| | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-04-123-0/+9
| | | | | | | * 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>.
* Update.Ulrich Drepper2000-04-121-0/+5
| | | | | | | 2000-04-12 Ulrich Drepper <drepper@redhat.com> * sysdeps/arm/dl-machine.h (RTLD_START): Rewrite for new init function interface.
* (RTLD_START): Rewrite for new init function interface.Ulrich Drepper2000-04-121-26/+22
|
* Update.Andreas Jaeger2000-04-121-0/+5
| | | | | | | 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-11 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-04-121-8/+9
| | | | | * sysdeps/mips/dl-machine.h: Update some comments. (ELF_MACHINE_ALIGN_MASK): Removed, it's not needed.
* Update.Ulrich Drepper2000-04-124-2/+16
| | | | | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _POSIX_SHARED_MEMORY_OBJECTS.
* Update.Ulrich Drepper2000-04-123-1/+206
| | | | | | * rt/Makefile (tests): Add tst-shm. Add rules to generate tst-shm. * rt/tst-shm.c: New file.
* Update.Ulrich Drepper2000-04-122-1/+27
| | | | | * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Set FD_CLOEXEC for descriptor.
* Update.Ulrich Drepper2000-04-128-1/+295
| | | | | | | | | | | | * 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.
* Add prototypes for shm_open and shm_unlink.Ulrich Drepper2000-04-121-0/+7
|
* 2000-04-11 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-04-112-3/+12
| | | | | | | | | * 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.
* Update.Ulrich Drepper2000-04-111-0/+4
| | | | | | * libio/vasprintf.c (_IO_vasprintf): Try to avoid memory fragmentation by allocating new memory at the end instead of reallocating.
* (_IO_vasprintf): Try to avoid memory fragmentation by allocating new memory ↵Ulrich Drepper2000-04-111-4/+21
| | | | at the end instead of reallocating.
* * sysdeps/powerpc/pt-machine.h (MEMORY_BARRIER): Don't be __volatile__. ↵Geoff Keating2000-04-112-12/+20
| | | | | | | | | | | (__compare_and_swap): Replace other 'sync' with MEMORY_BARRIER. Don't have the 'asm' __volatile__. 2000-04-11 Geoff Keating <geoffk@cygnus.com> * sysdeps/powerpc/pt-machine.h (MEMORY_BARRIER): Don't be __volatile__. (__compare_and_swap): Replace other 'sync' with MEMORY_BARRIER. Don't have the 'asm' __volatile__.
* Upadte.Ulrich Drepper2000-04-117-17/+61
| | | | | | | | | | | | | | | | | | | | | | 2000-04-11 Ulrich Drepper <drepper@redhat.com> * internals.h: Define MEMORY_BARRIER as empty if not defined already. * spinlock.c (__pthread_lock): Add memory barriers. (__pthread_unlock): Likewise. * sysdeps/alpha/pt-machine.h (MEMORY_BARRIER): Define using mb instruction. (RELEASE): Not needed anymore. (__compare_and_swap): Mark asm as modifying memory. * sysdeps/powerpc/pt-machine.h (sync): Remove. Replace with definition of MEMORY_BARRIER. (__compare_and_swap): Use MEMORY_BARRIER instead of sync. * sysdeps/sparc/sparc32/pt-machine.h (RELEASE): Not needed anymore. (MEMORY_BARRIER): Define using stbar. * sysdeps/sparc/sparc64/pt-machine.h (MEMORY_BARRIER): Define using stbar. (__compare_and_swap): Use MEMORY_BARRIER to ensure ordering. Patch by Xavier Leroy <Xavier.Leroy@inria.fr> based on comments by Mike Burrows <m3b@pa.dec.com>.
* Update.Ulrich Drepper2000-04-1113-21/+218
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-11 Ulrich Drepper <drepper@redhat.com> * posix/globtest.sh: Fix last change. 2000-04-10 Philip Blundell <philb@gnu.org> * sysdeps/unix/sysv/linux/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): New names for IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP. * sysdeps/generic/bits/in.h (IPV6_JOIN_GROUP, IPV6_LEAVE_GROUP): Likewise. 2000-04-11 Ulrich Drepper <drepper@redhat.com> * elf/readlib (process_file): Close streams in case of an error. 2000-04-09 Andreas Jaeger <aj@suse.de> * elf/readlib.c (process_file): Check if file is big enough to contain aout and ELF headers. Reported by Reinhard Moosauer <RMoosauer@steinecker.com>. 2000-04-10 Jes Sorensen <Jes.Sorensen@cern.ch> * elf/dl-fini.c: Include alloca.h to get proper prototype for alloca(). 2000-04-11 Ulrich Drepper <drepper@redhat.com> * test-skeleton.c (main): If STDOUT_UNBUFFERED is defined, make stdout stream unbuffered. * rt/Makefile (tests): Add tst-clock. Add rules to build tst-clock. * rt/tst-clock.c: New file. * sysdeps/unix/i386/i586/clock_getres.c: Correct expression to decide about initialization of nsec. * sysdeps/unix/i386/i586/clock_gettime.c: Correct expression to decide about initialization of freq. Set retval to zero if successful. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Cache result.
* Update.Ulrich Drepper2000-04-112-1/+14
| | | | * time/time.h: Define pid_t. Add prototype for clock_getcpuclockid.
* Update.Ulrich Drepper2000-04-1116-16/+502
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-10 Ulrich Drepper <drepper@redhat.com> * Versions.def (librt): Add GLIBC_2.2. * rt/Makefile (librt-routines): Add get_clockfreq, clock_getcpuclockid, clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime. * rt/Versions [librt] (GLIBC_2.2): Add clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverrun, timer_gettime, and timer_settime. * sysdeps/generic/clock_getcpuclockid.c: New file. * sysdeps/generic/get_clockfreq.c: New file. * sysdeps/unix/i386/clock_getcpuclockid.c: New file. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: New file. * sysdeps/mach/hurd/i386/bits/time.h: New file. * sysdeps/unix/i386/i586/clock_getres.c: New file. * sysdeps/unix/i386/i586/clock_gettime.c: New file. * sysdeps/unix/i386/i686/Implies: New file. * sysdpes/unix/sysv/linux/i386/bits/time.h: New file. * time/Makefile (routines): Move clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverr, timer_gettime, and timer_settime to rt/Makefile. * time/Versions [libc] (GLIBC_2.2): Remove clock_getres, clock_gettime, clock_settime, timer_create, timer_delete, timer_getoverrun, timer_gettime, and timer_settime. * sysdeps/mach/hurd/bits/time.h: Drop K&R compatibility. Use __const__ and not const as attribute name.
* Update.Ulrich Drepper2000-04-102-9/+18
| | | | | | 2000-04-10 Thorsten Kukuk <kukuk@suse.de> * elf/cache.c (save_cache): Make sure /etc/ld.so.cache is mode 644.
* Update.Ulrich Drepper2000-04-102-5/+17
| | | | | | | 2000-04-10 Andreas Schwab <schwab@suse.de> * posix/globtest.sh: Skip tests that depend on unreadable directories if run as root.
* Update.Ulrich Drepper2000-04-102-0/+12
| | | | | | | 2000-04-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/clock_settime.c (clock_settime): Test tv_nsec value for correct range. From code by Kaz Kylheku <kaz@ashi.footprints.net>.
* Update.Ulrich Drepper2000-04-104-0/+170
| | | | | | * sysdeps/unix/clock_gettime.c: New file. * sysdeps/unix/clock_settime.c: New file. * sysdeps/posix/clock_getres.c: New file.
* Update.Ulrich Drepper2000-04-102-0/+4
| | | | * conform/data/ftw.h-data: Add allow-header sys/stat.h.
* Update.Ulrich Drepper2000-04-103-4/+19
| | | | | | | * sysdeps/unix/sysv/linux/getdents.c (__getdents): Avoid initial lseek call be passing in a buffer which never allow a successful first getdents syscall if not at leas the initial entry can be stored in the user buffer.
* Update.Ulrich Drepper2000-04-1020-47/+643
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-09 Ulrich Drepper <drepper@redhat.com> * localedata/Makefile: Add rules to clean up directories created by new strfmon tests. 2000-04-09 Geoff Clare <gwc@unisoft.com> * localedata/tst-fmon.data: Added new tests for strfmon() using test locales with all combinations of cs_precedes, sign_posn and sep_by_space. * localedata/tst-fmon.sh: Updated to support the new tests. * localedata/tst-fmon-locales/tstfmon_n01y12: New file containing the localedef source for the new strfmon() test locale. * localedata/tst-fmon-locales/tstfmon_n02n40: Likewise. * localedata/tst-fmon-locales/tstfmon_n10y31: Likewise. * localedata/tst-fmon-locales/tstfmon_n11y41: Likewise. * localedata/tst-fmon-locales/tstfmon_n12y11: Likewise. * localedata/tst-fmon-locales/tstfmon_n20n32: Likewise. * localedata/tst-fmon-locales/tstfmon_n30y20: Likewise. * localedata/tst-fmon-locales/tstfmon_n41n00: Likewise. * localedata/tst-fmon-locales/tstfmon_y01y10: Likewise. * localedata/tst-fmon-locales/tstfmon_y02n22: Likewise. * localedata/tst-fmon-locales/tstfmon_y22n42: Likewise. * localedata/tst-fmon-locales/tstfmon_y30y21: Likewise. * localedata/tst-fmon-locales/tstfmon_y32n31: Likewise. * localedata/tst-fmon-locales/tstfmon_y40y00: Likewise. * localedata/tst-fmon-locales/tstfmon_y42n21: Likewise. * stdlib/strfmon.c: Correct problems with missing or extra spaces for unusual combinations of sign_posn and sep_by_space. Improved left-precision alignment code.
* Update.Ulrich Drepper2000-04-102-1/+5
| | | | | | 2000-04-07 Andreas Jaeger <aj@suse.de> * posix/Makefile (CFLAGS-regex.c): Remove DEBUG.
* (sigaction): Fix return value for the case SIG is one of the signals the ↵Ulrich Drepper2000-04-101-1/+4
| | | | implementation uses.