aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2003-04-04Update.Ulrich Drepper
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 Drepper
2003-04-04* sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust for n64 abi.Alexandre Oliva
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 McGrath
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 McGrath
* 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 Drepper
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 Drepper
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 Drepper
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 Drepper
* locale/iso-639.def: Add many more languages from the current ISO 639.
2003-04-02Update.Ulrich Drepper
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.