about summary refs log tree commit diff
path: root/linuxthreads
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2001-07-262-0/+14
| | | | | | | | | 2001-07-26 kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/dl-machine.h (elf_machine_load_address): Don't use multi-line strings. (FUN_ADDR, FGR_SAVE, ELF_MACHINE_RUNTIME_TRAMPOLINE): Likewise. (elf_machine_rela): Handle unaligned relocation.
* Update.Ulrich Drepper2001-07-242-1/+9
| | | | | | | 2001-07-22 Bruno Haible <haible@clisp.cons.org> * intl/libintl.h (ngettext, dngettext, dcngettext): Use both msgid1 and msgid2 for printf format argument checking.
* Update.Ulrich Drepper2001-07-241-1/+1
| | | | | | | | | | | * iconv/gconv_cache.c (find_module): Don't allocate room for the filename. Use alloca, we don't need it beyond this function. (__gconv_release_cache): New function. * iconv/gconv_db.c (__gconv_close_transform): Call __gconv_release_cache after the steps are handled. * iconv/gconv_dl.c (__gconv_find_shlib): Allocate file name in the record as well. * iconv/gconv_int.h: Add prototype fpr __gconv_release_cache.
* Update.Ulrich Drepper2001-07-242-0/+101
| | | | | * locale/programs/locale.c (write_locales): Disable implicit locking for the stream. Use feof_unlocked instead of feof.
* Update.Ulrich Drepper2001-07-242-1/+12
| | | | | | | | | | | | | * libio/genops.c (_IO_list_all_stamp): New variable. (_IO_un_link): Bump _IO_list_all_stamp after removing from list. (_IO_link): Likewise for insertion. (flush_cleanup): New function. (_IO_flush_all): Get list_all_lock and all individual locks for the streams. Detect and handle changes to the _IO_list_all list. (_IO_flush_all_linebuffered): Likewise. * sysdeps/generic/bits/stdio-lock.h: Define _IO_cleanup_region_start_noarg. * sysdeps/mach/hurd/bits/stdio-lock.c: Likewise.
* Update.Ulrich Drepper2001-07-234-0/+25
| | | | | | | | | | | | | | | 2001-07-23 Jakub Jelinek <jakub@redhat.com> * sunrpc/svc_tcp.c (svctcp_rendezvous_abort): New. (svctcp_rendezvous_op): Use it. * sunrpc/svc_unix.c (svcunix_rendezvous_abort): New. (svcunix_rendezvous_op): Use it. 2001-07-23 Andreas Schwab <schwab@suse.de> * math/Makefile (CPPFLAGS-test-ifloat.c, CPPFLAGS-test-idouble.c, CPPFLAGS-test-ildoubl.c): Renamed from CFLAGS-*. (math-CPPFLAGS): Set this instead of CPPFLAGS.
* Update.Ulrich Drepper2001-07-224-61/+67
| | | | | | | | | | | 2001-07-19 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/useldt.h: Fix typo in ARCH_STACK_MAX_SIZE comment. * sysdeps/ia64/pt-machine.h (FLOATING_STACKS): Define. (ARCH_STACK_MAX_SIZE): Define. * manager.c (pthread_allocate_stack): Handle FLOATING_STACKS with NEED_SEPARATE_REGISTER_STACK.
* Update.Ulrich Drepper2001-07-162-3/+12
| | | | | | | | | | | | | 2001-07-13 H.J. Lu <hjl@gnu.org> * sysdeps/mips/dl-machine.h (MAP_BASE_ADDR): Removed. (elf_machine_got_rel): Defined only if RTLD_BOOTSTRAP is not defined. (RESOLVE_GOTSYM): Rewrite to use RESOLVE. * sysdeps/mips/rtld-ldscript.in: Removed. * sysdeps/mips/rtld-parms: Likewise. * sysdeps/mips/mips64/rtld-parms: Likewise. * sysdeps/mips/mipsel/rtld-parms: Likewise.
* Update.Ulrich Drepper2001-07-162-34/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-15 Ulrich Drepper <drepper@redhat.com> * malloc/obstack.c: Define __attribute__ for non-gcc compilers. Patch by Jim Meyering <jim@meyering.net>. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-64/bits/sigaction.h: Reorder fields in the sigaction struct to match the definition in the kernel. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Correct the test for ENOSYS. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/bits/setjmp.h: Add leading underscores to the entries in the __jmp_buf structure. * sysdeps/s390/s390-64/bits/setjmp.h: Likewise. 2001-07-12 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/bcopy.S: Use mvcle for big blocks (> 64K) and a mvc loop for small blocks. * sysdeps/s390/s390-32/memcpy.S: Likewise. * sysdeps/s390/s390-64/bcopy.S: Likewise. * sysdeps/s390/s390-64/memcpy.S: Likewise.
* Update to LGPL v2.1.Andreas Jaeger2001-07-061-8/+8
| | | | | | | | | | | | | | 2001-07-06 Paul Eggert <eggert@twinsun.com> * manual/argp.texi: Remove ignored LGPL copyright notice; it's not appropriate for documentation anyway. * manual/libc-texinfo.sh: "Library General Public License" -> "Lesser General Public License". 2001-07-06 Andreas Jaeger <aj@suse.de> * All files under GPL/LGPL version 2: Place under LGPL version 2.1.
* Update.Ulrich Drepper2001-06-177-5/+11
| | | | | | | | | | | | 2001-06-16 H.J. Lu <hjl@gnu.org> * internals.h: Include <stackinfo.h>. * attr.c: Don't include <stackinfo.h> here. * cancel.c: Likewise. * manager.c: Likewise. * pthread.c: Likewise. * ptlongjmp.c: Likewise.
* Update.Ulrich Drepper2001-06-161-0/+7
| | | | | | | | | | | | | | | 2001-06-07 Mark Kettenis <kettenis@gnu.org> * grp/initgroups.c (initgroups): Factor out re-usable code into... (internal_getgrouplist): ... new function. (getgrouplist): New function. * grp/grp.h (getgrouplist): New prototype. * grp/Versions [2.2.4]: Add getgrouplist. 2001-06-16 Ulrich Drepper <drepper@redhat.com> * inet/netinet/ip6.h: Fix comments in ip6_hdr. Patch by Pekka Savola <pekkas@netcore.fi>.
* Make _STACK_GROWS_UP work.Ulrich Drepper2001-06-164-1/+79
|
* Update.Ulrich Drepper2001-06-161-0/+4
| | | | | | 2001-06-15 H.J. Lu <hjl@gnu.org> * pthread.c (__pthread_reset_main_thread): Fix a typo.
* (__pthread_reset_main_thread): Fix a typo.Ulrich Drepper2001-06-161-1/+1
|
* * semaphore.h: Use struct _pthread_fastlock as an element ofUlrich Drepper2001-06-134-27/+30
| | | | | | sem_t instead of an identical struct. * rwlock.c: Remove casts. * semaphore.c: Likewise.
* New HPPA Linux version of pt-initfini.Andreas Jaeger2001-06-072-0/+114
| | | | | | 2001-04-30 Alan Modra <amodra@one.net.au> * sysdeps/unix/sysv/linux/hppa/pt-initfini.c: New.
* Update.Ulrich Drepper2001-05-272-6/+10
| | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-25 Bruce Mitchener <bruce@cubik.org> * manual/ctype.texi: Minor fix. * manual/install.texi: Likewise. * manual/startup.texi: Likewise. * manual/examples/dir.c: Use perror() rather than puts(). 2001-05-25 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Put stuff following #endif directive inside a comment to avoid compiler warnings. 2001-05-25 Philipp Thomas <pthomas@suse.de> * nis/nis_print.c (nis_nstype2str): Don't mark names of naming services for translation, only UNKNOWN needs it. Add comment to prevent it for the future. 2001-05-25 Joseph S. Myers <jsm28@cam.ac.uk> * misc/sys/cdefs.h (__restrict_arr): Define appropriately for GCC 3.1 and non-GCC C99 compilers.
* Update.Ulrich Drepper2001-05-252-1/+8
| | | | | | | | 2001-05-25 Ulrich Drepper <drepper@redhat.com> * oldsemaphore.c (__old_sem_wait): Clear p_nextwaiting before returning successfully. Patch by Gene Cooperman <gene@ccs.neu.edu>.
* Update.Ulrich Drepper2001-05-243-16/+22
| | | | | | | | | | | | 2001-05-24 Ulrich Drepper <drepper@redhat.com> * spinlock.c (__pthread_lock) [HAS_COMPARE_AND_SWAP]: Before doing any serious work try once whether the lock is uncontested. Remove duplicate reading of __status before loop. Change suggested by Hans Boehm <hans_boehm@hp.com>. * spinlock.h (__pthread_trylock): Remove need for oldstatus variable. (__pthread_alt_trylock): Likewise.
* Update.Ulrich Drepper2001-05-244-35/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-01 Kaz Kylheku <kaz@ashi.footprints.net> Memory barrier overhaul following line by line inspection. * mutex.c (pthread_once): Missing memory barriers added. * pthread.c (__pthread_wait_for_restart_signal, __pthread_timedsuspend_new, __pthread_restart_new): Added memory barriers ``just in case'' and for documentary value. * spinlock.c (__pthread_release): New inline function for releasing spinlock, to complement __pthread_acquire. Includes memory barrier prior to assignment to spinlock, and __asm __volatile dance to prevent reordering or optimization of the spinlock access. * spinlock.c (__pthread_unlock, __pthread_alt_lock, __pthread_alt_timedlock, __pthread_alt_unlock, __pthread_compare_and_swap): Updated to use new __pthread_release instead of updating spinlock directly. * spinlock.c (__pthread_lock, __pthread_unlock, wait_node_alloc, wait_node_free, wait_node_dequeue, __pthread_alt_lock, __pthread_alt_timedlock, __pthread_alt_unlock, __pthread_acquire): Memory barrier overhaul. Lots of missing memory barriers added, a couple needless ones removed. * spinlock.c (__pthread_compare_and_swap): testandset optimization removed, just calls __pthread_acquire, which has the new read barrier in it before its testandset.
* * Makeconfig (sysdep-makeconfigs): Include any Makeconfig filesRoland McGrath2001-05-211-1/+5
| | | | | | found within $(add-ons) directories too. [linuxthreads add-on]: Move variable settings for linuxthreads to new file linuxthreads/Makeconfig.
* 2001-05-20 Roland McGrath <roland@frob.com>Roland McGrath2001-05-211-0/+10
| | | | * Makeconfig: New file, variables used to be in main libc Makeconfig.
* * sysdeps/powerpc/pt-machine.h Geoff Keating2001-05-172-9/+34
| | | | | | | | | | | | (HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS): Define. (__compare_and_swap): Remove memory barriers. (__compare_and_swap_with_release_semantics): New function. 2001-05-09 Geoff Keating <geoffk@redhat.com> * sysdeps/powerpc/pt-machine.h (HAS_COMPARE_AND_SWAP_WITH_RELEASE_SEMANTICS): Define. (__compare_and_swap): Remove memory barriers. (__compare_and_swap_with_release_semantics): New function.
* Fix typos in last patch.Ulrich Drepper2001-04-241-2/+2
|
* send returns ssize_t.Andreas Jaeger2001-04-241-12/+12
|
* Update.Andreas Jaeger2001-04-242-2/+10
| | | | | | | | | | | | | | | | | | | | 2001-04-24 Andreas Jaeger <aj@suse.de> * sysdeps/generic/send.c (__send): Return ssize_t. * sysdeps/mach/hurd/send.c (__send): Likewise. * sysdeps/mach/hurd/recv.c (recv): Likewise. * sysdeps/mach/hurd/sendto.c (sendto): Likewise. * sysdeps/generic/sendto.c (sendto): Likewise. * sysdeps/generic/recvmsg.c (recvmsg): Likewise. * sysdeps/mach/hurd/recvfrom.c (recvfrom): Likewise. * sysdeps/generic/recvfrom.c (recvfrom): Likewise. * sysdeps/generic/sendmsg.c (sendmsg): Likewise. * socket/sys/socket.h: send* and recv* return ssize_t. * include/sys/socket.h: send returns ssize_t. * sysdeps/i386/fpu_control.h: Fix comments.
* Update.Ulrich Drepper2001-04-241-0/+4
| | | | * sysdeps/generic/get_clockfreq.c (__get_clockfreq): Likewise.
* Update.Ulrich Drepper2001-04-244-39/+21
| | | | | | | | | | | | | | | | * sysdeps/ia64/Makefile [subdir=csu] (sysdep_routines): Add hp-timing. * sysdeps/ia64/Versions: Add _dl_cpuclock_offset for ld in 2.2.3. * sysdeps/ia64/hp-timing.c: New file. * sysdeps/ia64/hp-timing.h: New file. * sysdeps/unix/sysv/linux/ia64/bits/time.h: Add definitions for CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. * sysdeps/generic/clock_getcpuclockid.c: Make function generic, test using #ifdef whether the clock is available. * sysdeps/unix/i386/clock_getcpuclockid.c: Not needed anymore. * sysdeps/generic/dl-sysdep.c: Initialize _dl_cpuclock_offset to move it into data section.
* Update.Ulrich Drepper2001-04-243-27/+3
| | | | | | * sysdeps/unix/sysv/linux/ia64/pt-initfini.c (_init): We don't have to call __gmon_start__ in the libpthread DSO. * sysdeps/pthread/pt-initfini.c (_init): Likewise.
* Update.Ulrich Drepper2001-04-241-0/+3
| | | | | * sysdeps/pthread/pt-initfini.c (_init): We don't have to call __gmon_start__ in the libpthread DSO.
* Update.Ulrich Drepper2001-04-232-2/+4
| | | | | * internals.h: Fix parameter type for __pthread_clock_gettime and __pthread_clock_settime.
* Update.Ulrich Drepper2001-04-238-22/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/i386/i586/clock_getres.c: Removed. * sysdeps/unix/i386/i586/clock_gettime.c: Removed. * sysdeps/unix/i386/i586/clock_nanosleep.c: Removed. * sysdeps/unix/i386/i586/clock_settime.c: Removed. * sysdeps/unix/i386/i586/cpuclock-init.h: Removed. * sysdeps/generic/cpuclock-init.h: Removed. * sysdeps/unix/i386/i686/Implies: Removed. * sysdeps/unix/i386/i686/tempname.c: Removed. * sysdeps/i386/i686/Versions: New file. * sysdeps/unix/i386/i586/Versions: Removed. * sysdeps/posix/clock_getres.c: If HP_TIMING_AVAIL is nonzero handle CLOCK_PROCESS_CPUTIME_ID and CLOCK_THREAD_CPUTIME_ID. * sysdeps/unix/clock_gettime.c: Likewise. * sysdeps/unix/clock_nanosleep.c: Likewise. * sysdeps/unix/clock_settime.c: Likewise. * sysdeps/posix/tempname.c: Is HP_TIMING_AVAIL is nonzero define RANDOM_BITS use CPU clock. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/bits/time.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9b/bits/time.h: New file. * sysdeps/unix/sysv/linux/sparc/sparc64/bits/time.h: New file. * sysdeps/sparc/Versions: New file. * elf/dl-support.c: Don't use cpuclock-init.h definitions, use hp-timing.h definitions. * sysdeps/generic/dl-sysdep.c: Likewise. * include/libc-internal.h: Include hp-timing.h. Use hp_timing_t in __get_clockfreq prototype. * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq): Use hp_timing_t type. * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: New file.
* Update.Ulrich Drepper2001-04-223-3/+10
| | | | | | | | | | | | | | | | | | 2001-04-22 Ulrich Drepper <drepper@redhat.com> * posix/getconf.c: Fix names of XBS5 LFS test variables. Add missing configuration variables from XPG6. * posix/tst-getconf.c: New file. * posix/Makefile (generated): Add tst-getconf.out. (tests): Add ($objpfx)tst-getconf.out. Add rule to run tst-getconf.sh. * sysdeps/generic/bits/confname.h: Add missing _PC_ and _SC_ values from XPG6. * sysdeps/posix/fpathconf.c: Add handling of _PC_ALLOC_SIZE_MIN and _PC_SYMLINK_MAX. * sysdeps/posix/pathconf.c: Likewise. * sysdeps/posix/sysconf.c: Correct spelling of _SC_MULTI_PROCESS and _SC_SYMLOOP_MAX.
* (thread_func): Fix comment as suggested by Jakub Jelinek.Andreas Jaeger2001-04-212-2/+3
| | | | (thread_func): Fix comment as suggested by Jakub Jelinek.
* (thread_func): Remove mutex_unlock call since it's never executed.Andreas Jaeger2001-04-212-4/+2
| | | | (thread_func): Remove mutex_unlock call since it's never executed.
* * sysdeps/pthread/timer_routines.c (thread_func): Add Andreas Jaeger2001-04-212-2/+8
| | | | | | 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.
* Update.Andreas Jaeger2001-04-213-8/+22
| | | | | | | | | * manager.c (__pthread_manager): Add noreturn attribute. (pthread_start_thread): Likewise, remove return statement. (pthread_start_thread_event): Likewise. Add noreturn attribute for pthread_handle_exit. * weaks.c: Add noreturn attribute for pthread_exit.
* Add __pthread_clock_gettime and __pthread_clock_settime prototypes.Andreas Jaeger2001-04-212-0/+8
| | | | | | | 2001-04-21 Andreas Jaeger <aj@suse.de> * internals.h: Add __pthread_clock_gettime and __pthread_clock_settime prototypes.
* Update.Ulrich Drepper2001-04-2110-19/+170
| | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2001-04-191-0/+5
| | | | | | | | | | | | | | | | | | | | | 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.
* Put specs into $generated, not $postclean-generated.Ulrich Drepper2001-04-191-1/+1
|
* (otherlibs): Added.Andreas Jaeger2001-04-182-0/+9
| | | | | | 2001-04-18 Andreas Jaeger <aj@suse.de> * Makefile (otherlibs): Added.
* Update.Ulrich Drepper2001-04-182-0/+13
| | | | | | 2001-04-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/fpu/libm-test-ulps: Adjust error values for atan2f.
* Update.Ulrich Drepper2001-04-172-2/+8
| | | | | | | | | | | 2001-04-16 Stephen L Moshier <moshier@mediaone.net> * sysdeps/ieee754/flt-32/e_asinf.c (pio2_hi, pio2_lo, pio4_hi): Correct the values. (pSx, qSx): Replace by shorter approximation. Use f suffix on float constants. * sysdeps/ieee754/ldbl-128/k_tanl.c: New file. Contributed by Stephen L Moshier <moshier@mediaone.net>.
* Update.Ulrich Drepper2001-04-124-14/+47
| | | | | | | 2001-04-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_load_address): Calculate load address differently.
* Update.Ulrich Drepper2001-04-122-0/+16
| | | | | * sysdeps/i386/Makefile: Make sure gcc uses a frame pointer for all the files which use CURRENT_STACK_FRAME.
* Update.Ulrich Drepper2001-04-123-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-04-12 Bruno Haible <haible@clisp.cons.org> * iconvdata/TESTS2: New file. * iconvdata/run-iconv-test.sh: Also run tests from TESTS2. * iconvdata/testdata/alfabeta..UTF-8: New file. * iconvdata/testdata/alfabeta..UTF-16.BE: New file. * iconvdata/testdata/alfabeta..UTF-16.LE: New file. * iconvdata/testdata/alfabeta..UTF-32.BE: New file. * iconvdata/testdata/alfabeta..UTF-32.LE: New file. 2001-04-11 Bruno Haible <haible@clisp.cons.org> * iconvdata/utf-32.c: New file. * iconvdata/gconv-modules: Add entries for UTF-32, UTF-32LE, UTF-32BE. * iconvdata/Makefile (modules): Add UTF-32. (distribute): Add utf-32.c. 2001-04-11 Bruno Haible <haible@clisp.cons.org> * iconvdata/utf-16.c (PREPARE_LOOP): Initialize 'swap' after possibly changing it in the state. After incrementing 'inptr', store it back. * iconvdata/unicode.c (PREPARE_LOOP): After incrementing 'inptr', store it back. 2001-04-11 Bruno Haible <haible@clisp.cons.org> * iconvdata/utf-16.c (gconv_init): Use MAX_NEEDED_FROM, not MIN_NEEDED_FROM.
* Update.Ulrich Drepper2001-04-124-43/+47
| | | | * Makefile (tests): Comment out tst-cancel for now.
* Update.Ulrich Drepper2001-04-123-4/+46
| | | | | | | | | 2001-04-11 Ulrich Drepper <drepper@redhat.com> * tst-cancel.c (main): Cleanup 4 is supposed to run. Create temporary file in object directory. * Makefile: Don't allow inlining when compiling tst-cancel.c. Pass $(objpfx) to tst-cancel.