aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-06Update.Ulrich Drepper3-35/+40
2003-04-06 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move cancelhandling member to the front.
2003-04-05Update.Ulrich Drepper2-4/+9
* sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999].
2003-04-05Update.Ulrich Drepper2-3/+11
2003-04-05 Ulrich Drepper <drepper@redhat.com> * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Always initialize *signgamp before returning an error.
2003-04-05Update.Ulrich Drepper3-35/+31
2003-04-05 Roland McGrath <roland@redhat.com> * sysdeps/unix/sysv/linux/i386/setcontext.S: Rewrite to avoid writing below the stack pointer even if switching to the same context we are running right now. * catgets/gencat.c (read_input_file): Make sure that \n is not alone on the line before testing for continuation. * math/test-tgmath.c (compile_test): Initialize c.
2003-04-05Update.Ulrich Drepper2-3/+7
2003-04-05 Ulrich Drepper <drepper@redhat.com> * math/test-tgmath.c (F): Initialize c. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
2003-04-05Update.Ulrich Drepper1-0/+3
* libio/fileops.c (_IO_new_file_fopen): Don't free step data right after getting them.
2003-04-05(_IO_new_file_fopen): Don't free step data right after getting them.Ulrich Drepper1-4/+0
2003-04-05* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. * ↵Alexandre Oliva6-6/+150
sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New. * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available on mips n32. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data structure on n32 as well. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant data types on n32 and n64. 2003-04-05 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. * sysdeps/unix/sysv/linux/mips/mips64/n32/truncate64.c: New. * sysdeps/unix/sysv/linux/kernel-features.h: fcntl64 is available on mips n32. * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why XSTAT_IS_XSTAT64 must not be used for mips n64. Use 64-bit data structure on n32 as well. * sysdeps/unix/sysv/linux/mips/bits/stat.h: Use POSIX-compliant data types on n32 and n64.
2003-04-05Update.Ulrich Drepper5-12/+85
2003-04-05 Ulrich Drepper <drepper@redhat.com> * malloc/thread-m.h [PTHREAD_MUTEX_INITIALIZER]: If HAVE_register_atfork_malloc is defined use __register_atfork_malloc instead of __register_atfork.
2003-04-05Update.Ulrich Drepper10-56/+188
2003-04-04 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/createthread.c (create_thread): Add some more comments explaining when to set multiple_threads and when not. * pthreadP.h: Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already defined. * sysdeps/i386/tls.h: Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET: * sysdeps/x86_64/tls.h: Likewise. * cleanup_defer.c (_pthread_cleanup_push_defer): Rewrite to use THREAD_ATOMIC_CMPXCHG_VAL. (_pthread_cleanup_pop_restore): Likewise. * cancellation.c (__pthread_enable_asynccancel): Likewise. (__pthread_enable_asynccancel_2): Likewise. (__pthread_disable_asynccancel): Likewise. * libc-cancellation.c (__libc_enable_asynccancel): Likewise. (__libc_disable_asynccancel): Likewise. * init.c (sigcancel_handler): Likewise. * pthread_setcancelstate.c (__pthread_setcancelstate): Likewise. * pthread_setcanceltype.c (__pthread_setcanceltype): Likewise.
2003-04-05Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already ↵Ulrich Drepper1-1/+13
defined.
2003-04-05* stdio-common/reg-printf.c (__register_printf_function): CallocRoland McGrath2-2/+8
instead of malloc __printf_arginfo_table and __printf_function_table. Reported by John Reiser <jreiser@BitWagon.com>.
2003-04-04* sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations.Roland McGrath3-46/+74
* sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations. * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before defining.
2003-04-042003-04-04 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath1-1/+2
* sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before defining.
2003-04-04Update.Ulrich Drepper6-4/+137
2003-04-03 Ulrich Drepper <drepper@redhat.com> * init.c (sigcancel_handler): Don't set EXITING_BIT here. * libc-cancellation.c (__libc_enable_asynccancel): Likewise. * pthreadP.h (__do_cancel): Set EXITING_BIT here. * Makefile (tests): Add tst-cancel11. * tst-cancel11.c: New file.
2003-04-04(sigcancel_handler): Don't set EXITING_BIT here.Ulrich Drepper1-8/+2
2003-04-04* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust for n64 abi.Alexandre Oliva2-4/+16
2003-04-04 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust for n64 abi.
2003-04-04* configure.in: Fix up use of compilation flags to match the build:Roland McGrath1-0/+9
For .s files, $ASFLAGS; For .S files, $CPPFLAGS $ASFLAGS; For .c files, $CFLAGS $CPPFLAGS; when linking, add $LDFLAGS. * configure: Regenerated.
2003-04-042003-04-03 Roland McGrath <roland@redhat.com>Roland McGrath2-72/+88
* configure.in: Fix up use of compilation flags to match the build: For .s files, $ASFLAGS; For .S files, $CPPFLAGS $ASFLAGS; For .c files, $CFLAGS $CPPFLAGS; when linking, add $LDFLAGS. * configure: Regenerated.
2003-04-03Update.Ulrich Drepper3-1/+11
2003-04-03 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Reverse test for atomic_compare_and_exchange_bool_acq failure.
2003-04-03Update.Ulrich Drepper3-1/+10
2003-04-03 Jakub Jelinek <jakub@redhat.com> * pthread.c (pthread_initialize): Unblock __pthread_sig_cancel in case the parent blocked it.
2003-04-03Update.Ulrich Drepper2-31/+15
2003-04-03 Ulrich Drepper <drepper@redhat.com> * posix/unistd.h: Define _POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND, _POSIX2_C_DEV, _POSIX2_SW_DEV, and _POSXI2_LOCALEDEF to 200112L. Remove _POSIX2_C_VERSION. Remove declaration of pthread_atfork.
2003-04-03Update.Ulrich Drepper2-32/+312
* locale/iso-639.def: Add many more languages from the current ISO 639.
2003-04-02Update.Ulrich Drepper8-4/+96
2003-04-02 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ipc_priv.h: Define IPCOP_semtimedop. * sysdeps/generic/semtimedop.c: New file. * sysdeps/unix/sysv/linux/i386/semtimedop.S: New file. * sysdeps/unix/sysv/linux/ia64/syscalls.list: Add semtimedop. * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise. * sysvipc/Makefile (routines): Add semtimedop. * sysvipc/Versions [GLIBC_2.3.3] (glibc): Add semtimedop. * sysvipc/sys/sem.h: Declare semtimedop.
2003-04-02Generic semtimedop implementation.Ulrich Drepper1-0/+37
2003-04-02* configure.in: Check for __register_frame_info in bothRoland McGrath3-28/+23
-lgcc and -lgcc_eh. * configure: Regenerated.
2003-04-02* Makefile (libpthread-routines): Add pthread_atfork.Roland McGrath1-0/+5
(libpthread-static-only-routines): Add pthread_atfork.
2003-04-022003-04-02 Jakub Jelinek <jakub@redhat.com>Roland McGrath1-1/+2
* Makefile (libpthread-routines): Add pthread_atfork. (libpthread-static-only-routines): Add pthread_atfork.
2003-04-02Update.Ulrich Drepper2-2/+1
2003-04-02Undo last change.Ulrich Drepper1-4/+0
2003-04-02Merged in current data for powerpc-.*-linux.*/notls.Roland McGrath13-140/+140
2003-04-02Merged in current data for most platforms.Roland McGrath13-306/+454
2003-04-02Update.Ulrich Drepper1-1/+2
* Makefile (tests): Add tst-tsd3.c and tst-tsd4. * tst-tsd4.c: New file.
2003-04-02Check PTHREAD_DESTRUCTOR_ITERATIONS handling.Ulrich Drepper1-0/+103
2003-04-02* scripts/abilist.awk: Allow dots in soname suffix.Roland McGrath1-0/+6
* scripts/abilist.awk (emit): Fix bailout condition.
2003-04-02(tests): Add tst-tsd4.Ulrich Drepper1-1/+1
2003-04-022003-04-01 Roland McGrath <roland@redhat.com>Roland McGrath1-6/+4
* scripts/abilist.awk: Allow dots in soname suffix. * scripts/abilist.awk (emit): Fix bailout condition.
2003-04-02Update.Ulrich Drepper5-57/+213
2003-04-01 Ulrich Drepper <drepper@redhat.com> * pthread_create.c (deallocate_tsd): Clear/free memory after the last round, not the first. Use specific_used flag instead of local found_nonzero variable. Use THREAD_[SG]ETMEM where possible. (__free_tcb): Don't call deallocate_tsd here. (start_thread): Call deallocate_tsd here. * pthread_setspecific.c: Set specific_used flag really only when needed. * Makefile (tests): Add tst-tsd3.c * tst-tsd3.c: New file.
2003-04-02(do_test): Make static.Ulrich Drepper1-1/+1
2003-04-02* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use theRoland McGrath12-4/+256
IA-64 version.
2003-04-022003-04-01 Jakub Jelinek <jakub@redhat.com>Roland McGrath1-41/+1
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c: Use the IA-64 version.
2003-04-01Update.Ulrich Drepper2-5/+12
* elf/tls-macros.h [__ia64__] (TLS_IE, TLS_LD, TLS_GD): Add gp register as input to asm. 2003-04-01 Jakub Jelinek <jakub@redhat.com>
2003-04-01Update.Ulrich Drepper1-0/+4
2003-04-01 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (sigevent_t): Fix a typo.
2003-04-01sigevent_t): Fix a typo.Ulrich Drepper1-1/+1
2003-04-01* configure.in: Output as/ld as name if version is too old.Andreas Jaeger3-4/+8
2003-04-01 Andreas Jaeger <aj@suse.de> * configure.in: Output as/ld as name if version is too old.
2003-04-01* configure.in: Don't require an installed C library in the testRoland McGrath3-6/+19
for ".set" assembler support. * configure: Regenerated. 2003-03-31 Roland McGrath <roland@redhat.com> * signal/tst-sigset.c: New file. * signal/Makefile (tests): Add it.
2003-04-012003-03-31 Roland McGrath <roland@redhat.com>Roland McGrath2-2/+46
* signal/tst-sigset.c: New file. * signal/Makefile (tests): Add it.
2003-04-01Update.Ulrich Drepper7-17/+47
2003-03-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/alpha/bits/signum.h (_NSIG): Define to 65. * sysdeps/unix/sysv/linux/hppa/bits/signum.h (_NSIG): Likewise. * sysdeps/unix/sysv/linux/sparc/bits/signum.h (_NSIG): Likewise. * sysdeps/unix/sysv/linux/bits/signum.h (_NSIG): Likewise. (__SIGRTMAX): Adjust accordingly. * sysdeps/gnu/siglist.c: If OLD2_SIGLIST_SIZE is defined define second compatibility symbol set. * sysdeps/unix/sysv/linux/siglist.h (OLD2_SIGLIST_SIZE): Define. * intl/po2test.sed: Unify the transformations for msgid and msgstr and remove a useless s/// command.
2003-04-01Update.Ulrich Drepper9-9/+123
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_mutex_lock): Use atomic_exchange_and_add instead of __lll_add. (__lll_mutex_timedlock): Likewise. Patch by Ian Wienand. 2003-03-24 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h (SINGLE_THREAD_P): Fix typo. * tst-cancel-wrappers.sh: Handle '.'ed symbols. 2003-03-31 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-align. * tst-align.c: New file. * sysdeps/i386/Makefile: Define CFLAGS-tst-align. * sysdeps/x86_64/Makefile: Likewise. * tst-tsd2.c: Add casts to avoid warnings.
2003-04-01Update.Ulrich Drepper1-0/+5
2003-03-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/tls.h (CALL_THREAD_FCT): Align stack of called function correctly.