aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2003-05-30(SAVESTK_0): Add CFI directives. Andreas Jaeger
(SAVESTK_3): Likewise. (SAVESTK_5): Likewise. (RESTSTK_0): Likewise. (RESTSTK_3): Likewise. (RESTSTK_5): Likewise. 2003-05-30 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (SAVESTK_0): Add CFI directives. (SAVESTK_3): Likewise. (SAVESTK_5): Likewise. (RESTSTK_0): Likewise. (RESTSTK_3): Likewise. (RESTSTK_5): Likewise.
2003-05-30* sysdeps/unix/sysv/linux/s390/lowlevellock.h (__lll_mutex_cond_lock):Jakub Jelinek
New function. (lll_mutex_cond_lock): Define.
2003-05-30(__lll_mutex_cond_lock): New function. (lll_mutex_cond_lock): Define.Jakub Jelinek
2003-05-30Update.Ulrich Drepper
* Makefile (tests): Add tst-signal6. * tst-signal6.c: New file.
2003-05-30Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/s390/lowlevellock.h (__lll_mutex_unlock_force): New function (lll_mutex_unlock_force): Use __lll_mutex_unlock_force.
2003-05-30Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/ia64/lowlevellock.h (__lll_mutex_unlock_force): New function. (lll_mutex_unlock_force): Use __lll_mutex_unlock_force. * tst-rwlock7.c (do_test): Use correct format specifier.
2003-05-30Update.Ulrich Drepper
2003-05-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/elf/start.S: Make code compilable with SHARED.
2003-05-30Update.Ulrich Drepper
2003-05-29 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue): Find break parameter in correct asm argument. 2003-05-30 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t): Add __mutex. * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (FUTEX_REQUEUE, lll_futex_requeue, lll_mutex_unlock_force): Define.
2003-05-29Update.Ulrich Drepper
2003-05-28 Kaz Kojima <kkojima@rr.iij4u.or.jp> * sysdeps/sh/tcb-offsets.sym: Define MUTEX_FUTEX. * sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h (pthread_cond_t): Add __mutex field. * sysdeps/unix/sysv/linux/sh/lowlevellock.h (SYSCALL_WITH_INST_PAD): Define. (lll_futex_wait, lll_futex_wake): Define. * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: New file. * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Try using FUTEX_REQUEUE instead of FUTEX_WAIT. * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Remember mutex which was used in condvar structure. Call __pthread_mutex_cond_lock instead of __pthread_mutex_lock_internal. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Don't include tcb-offsets.h. Read wakeup value in locked region. Use the value of gbr register as THREAD_ID. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove futex related macros.
2003-05-29Update.Ulrich Drepper
2003-05-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread_cond_broadcast.c (__pthread_cond_broadcast): Fix typo: MAX_INT -> INT_MAX.
2003-05-28Update.Ulrich Drepper
* sysdeps/x86_64/elf/start.S: Likewise.
2003-05-28* Makerules: Always use -MP together with -MD.Roland McGrath
(sed-remove-dotot): Substitute $(..) also at start of line. ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. Generated defines with a single compiler call. Use $(sed-remove-dotdot). * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Likewise.
2003-05-282003-05-11 Andreas Schwab <schwab@suse.de>Roland McGrath
* Makerules: Always use -MP together with -MD. (sed-remove-dotot): Substitute $(..) also at start of line. ($(stdio_lim:h=st)): Use -MD instead of SUNPRO_DEPENDENCIES. Generated defines with a single compiler call. Use $(sed-remove-dotdot). * mach/Makefile ($(objpfx)mach-syscalls.mk): Use -MD instead of DEPENDENCIES_OUTPUT, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h): Use -MD instead of SUNPRO_DEPENDENCIES, and use $(sed-remove-objpfx). * sysdeps/unix/sysv/linux/mips/Makefile ($(objpfx)syscall-%.h): Likewise.
2003-05-28Make code compilable with SHARED.Ulrich Drepper
2003-05-28* malloc/malloc.h [! __GNUC__] (__const): Define if undefined.Roland McGrath
2003-05-28* soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0.Roland McGrath
2003-05-28* sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument toRoland McGrath
rt_sigprocmask system call. * sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value. From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>.
2003-05-282003-05-28 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to rt_sigprocmask system call. * sysdeps/unix/sysv/linux/ia64/ucontext_i.h (SC_MASK): Fix value. From Peter A. Buhr <pabuhr@plg2.math.uwaterloo.ca>.
2003-05-28Update.Ulrich Drepper
2003-05-28 Ulrich Drepper <drepper@redhat.com> * include/libc-symbols.h: Define hidden attribute for real also if LIBC_NONSHARED is defined. Patch by Jakub Jelinek. * csu/Makefile: Add rules to build Scrt1.o. * sysdeps/i386/elf/start.S: Make code compilable with SHARED.
2003-05-27Update.Ulrich Drepper
2003-05-27 Jakub Jelinek <jakub@redhat.com> * stdio-common/vfprintf.c (process_arg, process_string_arg): Use pa_int/pa_u_int instead of pa_short_int, pa_u_short_int and pa_char. * stdio-common/printf-parse.h (union printf_arg): Remove pa_char, pa_short_int, pa_u_short_int and pa_float. 2003-05-26 Jakub Jelinek <jakub@redhat.com> * libio/strops.c (_IO_str_init_static): Change into a wrapper around _IO_str_init_static_internal. (_IO_str_init_static_internal): Moved from _IO_str_init_static, change size argument to _IO_size_t, don't limit sprintf to 64M. (_IO_str_init_readonly): Call _IO_str_init_static_internal. * libio/wstrops.c (_IO_wstr_init_static): Change size argument to _IO_size_t, don't limit swprintf to 256M. (_IO_wstr_init_readonly): Remove. * libio/libioP.h (_IO_str_init_static_internal, _IO_wstr_init_static): Adjust prototypes. (_IO_wstr_init_readonly): Remove prototype. * libio/iovsprintf.c (_IO_vsprintf): Use _IO_str_init_static_internal instead of INTUSE(_IO_str_init_static). * libio/iovsscanf.c (_IO_vsscanf): Likewise. * libio/memstream.c (open_memstream): Likewise. * libio/obprintf.c (_IO_obstack_vfprintf): Likewise. * libio/vasprintf.c (_IO_vasprintf): Likewise. * libio/vsnprintf.c (_IO_vsnprintf): Likewise. * stdio-common/tst-sprintf.c (main): Add new test.
2003-05-27Update.Ulrich Drepper
2003-05-26 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Fix typo in register name. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Use parameters correctly. Actually use requeue. Little optimization. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Store mutex address early. Handle cancellation state as 32-bit value. * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise. Remove unnecessary label.
2003-05-27Fix typo in register name.Ulrich Drepper
2003-05-26Fix ChangeLog typos.Jakub Jelinek
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_cond_t): * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
2003-05-26Update.Ulrich Drepper
2003-05-26 Ulrich Drepper <drepper@redhat.com> * stdio-common/vfprintf.c (vfprintf): Be bug-compatible with some other implementation in respect of multiple uses of parameter with different types.
2003-05-26Update.Ulrich Drepper
2003-05-25 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_FUTEX_REQUEUE for >= 2.5.70. * math/test-fenv.c (feexcp_nomask_test): Fix comment.
2003-05-26Remove __pthread_enable_asynccancel_2.Ulrich Drepper
2003-05-22Update.Andreas Jaeger
2003-05-22 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Add CFI directives. * sysdeps/unix/sysv/linux/x86_64/time.S: Likewise. * sysdeps/x86_64/strtok.S: Likewise.
2003-05-222003-05-20 Guido Guenther <agx@sigxcpu.org>Andreas Jaeger
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL to -60 and define SI_TKILL. 2003-05-20 Guido Guenther <agx@sigxcpu.org> * sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL to -60 and define SI_TKILL.
2003-05-22Update.Ulrich Drepper
2003-05-21 H.J. Lu <hongjiu.lu@intel.com> * math/test-fenv.c (feexcp_nomask_test): Fix comment (feexcp_mask_test): Likewise.
2003-05-22Update.Ulrich Drepper
* locale/programs/locale.c (main): Fix typo in last patch.
2003-05-21Update.Ulrich Drepper
2003-05-21 Ulrich Drepper <drepper@redhat.com> * csu/elf-init.c: Mark __preinit_array_start, __preinit_array_end, __init_array_start, __init_array_end, __fini_array_start, and __fini_array_end as hidden.
2003-05-21Update.Ulrich Drepper
2003-05-21 Petter Reinholdtsen <pere@hungry.com> * locale/programs/locale.c (main): Report an error if setlocale() fails [PR libc/2254]. 2003-05-21 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/s390/system.c: New file. 2003-05-21 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h (LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): Don't error if syscall argument is a string literal. * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): Likewise.
2003-05-21(LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, ↵Ulrich Drepper
LOADARGS_6): Don't error if syscall argument is a string literal.
2003-05-21* sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc, Andreas Jaeger
cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register, cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define. * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives. (ENTRY): Likewise. (END): Likewise. * configure.in: Test for asm cfi directives. * config.h.in: Add HAVE_ASM_CFI_DIRECTIVES. 2003-05-21 Andreas Jaeger <aj@suse.de> * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc, cfi_endproc, cfi_def_cfa, cfi_def_ccfa_register, cfi_def_cfa_offset, cfi_adjust_cfa_offset, cfi_offset): Define. * sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Add cfi directives. (ENTRY): Likewise. (END): Likewise. * configure.in: Test for asm cfi directives. * config.h.in: Add HAVE_ASM_CFI_DIRECTIVES.
2003-05-20Update.Update.Ulrich Drepper
2003-05-20 Jakub Jelinek <jakub@redhat.com> * elf/dynamic-link.h (elf_get_dynamic_info): Add temp argument. If temp != NULL, copy dynamic entries which need relocation to temp array before relocating. (DL_RO_DYN_TEMP_CNT): Define. * elf/dl-load.c (_dl_map_object_from_fd): Adjust caller. * elf/rtld.c (_dl_start): Likewise. (dl_main): Likewise. Add dyn_temp static variable.
2003-05-17Update.Ulrich Drepper
2003-05-17 Ulrich Drepper <drepper@redhat.com> * sem_open.c: Fix one endless loop. Implement correct semantics wrt opening the same semaphore more then once. * sem_close.c: Adjust for sem_open change. * semaphoreP.h: Include <semaphore.h>. Define struct inuse_sem. Declare __sem_mappings, __sem_mappings_lock, __sem_search. * Makefile (tests): Add tst-sem7. * tst-sem7.c: New file.
2003-05-17Fix one endless loop. Implement correct semantics wrt opening the same ↵Ulrich Drepper
semaphore more then once.
2003-05-17Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch.
2003-05-17Update.Andreas Jaeger
2003-05-17 Andreas Jaeger <aj@suse.de> * rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.
2003-05-17Update.Ulrich Drepper
* rt/Makefile (tests): Add tst-clock_nanosleep. * rt/tst-clock_nanosleep.c: New file. * posix/Makefile (tests): Add tst-nanosleep. * posix/tst-nanosleep.c: New file.
2003-05-17Update.Ulrich Drepper
* sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition.
2003-05-17(CPUCLOCK_P): Fix definition.Ulrich Drepper
2003-05-17* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): FixRoland McGrath
uninitialized variable braino.
2003-05-172003-05-16 Roland McGrath <roland@redhat.com>Roland McGrath
* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix uninitialized variable braino.
2003-05-17Update.Ulrich Drepper
* include/features.h (__USE_XOPEN2K): Define also for _POSIX_C_SOURCE>=200112L.
2003-05-16Update.Ulrich Drepper
* pthread_join.c (pthread_join): Set tid field of the joined thread to -1. This isn't necessary but helps to recognize some error conditions with almost no cost. * allocatestack.c (FREE_P): Also negative values indicate an unused stack.
2003-05-16Update.Ulrich Drepper
* sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold SI_TKILL code into SI_USER. * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.
2003-05-16Update.Ulrich Drepper
2003-05-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.
2003-05-16Update.Ulrich Drepper
2003-05-16 Ulrich Drepper <drepper@redhat.com> * unwind.c: Include <unistd.h>.
2003-05-16Update.Ulrich Drepper
2003-05-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Remove sym argument, always use refsym. (__process_machine_rela): Adjust callers. * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow): Likewise. * sysdeps/powerpc/powerpc32/dl-machine.h (_dl_reloc_overflow): Adjust prototype. * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.