summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Test cleanup handler calls in initial thread.Ulrich Drepper2003-04-121-0/+65
|
* 2003-04-11 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-123-21/+21
| | | | | | | | * 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-11 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-111-4/+32
| | | | | | | | | | | | | | | | | | * 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.
* Update.Ulrich Drepper2003-04-111-0/+5
| | | | | | | 2003-04-11 Ulrich Drepper <drepper@redhat.com> * tst-attr2.c (do_test): Add cast to avoid warning. * tst-mutex4.c (do_test): Likewise.
* (do_test): Add cast to avoid warning.Ulrich Drepper2003-04-112-2/+2
|
* * string/test-strcmp.c (do_random_tests): Test whether return valueRoland McGrath2003-04-116-9/+38
| | | | | | | | | 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.
* * sysdeps/unix/sysv/linux/powerpc/powerpc64/fe_nomask.cRoland McGrath2003-04-112-2/+12
| | | | | (__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL is not defined, but the prctl constants are.
* * string/tester.c (test_strcmp): Fix a typo.Roland McGrath2003-04-112-2/+6
|
* 2003-04-11 Martin Schwidefsky <schwidefsky@de.ibm.com>Roland McGrath2003-04-111-1/+1
| | | | * sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.
* Update.Ulrich Drepper2003-04-102-2/+19
| | | | | | | 2003-04-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset CPU clocks in child.
* Update.Ulrich Drepper2003-04-092-0/+6
| | | | | | | 2003-04-09 Ulrich Drepper <drepper@redhat.com> * Makefile (tests): Add tst-detach1. * tst-detach1.c: New file.
* Update.Ulrich Drepper2003-04-091-0/+5
| | | | | | | 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.
* Remove FLT_EVAL_METHOD definition.Ulrich Drepper2003-04-092-11/+1
|
* * sysdeps/mips/sys/regdef.h (t4,t5,t6,t7): Renamed to t0..t3 on NewABI. ↵Alexandre Oliva2003-04-095-77/+101
| | | | | | | | | | | | | | | | (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.
* Update.Ulrich Drepper2003-04-082-45/+3
| | | | | * sysdeps/pthread/pthread.h: Remove duplicate pthread_cleanup_{push,pop} definitions.
* Update.Ulrich Drepper2003-04-0812-11/+26
| | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-04-081-0/+6
| | | | | | | | 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.
* (parse_conf): Ignore leading whitespace. Use feof_unlocked instead of feof. ↵Ulrich Drepper2003-04-081-8/+16
| | | | (add_dir): Ignire trailing whitespace.
* * posix/bug-regex4.c (main): Cap RANGE and STOP arguments toRoland McGrath2003-04-081-0/+5
| | | | sum of SIZE1 and SIZE2 arguments.
* 2003-04-07 Jakub Jelinek <jakub@redhat.com>Roland McGrath2003-04-081-2/+2
| | | | | * posix/bug-regex4.c (main): Cap RANGE and STOP arguments to sum of SIZE1 and SIZE2 arguments.
* Whitespace fix.Jakub Jelinek2003-04-071-1/+1
|
* Test for pthread_detach of terminated thread.Ulrich Drepper2003-04-071-0/+55
|
* Update.Ulrich Drepper2003-04-072-1/+5
| | | | | | 2003-04-07 Ulrich Drepper <drepper@redhat.com> * pthread_detach.c (pthread_detach): Fix test for invalid TID.
* Update.Ulrich Drepper2003-04-061-1/+7
| | | | | | | | | | 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.
* RegeneratedUlrich Drepper2003-04-061-536/+535
|
* * sysdeps/sh/bits/atomic.h: Moved to ...Roland McGrath2003-04-062-46/+74
| | | | | | | | | | * 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.
* * sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite registerRoland McGrath2003-04-061-0/+5
| | | | restoration as done for setcontext yesterday.
* 2003-04-06 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-061-34/+22
| | | | | * sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register restoration as done for setcontext yesterday.
* (process_block): Don't print message about invliad input if the -c option is ↵Ulrich Drepper2003-04-062-539/+543
| | | | used.
* Update.Ulrich Drepper2003-04-063-4/+8
| | | | | | | | 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.
* Update.Ulrich Drepper2003-04-063-35/+40
| | | | | | 2003-04-06 Ulrich Drepper <drepper@redhat.com> * descr.h (struct pthread): Move cancelhandling member to the front.
* Update.Ulrich Drepper2003-04-052-4/+9
| | | | * sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999].
* Update.Ulrich Drepper2003-04-052-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.
* Update.Ulrich Drepper2003-04-053-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.
* Update.Ulrich Drepper2003-04-052-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
* Update.Ulrich Drepper2003-04-051-0/+3
| | | | | * libio/fileops.c (_IO_new_file_fopen): Don't free step data right after getting them.
* (_IO_new_file_fopen): Don't free step data right after getting them.Ulrich Drepper2003-04-051-4/+0
|
* * sysdeps/unix/sysv/linux/mips/mips64/n32/ftruncate64.c: New. * ↵Alexandre Oliva2003-04-056-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.
* Update.Ulrich Drepper2003-04-055-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.
* Update.Ulrich Drepper2003-04-0510-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.
* Define THREAD_ATOMIC_CMPXCHG_VAL and THREAD_ATOMIC_BIT_SET if not already ↵Ulrich Drepper2003-04-051-1/+13
| | | | defined.
* * stdio-common/reg-printf.c (__register_printf_function): CallocRoland McGrath2003-04-052-2/+8
| | | | | instead of malloc __printf_arginfo_table and __printf_function_table. Reported by John Reiser <jreiser@BitWagon.com>.
* * sysdeps/powerpc/powerpc64/strchr.S: 64-bit optimizations.Roland McGrath2003-04-043-46/+74
| | | | | | | * sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations. * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before defining.
* 2003-04-04 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2003-04-041-1/+2
| | | | | * sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before defining.
* Update.Ulrich Drepper2003-04-046-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.
* (sigcancel_handler): Don't set EXITING_BIT here.Ulrich Drepper2003-04-041-8/+2
|
* * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust for n64 abi.Alexandre Oliva2003-04-042-4/+16
| | | | | | | 2003-04-04 Alexandre Oliva <aoliva@redhat.com> * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock): Adjust for n64 abi.
* * configure.in: Fix up use of compilation flags to match the build:Roland McGrath2003-04-041-0/+9
| | | | | | | | For .s files, $ASFLAGS; For .S files, $CPPFLAGS $ASFLAGS; For .c files, $CFLAGS $CPPFLAGS; when linking, add $LDFLAGS. * configure: Regenerated.
* 2003-04-03 Roland McGrath <roland@redhat.com>Roland McGrath2003-04-042-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.
* Update.Ulrich Drepper2003-04-033-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.