| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
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>.
|
|
|
|
|
|
|
| |
* 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-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-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-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.
|
| |
|
|
|
|
|
| |
* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_cond_t):
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
|
|
|
|
|
|
|
|
| |
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-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-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.
|
|
|
|
|
|
|
|
|
| |
* 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-21 H.J. Lu <hongjiu.lu@intel.com>
* math/test-fenv.c (feexcp_nomask_test): Fix comment
(feexcp_mask_test): Likewise.
|
|
|
|
| |
* locale/programs/locale.c (main): Fix typo in last patch.
|
|
|
|
|
|
|
|
| |
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-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_6): Don't error if syscall argument is a string literal.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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-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-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.
|
|
|
|
| |
semaphore more then once.
|
|
|
|
| |
* sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch.
|
|
|
|
|
|
| |
2003-05-17 Andreas Jaeger <aj@suse.de>
* rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition.
|
| |
|
|
|
|
| |
uninitialized variable braino.
|
|
|
|
|
| |
* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix
uninitialized variable braino.
|
|
|
|
|
| |
* include/features.h (__USE_XOPEN2K): Define also for
_POSIX_C_SOURCE>=200112L.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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-16 Ulrich Drepper <drepper@redhat.com>
* sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.
|
|
|
|
|
|
| |
2003-05-16 Ulrich Drepper <drepper@redhat.com>
* unwind.c: Include <unistd.h>.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
2003-05-12 Thorsten Kukuk <kukuk@suse.de>
* inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD.
|
|
|
|
|
|
| |
2003-05-14 Andreas Schwab <schwab@suse.de>
* sysdeps/unix/sysv/linux/ia64/umount.c: New file.
|
|
|
|
|
|
| |
2003-05-14 Ulrich Drepper <drepper@redhat.com>
* Makefile ($(objpfx)$(multidir)): Add rule to create the directory.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* csu/Makefile: Do compile elf-init with PIC flag since in dynamic
binaries it has to be relocatable.
|
|
|
|
|
|
| |
2003-05-13 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2003-05-12 Steven Munroe <sjmunroe@us.ibm.com>
* sysdeps/powerpc/bits/atomic.h
(__arch_compare_and_exchange_bool_8_rel): Define.
(__arch_compare_and_exchange_bool_16_rel): Define.
(__ARCH_REL_INSTR): Define if not already defined.
(__arch_atomic_exchange_and_add_32): Add "memory" to clobber list.
(__arch_atomic_decrement_if_positive_32):
Add "memory" to clobber list.
(__arch_compare_and_exchange_val_32_acq): Remove release sync.
(__arch_compare_and_exchange_val_32_rel): Define.
(__arch_atomic_exchange_32): Remove.
(__arch_atomic_exchange_32_acq): Define.
(__arch_atomic_exchange_32_rel): Define.
(atomic_compare_and_exchange_val_rel): Define.
(atomic_exchange_acq): Use __arch_atomic_exchange_*_acq forms.
(atomic_exchange_rel): Define.
* sysdeps/powerpc/powerpc32/bits/atomic.h
(__arch_compare_and_exchange_bool_32_acq): Remove release sync.
(__arch_compare_and_exchange_bool_32_rel): Define.
(__arch_compare_and_exchange_bool_64_rel): Define.
(__arch_compare_and_exchange_val_64_rel): Define.
(__arch_atomic_exchange_64): Remove.
(__arch_atomic_exchange_64_acq): Define.
(__arch_atomic_exchange_64_rel): Define.
* sysdeps/powerpc/powerpc64/bits/atomic.h
(__arch_compare_and_exchange_bool_32_rel): Define.
(__arch_compare_and_exchange_bool_64_acq): Remove release sync.
(__arch_compare_and_exchange_bool_64_rel): Define.
(__arch_compare_and_exchange_val_64_acq): Remove release sync.
(__arch_compare_and_exchange_val_64_rel): Define.
(__arch_atomic_exchange_64): Remove.
(__arch_atomic_exchange_64_acq): Define.
(__arch_atomic_exchange_64_rel): Define.
(__arch_atomic_exchange_and_add_64): Add "memory" to clobber list.
(__arch_atomic_decrement_if_positive_64):
Add "memory" to clobber list.
[!UP](__ARCH_REL_INSTR): Define as lwsync.
the space-padded-by-default conversion specifiers, %e, %k, %l.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* io/Makefile ($(objpfx)ftwtest.out): Use absolute file names.
2003-05-11 Ulrich Drepper <drepper@redhat.com>
* time/tst-strftime.c (do_test): Add tests for - flag.
2003-05-11 Jim Meyering <jim@meyering.net>
* time/strftime.c (my_strftime): Let the `-' (no-pad) flag affect
the space-padded-by-default conversion specifiers, %e, %k, %l.
2003-05-11 Andreas Schwab <schwab@suse.de>
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
2003-05-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove futex
related macros.
* sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Likewise.
|
|
|
|
|
|
|
|
| |
2003-05-10 Ulrich Drepper <drepper@redhat.com>
* sysdeps/generic/bits/sched.h: Define cpu_set_t only if not
already defined and when really needed.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
|