about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2003-05-303-8/+41
| | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-05-2914-57/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-05-292-2/+7
| | | | | | | 2003-05-28 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread_cond_broadcast.c (__pthread_cond_broadcast): Fix typo: MAX_INT -> INT_MAX.
* Update.Ulrich Drepper2003-05-281-0/+1
| | | | * sysdeps/x86_64/elf/start.S: Likewise.
* * Makerules: Always use -MP together with -MD.Roland McGrath2003-05-281-0/+14
| | | | | | | | | | | | | (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-11 Andreas Schwab <schwab@suse.de>Roland McGrath2003-05-284-41/+44
| | | | | | | | | | | | | | * 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.
* Make code compilable with SHARED.Ulrich Drepper2003-05-281-1/+13
|
* * malloc/malloc.h [! __GNUC__] (__const): Define if undefined.Roland McGrath2003-05-282-1/+13
|
* * soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0.Roland McGrath2003-05-282-4/+8
|
* * sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument toRoland McGrath2003-05-281-0/+7
| | | | | | 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-28 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-282-4/+5
| | | | | | | * 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>.
* Update.Ulrich Drepper2003-05-285-6/+55
| | | | | | | | | | 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.
* Update.Ulrich Drepper2003-05-2713-85/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-05-274-17/+34
| | | | | | | | | | | | | 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.
* Fix typo in register name.Ulrich Drepper2003-05-271-1/+1
|
* Fix ChangeLog typos.Jakub Jelinek2003-05-261-2/+2
| | | | | * sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_cond_t): * sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* Update.Ulrich Drepper2003-05-263-4/+10
| | | | | | | | 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.
* Update.Ulrich Drepper2003-05-2627-69/+377
| | | | | | | | | 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.
* Remove __pthread_enable_asynccancel_2.Ulrich Drepper2003-05-261-34/+0
|
* Update.Andreas Jaeger2003-05-224-3/+17
| | | | | | | | | 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-20 Guido Guenther <agx@sigxcpu.org>Andreas Jaeger2003-05-222-2/+9
| | | | | | | | | * 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.
* Update.Ulrich Drepper2003-05-222-3/+10
| | | | | | | 2003-05-21 H.J. Lu <hongjiu.lu@intel.com> * math/test-fenv.c (feexcp_nomask_test): Fix comment (feexcp_mask_test): Likewise.
* Update.Ulrich Drepper2003-05-222-1/+3
| | | | * locale/programs/locale.c (main): Fix typo in last patch.
* Update.Ulrich Drepper2003-05-212-7/+13
| | | | | | | | 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.
* Update.Ulrich Drepper2003-05-213-4/+61
| | | | | | | | | | | | | | | | | | | | 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.
* (LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, ↵Ulrich Drepper2003-05-212-12/+24
| | | | LOADARGS_6): Don't error if syscall argument is a string literal.
* * sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc, Andreas Jaeger2003-05-216-3/+100
| | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update.Update.Ulrich Drepper2003-05-204-21/+46
| | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-05-175-21/+298
| | | | | | | | | | | | 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.
* Fix one endless loop. Implement correct semantics wrt opening the same ↵Ulrich Drepper2003-05-171-3/+55
| | | | semaphore more then once.
* Update.Andreas Jaeger2003-05-173-29/+4
| | | | * sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch.
* Update.Andreas Jaeger2003-05-171-0/+4
| | | | | | 2003-05-17 Andreas Jaeger <aj@suse.de> * rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.
* Update.Ulrich Drepper2003-05-175-2/+122
| | | | | | | * 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.
* Update.Ulrich Drepper2003-05-171-0/+2
| | | | * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition.
* (CPUCLOCK_P): Fix definition.Ulrich Drepper2003-05-171-3/+3
|
* * sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): FixRoland McGrath2003-05-171-0/+5
| | | | uninitialized variable braino.
* 2003-05-16 Roland McGrath <roland@redhat.com>Roland McGrath2003-05-171-1/+1
| | | | | * sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix uninitialized variable braino.
* Update.Ulrich Drepper2003-05-175-3/+16
| | | | | * include/features.h (__USE_XOPEN2K): Define also for _POSIX_C_SOURCE>=200112L.
* Update.Ulrich Drepper2003-05-163-1/+11
| | | | | | | | | * 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.
* Update.Ulrich Drepper2003-05-163-14/+49
| | | | | | * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold SI_TKILL code into SI_USER. * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.
* Update.Ulrich Drepper2003-05-162-3/+5
| | | | | | 2003-05-16 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.
* Update.Ulrich Drepper2003-05-162-0/+5
| | | | | | 2003-05-16 Ulrich Drepper <drepper@redhat.com> * unwind.c: Include <unistd.h>.
* Update.Ulrich Drepper2003-05-166-44/+50
| | | | | | | | | | | | | 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.
* Update.Ulrich Drepper2003-05-152-1/+18
| | | | | | | | 2003-05-15 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Fix typo (DL_NEED_SYSINFO -> NEED_DL_SYSINFO). If aux value is not known print numeric values.
* Update.Ulrich Drepper2003-05-153-39/+45
| | | | | | 2003-05-12 Thorsten Kukuk <kukuk@suse.de> * inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD.
* Update.Ulrich Drepper2003-05-152-0/+35
| | | | | | 2003-05-14 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/umount.c: New file.
* Update.Ulrich Drepper2003-05-142-0/+6
| | | | | | 2003-05-14 Ulrich Drepper <drepper@redhat.com> * Makefile ($(objpfx)$(multidir)): Add rule to create the directory.
* Update.Ulrich Drepper2003-05-144-62/+85
| | | | | | | 2003-05-14 Jakub Jelinek <jakub@redhat.com> * elf/rtld.c (dl_main): For LD_TRACE_PRELINKING print search scope even if no DT_NEEDED is present.
* Update.Ulrich Drepper2003-05-142-5/+12
| | | | | | | | | 2003-05-13 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/setjmp.S: Fix the fix from 2003-03-27: setjmp is NOT a leaf-routine (due to the call to __sigjmp_save) so we can't keep the saved unat value in a scratch register (r16). Use loc2 instead.
* Update.Ulrich Drepper2003-05-142-5/+3
| | | | | * csu/Makefile: Do compile elf-init with PIC flag since in dynamic binaries it has to be relocatable.