aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-04-12Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2003-04-12Update.Ulrich Drepper
2003-04-11 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/libc-start.c: Cleanup MAIN_AUXVEC_ARG handling. Remove HAVE_CANCELBUF code. Replace with code using the new initializers for unwind-based cleanup handling. * sysdeps/generic/unwind.h: Update from latest gcc version. * sysdeps/unix/sysv/linux/i386/sysdep.h: Define labels in a few places to allow unwind data generation. * sysdeps/i386/bits/setjmp.h: Allow file to be included multiple times. * sysdeps/x86_64/bits/setjmp.h: Likewise. * sysdeps/sh/bits/setjmp.h: Likewise. * sysdeps/powerpc/bits/setjmp.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. * sysdeps/alpha/bits/setjmp.h: Likewise.
2003-04-12(deallocate_tsd): Don't take parameter. Adjust caller. Optimize to avoid ↵Ulrich Drepper
often unecessary local variable. (start_thread): Initialize cleanup_jmp_buf element if own thread descriptor.
2003-04-12* csu/tst-empty.c: New file.Roland McGrath
* csu/Makefile (tests, tests-static): Add it.
2003-04-122003-04-11 Roland McGrath <roland@redhat.com>Roland McGrath
* csu/tst-empty.c: New file. * csu/Makefile (tests, tests-static): Add it.
2003-04-12Declare __pthread_unwind. Define __do_cancel to use it. Declare old ↵Ulrich Drepper
cleanup handler installation functions.
2003-04-12Test cleanup handler calls in initial thread.Ulrich Drepper
2003-04-122003-04-11 Roland McGrath <roland@redhat.com>Roland McGrath
* Makefile ($(objpfx)multidir.mk): New target, generated makefile that sets variable `multidir'; include that. (generated): Add it. ($(objpfx)$(multidir)/crti.o): New target. [$(multidir) != .] (generated-dirs, extra-objs, omit-deps): Add it.
2003-04-112003-04-11 Roland McGrath <roland@redhat.com>Roland McGrath
* Makefile (multidir): Don't set the variable here with $(shell ...). ($(objpfx)multidir.mk): New target, generated makefile; include that. (generated): Append it. 2003-04-10 Jakub Jelinek <jakub@redhat.com> * Makefile (multidir, crti-objs, crtn-objs): New variables. (generated-dirs): Add pathname component of multidir. (omit-deps, extra-objs): Include $(multidir)/crt? as well. ($(objpfx)libpthread.so): Depend on $(multidir)/crt?.o as well. ($(objpfx)$(multidir), $(objpfx)$(multidir)/crti.o, $(objpfx)$(multidir)/crtn.o): New. * sysdeps/unix/sysv/linux/sparc/Makefile: Removed. * sysdeps/unix/sysv/linux/x86_64/Makefile (LDFLAGS-pthread.so, before-compile, generated): Don't generate and use specs. ($(objpfx)specs): Remove.
2003-04-11Update.Ulrich Drepper
2003-04-11 Ulrich Drepper <drepper@redhat.com> * tst-attr2.c (do_test): Add cast to avoid warning. * tst-mutex4.c (do_test): Likewise.
2003-04-11(do_test): Add cast to avoid warning.Ulrich Drepper
2003-04-11* string/test-strcmp.c (do_random_tests): Test whether return valueRoland McGrath
has been promoted to wordsize if the ABI requires caller to do so. * string/test-strncmp.c (do_random_tests): Likewise. * string/test-memcmp.c (do_random_tests): Likewise. * sysdeps/powerpc/powerpc64/strcmp.S (strcmp): Sign extend rRTN before returning.
2003-04-11* sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.cRoland McGrath
(__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL is not defined, but the prctl constants are.
2003-04-11* string/tester.c (test_strcmp): Fix a typo.Roland McGrath
2003-04-112003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>Roland McGrath
* sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.
2003-04-10Update.Ulrich Drepper
2003-04-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset CPU clocks in child.
2003-04-09Update.Ulrich Drepper
2003-04-09 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-detach1. * tst-detach1.c: New file.
2003-04-09Update.Ulrich Drepper
2003-04-09 Ulrich Drepper <drepper@redhat.com> * sysdeps/alpha/fpu/bits/mathdef.h: Remove FLT_EVAL_METHOD definition. * sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
2003-04-09Remove FLT_EVAL_METHOD definition.Ulrich Drepper
2003-04-09* sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on NewABI. ↵Alexandre Oliva
(ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on NewABI. * sysdeps/mips/mips64/memcpy.S: Adjust register naming conventions. * sysdeps/mips/mips64/memset.S: Likewise. * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]: Use t0 instead of t4 as temporary. 2003-04-08 Alexandre Oliva <aoliva@redhat.com> * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on NewABI. (ta0, ta1, ta2, ta3): Defined to t4..t7 on o32, and a4..a7 on NewABI. * sysdeps/mips/mips64/memcpy.S: Adjust register naming conventions. * sysdeps/mips/mips64/memset.S: Likewise. * sysdeps/unix/mips/sysdep.S (__syscall_error) [_LIBC_REENTRANT]: Use t0 instead of t4 as temporary.
2003-04-08Update.Ulrich Drepper
* sysdeps/pthread/pthread.h: Remove duplicate pthread_cleanup_{push,pop} definitions.
2003-04-08Update.Ulrich Drepper
2003-04-08 Ulrich Drepper <drepper@redhat.com> * tst-barrier2.c: Eliminate warnings. * tst-cancel4.c: Likewise. * tst-cond4.c: Likewise. * tst-cond6.c: Likewise. * tst-detach1.c: Likewise. * tst-rwlock4.c: Likewise. * tst-rwlock6.c: Likewise. * tst-rwlock7.c: Likewise. * tst-sem3.c: Likewise. * tst-spin2.c: Likewise. * tst-umask1.c: Likewise.
2003-04-08Update.Ulrich Drepper
2003-04-07 Ulrich Drepper <drepper@redhat.com> * elf/ldconfig.c (parse_conf): Ignore leading whitespace. Use feof_unlocked instead of feof. (add_dir): Ignore trailing whitespace.
2003-04-08(parse_conf): Ignore leading whitespace. Use feof_unlocked instead of feof. ↵Ulrich Drepper
(add_dir): Ignire trailing whitespace.
2003-04-08* posix/bug-regex4.c (main): Cap RANGE and STOP arguments toRoland McGrath
sum of SIZE1 and SIZE2 arguments.
2003-04-082003-04-07 Jakub Jelinek <jakub@redhat.com>Roland McGrath
* posix/bug-regex4.c (main): Cap RANGE and STOP arguments to sum of SIZE1 and SIZE2 arguments.
2003-04-07Whitespace fix.Jakub Jelinek
2003-04-07Test for pthread_detach of terminated thread.Ulrich Drepper
2003-04-07Update.Ulrich Drepper
2003-04-07 Ulrich Drepper <drepper@redhat.com> * pthread_detach.c (pthread_detach): Fix test for invalid TID.
2003-04-06Update.Ulrich Drepper
2003-04-06 Ulrich Drepper <drepper@redhat.com> * iconv/iconv_prog.c (process_block): Don't print message about invalid input if the -c option is used. (main): Correctly append IGNORE string for -c option. arguments.
2003-04-06RegeneratedUlrich Drepper
2003-04-06* sysdeps/sh/bits/atomic.h: Moved to ...Roland McGrath
* sysdeps/unix/sysv/linux/sh/bits/atomic.h: ... here. Add comments. (__arch_compare_and_exchange_val_*_acq): Add parens around macro arguments. (atomic_bit_set, atomic_bit_test_set): Likewise. (atomic_exchange_and_add): Likewise. Don't evaluate VALUE argument twice. (atomic_add, atomic_add_negative, atomic_add_zero): Likewise.
2003-04-06* sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite registerRoland McGrath
restoration as done for setcontext yesterday.
2003-04-062003-04-06 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register restoration as done for setcontext yesterday.
2003-04-06(process_block): Don't print message about invliad input if the -c option is ↵Ulrich Drepper
used.
2003-04-06Update.Ulrich Drepper
2003-04-06 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c: Revert 2003-03-14 change. * elf/dl-conflict.c (_dl_resolve_conflicts): Move #if ! ELF_MACHINE_NO_RELA conditional into the routine.
2003-04-06Update.Ulrich Drepper
2003-04-06 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move cancelhandling member to the front.
2003-04-05Update.Ulrich Drepper
* sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999].
2003-04-05Update.Ulrich Drepper
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 Drepper
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 Drepper
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 Drepper
* 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 Drepper
2003-04-05* sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. * ↵Alexandre Oliva
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 Drepper
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 Drepper
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 Drepper
defined.
2003-04-05* stdio-common/reg-printf.c (__register_printf_function): CallocRoland McGrath
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 McGrath
* 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 McGrath
* sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before defining.