about summary refs log tree commit diff
path: root/linuxthreads
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2000-05-042-2/+7
| | | | | | | | | | | 2000-05-03 Ulrich Drepper <drepper@redhat.com> * string/bits/string2.h: Declare __strdup and __strndup if necessary. Reported by Bruno Haible. 2000-04-29 Bruno Haible <haible@clisp.cons.org> * manual/arith.texi: Remove @w from @itemize.
* Update.Ulrich Drepper2000-04-274-10/+30
| | | | | | | | | | | | 2000-04-27 Ulrich Drepper <drepper@redhat.com> * elf/soinit.c (__libc_global_ctors): Call __pthread_initialize_minimal if this function is available. * sysdeps/i386/i486/atomicity.h (exchange_and_add): Use uint32_t for all values. <haible@clisp.cons.org>.
* Update.Ulrich Drepper2000-04-252-2/+7
| | | | | | | 2000-04-25 Ulrich Drepper <drepper@redhat.com> * elf/dl-profile.c (_dl_mcount): Try to be thread-safe while not setting the state to GMON_PROF_BUSY.
* Update.Ulrich Drepper2000-04-252-31/+1
| | | | * pthread.c: Remove special treatement for interrupt handlers on x86.
* Update.Ulrich Drepper2000-04-254-11/+17
| | | | | | | | | 2000-04-24 Ulrich Drepper <drepper@redhat.com> * manager.c (pthread_free): Use FREE_THREAD not FREE_THREAD_SELF. * sysdeps/i386/useldt.h: Use "q" constraint instead of "r" where necessary. * sysdeps/i386/i686/pt-machine.h: Include "../useldt.h".
* Update.Ulrich Drepper2000-04-242-2/+7
| | | | | | | 2000-04-24 Mark Kettenis <kettenis@gnu.org> * join.c (pthread_exit): Set p_terminated after reporting the termination event instead of before.
* Update.Ulrich Drepper2000-04-211-0/+9
| | | | | | | | 2000-04-20 Ulrich Drepper <drepper@redhat.com> * manual/stdio.texi: Give advise about handling error when using stream functions. Patch by Michael Deutschmann <michael@talamasca.ocis.net>.
* Update.Ulrich Drepper2000-04-212-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-04-19 Jakub Jelinek <jakub@redhat.com> * locale/programs/ld-ctype.c (ctype_output): Set size of the idx field to nelems * sizeof (uint32_t). * locale/programs/ld-address.c (address_output): Align word fields properly. * locale/programs/ld-monetary.c (monetary_output): Likewise. Don't restart idx pointers to idx end at the duo_int_curr_symbol field. Avoid giving arbitrary garbage in the crncystr field. Use sizeof(uint32_t) instead of 4 for len in uno_valid_from, uno_valid_to, duo_valid_from, duo_valid_to and conversion_rate fields. * locale/programs/ld-numeric.c (numeric_output): Likewise. Don't restart idx pointers to idx end at the decimal_point_wc field. * locale/programs/ld-time.c (time_output): week_1stday should be word, not byte. Align it properly. 2000-04-19 H.J. Lu <hjl@gnu.org> * csu/gmon-start.c (_start): Declared as "extern void". (etext): Likewise. 2000-04-18 Andreas Jaeger <aj@suse.de> * manual/install.texi (Running make install): Don't mention utmpd anymore. 2000-04-18 Andreas Jaeger <aj@suse.de> * linuxthreads/Versions: Use ld instead of ld.so. * elf/Makefile (ld-map): Use ld.map. * Versions.def: Use ld instead of ld.so. * elf/Versions: Likewise. * sysdeps/mach/hurd/Versions: Likewise.
* Update.Ulrich Drepper2000-04-181-0/+5
| | | | | | | * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h (struct sigcontext): Remove the typedef keyword. 2000-04-18 Jakub Jelinek <jakub@redhat.com>
* Update.Ulrich Drepper2000-04-184-6/+21
| | | | | | | | | 2000-04-18 Ulrich Drepper <drepper@redhat.com> * posix/Makefile (tests): Add tst-getaddrinfo. * posix/tst-getaddrinfo.c: New file. and setresuid from sysdep_routines.
* Update.Ulrich Drepper2000-04-182-1/+7
| | | | * manual/sysinfo.texi: Document that umount2 is not widely available.
* Update.Ulrich Drepper2000-04-172-4/+6
| | | | | | 2000-04-17 Ulrich Drepper <drepper@redhat.com> * elf/dl-lookup.c (add_dependency): Correct __builtin_expect use.
* Update.Ulrich Drepper2000-04-163-34/+10
| | | | | | | | | 2000-04-16 Ulrich Drepper <drepper@redhat.com> * pthread.c: Correct long-time braino. We never set SA_SIGINFO and therefore don't need the _rt versions of the signal handlers. * internals.h: Declare __pthread_yield.
* Update.Ulrich Drepper2000-04-164-0/+22
| | | | | * csu/Makefile ($(objpfx)version-info.h): Get OS name from uname and only fall back on using Linux.
* Update.Ulrich Drepper2000-04-153-8/+19
| | | | | | | | | | | | | | | | | | | | * elf/dl-version.c (_dl_check_map_versions): New argument trace_mode. Before testing versions check that we actually loaded the object and whether we are in trace mode. If not loaded during tracing don't test versions in this object. (_dl_check_all_versions): Take new parameter and pass to _dl_check_map_versions. * sysdeps/generic/ldsodefs.h: Update prototypes for _dl_check_all_versions and _dl_check_map_versions. * elf/rtld.c (struct version_check_args): Add dotrace. (version_check_doit): Pass args->dotrace to _dl_check_all_versions. (dl_main): Pass info about trace mode to version_check_doit. * elf/dl-open.c (dl_open_worker): Pass zero as new argument to _dl_check_all_versions. * manual/users.texi (XPG Functions): Document utmpxname, getutmp, and getutmpx. Patch by Bryan Henderson <bryanh@giraffe-data.com>.
* Update.Ulrich Drepper2000-04-153-9/+50
| | | | | | | * sysdeps/unix/sysv/linux/alpha/adjtime.c: Fix typo in compat_symbol call for old adjtime. * sysdeps/alpha/dl-machine.h (RTLD_START): Rewrite for new init
* Update.Ulrich Drepper2000-04-156-267/+166
| | | | | * sysdeps/alpha/dl-machine.h (RTLD_START):Rewrite for new init function interface. Patch by Richard Henderson <rth@cygnus.com>.
* Update.Ulrich Drepper2000-04-155-5/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2000-04-151-0/+5
| | | | | | | 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.
* Add _POSIX_SPAWN.Ulrich Drepper2000-04-152-0/+6
|
* 2000-04-14 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-04-142-0/+4
| | | | | | | | | | | | * 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-14 Andreas Jaeger <aj@suse.de>Andreas Jaeger2000-04-142-1/+5
| | | | | | | | | | | | | | | | | | * 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-132-1/+6
| | | | | | | 2000-04-13 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/getcpuclockid.c (pthread_getcpuclockid): Fix typo.
* Update.Ulrich Drepper2000-04-137-9/+88
| | | | | | | 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-133-0/+152
| | | | | | | | | | | | | | | | | | * 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-122-1/+9
| | | | | * sysdeps/unix/sysv/linux/bits/posix_opt.h: Add _POSIX_SHARED_MEMORY_OBJECTS.
* 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.
* * 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-101-0/+6
| | | | | | | * 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.
* (sigaction): Fix return value for the case SIG is one of the signals the ↵Ulrich Drepper2000-04-101-1/+4
| | | | implementation uses.
* Update.Ulrich Drepper2000-04-041-0/+7
| | | | | | 2000-04-03 Andreas Jaeger <aj@suse.de> * include/arpa/inet.h (__inet_aton): Add protoype.
* Update.Ulrich Drepper2000-04-044-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | 2000-04-01 Andreas Jaeger <aj@suse.de> * sysdeps/mach/hurd/mips/init-first.c: Use SHARED instead of PIC. * sysdeps/unix/mips/sysdep.h: Use __PIC__ instead of PIC. * sysdeps/mach/mips/thread_state.h: Likewise. * sysdeps/generic/fclrexcpt.c: Use shlib-compat macros. * sysdeps/generic/fegetenv.c: Likewise. * sysdeps/generic/fesetenv.c: Likewise. * sysdeps/generic/feupdateenv.c: Likewise. * sysdeps/generic/fraiseexcpt.c: Likewise. * sysdeps/generic/fsetexcptflg.c: Likewise. * sysdeps/unix/sysv/linux/alpha/glob.c: Likewise. * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. * sysdeps/unix/sysv/linux/errlist.c: Likewise. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. 2000-04-02 H.J. Lu <hjl@gnu.org> * elf/ldconfig.h (FLAG_IA64_LIB64): New. Defined.
* Update.Ulrich Drepper2000-03-313-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-03-29 Jes Sorensen <jes@pcatls01.cern.ch> * malloc/malloc.c: Declare bit flags UL so that they will not default to int size when being inverted. 2000-03-29 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/arm/errlist.c: Use shlib-compat macros. * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. 2000-03-29 Andreas Jaeger <aj@suse.de>, Ralf Baechle <ralf@uni-koblenz.de> * Makeconfig: Introduce new variable SHARED to mark code used in the shared library. * elf/dl-close.c: Use it instead of PIC. * elf/dl-load.c: Likewise. * elf/dl-open.c: Likewise. * hurd/geteuids.c: Likewise. * include/libc-symbols.h: Likewise. * include/shlib-compat.h: Likewise. * libio/freopen.c: Likewise. * linuxthreads/cancel.c: Likewise. * linuxthreads/pthread.c: Likewise. * linuxthreads/wrapsyscall.c: Likewise. * nss/nsswitch.c: Likewise. * stdio-common/vfprintf.c: Likewise. * sysdeps/arm/init-first.c: Likewise. * sysdeps/i386/init-first.c: Likewise * sysdeps/generic/init-first.c: Likewise. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/mips/init-first.c: Likewise. * sysdeps/powerpc/elf/libc-start.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Likewise. * sysdeps/unix/sysv/linux/arm/siglist.c: Likewise. * sysdeps/unix/sysv/linux/arm/errlist.c: Likewise. * sysdeps/unix/sysv/linux/i386/chown.c: Likewise. * sysdeps/mips/machine-gmon.h (asm): Use __PIC__ as check.
* Update.Ulrich Drepper2000-03-274-0/+139
| | | | | | | | | | | | | | 2000-03-26 Ulrich Drepper <drepper@redhat.com> * include/features.h: Undef and document __USE_XOPEN2K. * malloc/mcheck.c: Implement pedantic checking of all allocated blocks whenever a function is called. Initiated by calling mcheck_pedantic instead of mcheck. * malloc/mcheck.h: Declare mcheck_pedantic. * malloc/Versions [libc] (GLIBC_2.2): Add mcheck_pedantic. * locale/programs/localdef.c: Use mcheck_pedantic instead of mcheck for now.
* * semaphore.c (sem_timedwait): New function.Ulrich Drepper2000-03-271-0/+6
| | | | | Patch by Carl Mailloux <carlm@oricom.ca>. * semaphore.h: Declare sem_timedwait.
* * sysdeps/mach/sys/reboot.h: Include <features.h>.Roland McGrath2000-03-271-0/+4
| | | | (reboot): Declare it.
* * libio/Makefile (headers): Add bits/stdio-lock.h here.Roland McGrath2000-03-271-3/+0
| | | | * sysdeps/mach/hurd/bits/stdio-lock.h: New file.
* Update.Ulrich Drepper2000-03-234-0/+18
| | | | | | | | | | | 2000-03-23 Ulrich Drepper <drepper@redhat.com> * resolv/netdb.h (SCOPE_DELIMITER): New definitions. * inet/netinet/in.h (struct sockaddr_in6): Add sin6_scope_id according to RFC 2553. * sysdeps/posix/getaddrinfo.c: Change to follow latest RFC draft. * inet/getnameinfo.c: Likewise. Patches by YOSHIFUJI Hideaki <yoshfuji@v6.linux.or.jp>.
* Update.Ulrich Drepper2000-03-232-2/+9
| | | | | | | 2000-03-23 Bruno Haible <haible@clisp.cons.org> * iconv/gconv_simple.c (internal_ucs4_loop, internal_ucs4le_loop): Remove no-op pointer increment.
* Update.Ulrich Drepper2000-03-226-39/+35
| | | | * sysdeps/unix/sysv/linux/errlist.c: Likewise.
* Update.Ulrich Drepper2000-03-221-0/+2
| | | | | | | | 2000-03-21 Ulrich Drepper <drepper@redhat.com> * libio/oldtmpfile.c: Update for new SHLIB_COMPAT definition. * libio/oldiofopen.c: Likewise. * libio/oldiofclose.c: Likewise.
* Update.Ulrich Drepper2000-03-222-0/+4
| | | | | * nscd/connections.c (nscd_run): Pretty print. * elf/dl-runtime.c: Include stdlib.h for alloca prototype.
* Update.Ulrich Drepper2000-03-211-0/+2
| | | | Patch by Roland McGrath <roland@frob.com>.
* Update.Ulrich Drepper2000-03-211-0/+1
| | | | Patch by Roland MyGrath <roland@from.com>.
* Update.Ulrich Drepper2000-03-212-4/+9
| | | | | | | * libio/fileops.c: Use new macros from shlib-compat.h to define versions. * libio/iofclose.c: Likewise. * libio/oldiofclose.c: Likewise.
* Update.Ulrich Drepper2000-03-211-2/+2
| | | | | | | 2000-03-21 Ulrich Drepper <drepper@redhat.com> * include/shlib-compat.h (versioned_symbol): Give preprocessor the chance to expand VERSION_##lib##_##version.
* Update.Ulrich Drepper2000-03-202-1/+15
| | | | * include/stdlib.h: Add prototype for __cxa_atexit.