| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
often unecessary local variable.
(start_thread): Initialize cleanup_jmp_buf element if own thread descriptor.
|
|
|
|
| |
* csu/Makefile (tests, tests-static): Add it.
|
|
|
|
|
| |
* csu/tst-empty.c: New file.
* csu/Makefile (tests, tests-static): Add it.
|
|
|
|
| |
cleanup handler installation functions.
|
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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-11 Ulrich Drepper <drepper@redhat.com>
* tst-attr2.c (do_test): Add cast to avoid warning.
* tst-mutex4.c (do_test): Likewise.
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
(__fe_nomask_env): Try prctl even if __ASSUME_NEW_PRCTL_SYSCALL
is not defined, but the prctl constants are.
|
| |
|
|
|
|
| |
* sysdeps/s390/pspinlock.c (__pthread_spin_unlock): Fix asm contraints.
|
|
|
|
|
|
|
| |
2003-04-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/fork.c (__libc_fork): Reset CPU clocks
in child.
|
|
|
|
|
|
|
| |
2003-04-09 Ulrich Drepper <drepper@redhat.com>
* Makefile (tests): Add tst-detach1.
* tst-detach1.c: New file.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
| |
* sysdeps/pthread/pthread.h: Remove duplicate
pthread_cleanup_{push,pop} definitions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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.
|
|
|
|
| |
(add_dir): Ignire trailing whitespace.
|
|
|
|
| |
sum of SIZE1 and SIZE2 arguments.
|
|
|
|
|
| |
* posix/bug-regex4.c (main): Cap RANGE and STOP arguments to
sum of SIZE1 and SIZE2 arguments.
|
| |
|
| |
|
|
|
|
|
|
| |
2003-04-07 Ulrich Drepper <drepper@redhat.com>
* pthread_detach.c (pthread_detach): Fix test for invalid TID.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
restoration as done for setcontext yesterday.
|
|
|
|
|
| |
* sysdeps/unix/sysv/linux/i386/swapcontext.S: Rewrite register
restoration as done for setcontext yesterday.
|
|
|
|
| |
used.
|
|
|
|
|
|
|
|
| |
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-06 Ulrich Drepper <drepper@redhat.com>
* descr.h (struct pthread): Move cancelhandling member to the front.
|
|
|
|
| |
* sunrpc/xdr.c (xdr_string): Catch nodesize == 0 [PR libc/4999].
|
|
|
|
|
|
|
| |
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-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-05 Ulrich Drepper <drepper@redhat.com>
* math/test-tgmath.c (F): Initialize c.
* sysdeps/unix/sysv/linux/mips/kernel_stat.h: Explain why
|
|
|
|
|
| |
* libio/fileops.c (_IO_new_file_fopen): Don't free step data right
after getting them.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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.
|
|
|
|
| |
defined.
|
|
|
|
|
| |
instead of malloc __printf_arginfo_table and __printf_function_table.
Reported by John Reiser <jreiser@BitWagon.com>.
|
|
|
|
|
|
|
| |
* sysdeps/powerpc/powerpc64/strlen.S: 64-bit optimizations.
* sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before
defining.
|
|
|
|
|
| |
* sysdeps/powerpc/fpu/bits/mathdef.h (FLT_EVAL_METHOD): Undef before
defining.
|
|
|
|
|
|
|
|
|
|
| |
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.
|