platform/upstream/glibc.git
21 years ago* soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0.
Roland McGrath [Wed, 28 May 2003 20:52:43 +0000 (20:52 +0000)]
* soft-fp/soft-fp.h (FP_EX_UNDERFLOW): Define to 0.

21 years ago* sysdeps/unix/sysv/linux/ia64/setcontext.S: Pass fourth argument to
Roland McGrath [Wed, 28 May 2003 20:45:44 +0000 (20:45 +0000)]
* 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>.

21 years ago2003-05-28 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 28 May 2003 20:45:25 +0000 (20:45 +0000)]
2003-05-28  Roland McGrath  <roland@redhat.com>

* 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>.

21 years agoUpdate.
Ulrich Drepper [Wed, 28 May 2003 19:56:24 +0000 (19:56 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Tue, 27 May 2003 08:03:32 +0000 (08:03 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Tue, 27 May 2003 04:24:31 +0000 (04:24 +0000)]
Update.

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.

21 years agoFix typo in register name.
Ulrich Drepper [Tue, 27 May 2003 04:19:58 +0000 (04:19 +0000)]
Fix typo in register name.

21 years agoFix ChangeLog typos.
Jakub Jelinek [Mon, 26 May 2003 14:13:58 +0000 (14:13 +0000)]
Fix ChangeLog typos.

* sysdeps/unix/sysv/linux/i386/bits/pthreadtypes.h (pthread_cond_t):
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 May 2003 08:56:39 +0000 (08:56 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 May 2003 02:47:39 +0000 (02:47 +0000)]
Update.

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.

21 years agoRemove __pthread_enable_asynccancel_2.
Ulrich Drepper [Mon, 26 May 2003 02:09:08 +0000 (02:09 +0000)]
Remove __pthread_enable_asynccancel_2.

21 years agoUpdate.
Andreas Jaeger [Thu, 22 May 2003 04:07:17 +0000 (04:07 +0000)]
Update.

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.

21 years ago2003-05-20 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Thu, 22 May 2003 02:26:29 +0000 (02:26 +0000)]
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-20  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h: Change SI_ASYNCNL
to -60 and define SI_TKILL.

21 years agoUpdate.
Ulrich Drepper [Thu, 22 May 2003 02:09:54 +0000 (02:09 +0000)]
Update.

2003-05-21  H.J. Lu  <hongjiu.lu@intel.com>

* math/test-fenv.c (feexcp_nomask_test): Fix comment
(feexcp_mask_test): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 22 May 2003 00:41:32 +0000 (00:41 +0000)]
Update.

* locale/programs/locale.c (main): Fix typo in last patch.

21 years agoUpdate.
Ulrich Drepper [Wed, 21 May 2003 19:38:39 +0000 (19:38 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Wed, 21 May 2003 19:31:11 +0000 (19:31 +0000)]
Update.

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.

21 years ago(LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6...
Ulrich Drepper [Wed, 21 May 2003 19:17:35 +0000 (19:17 +0000)]
(LOADARGS_0, LOADARGS_1, LOADARGS_2, LOADARGS_3, LOADARGS_4, LOADARGS_5, LOADARGS_6): Don't error if syscall argument is a string literal.

21 years ago* sysdeps/generic/sysdep.h (cfi_offset, cfi_startproc,
Andreas Jaeger [Wed, 21 May 2003 09:25:53 +0000 (09:25 +0000)]
* 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-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.

21 years agoUpdate.Update.
Ulrich Drepper [Tue, 20 May 2003 22:36:38 +0000 (22:36 +0000)]
Update.Update.

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.

21 years agoUpdate.
Ulrich Drepper [Sat, 17 May 2003 20:53:32 +0000 (20:53 +0000)]
Update.

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.

21 years agoFix one endless loop. Implement correct semantics wrt opening the same semaphore...
Ulrich Drepper [Sat, 17 May 2003 20:49:02 +0000 (20:49 +0000)]
Fix one endless loop.  Implement correct semantics wrt opening the same semaphore more then once.

21 years agoUpdate.
Andreas Jaeger [Sat, 17 May 2003 17:55:27 +0000 (17:55 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/syscall.S: Revert last patch.

21 years agoUpdate.
Andreas Jaeger [Sat, 17 May 2003 17:37:29 +0000 (17:37 +0000)]
Update.

2003-05-17  Andreas Jaeger  <aj@suse.de>

* rt/tst-clock_nanosleep.c: Include <time.h> for clock_nanosleep.

21 years agoUpdate.
Ulrich Drepper [Sat, 17 May 2003 06:07:38 +0000 (06:07 +0000)]
Update.

* 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.

21 years agoUpdate.
Ulrich Drepper [Sat, 17 May 2003 02:53:39 +0000 (02:53 +0000)]
Update.

* sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P): Fix definition.

21 years ago(CPUCLOCK_P): Fix definition.
Ulrich Drepper [Sat, 17 May 2003 02:52:07 +0000 (02:52 +0000)]
(CPUCLOCK_P): Fix definition.

21 years ago* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix
Roland McGrath [Sat, 17 May 2003 00:59:16 +0000 (00:59 +0000)]
* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix

uninitialized variable braino.

21 years ago2003-05-16 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 17 May 2003 00:59:09 +0000 (00:59 +0000)]
2003-05-16  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/register-atfork.c (libc_freeres_fn): Fix
uninitialized variable braino.

21 years agoUpdate.
Ulrich Drepper [Sat, 17 May 2003 00:38:41 +0000 (00:38 +0000)]
Update.

* include/features.h (__USE_XOPEN2K): Define also for
_POSIX_C_SOURCE>=200112L.

21 years agoUpdate.
Ulrich Drepper [Fri, 16 May 2003 22:09:32 +0000 (22:09 +0000)]
Update.

* 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.

21 years agoUpdate.
Ulrich Drepper [Fri, 16 May 2003 19:56:47 +0000 (19:56 +0000)]
Update.

* sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Fold
SI_TKILL code into SI_USER.
* sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 16 May 2003 18:50:00 +0000 (18:50 +0000)]
Update.

2003-05-16  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/sigpause.c (do_sigpause): Use sigdelset after all.

21 years agoUpdate.
Ulrich Drepper [Fri, 16 May 2003 17:40:49 +0000 (17:40 +0000)]
Update.

2003-05-16  Ulrich Drepper  <drepper@redhat.com>

* unwind.c: Include <unistd.h>.

21 years agoUpdate.
Ulrich Drepper [Fri, 16 May 2003 04:22:23 +0000 (04:22 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Thu, 15 May 2003 21:41:17 +0000 (21:41 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Thu, 15 May 2003 03:31:18 +0000 (03:31 +0000)]
Update.

2003-05-12  Thorsten Kukuk  <kukuk@suse.de>

* inet/netinet/igmp.h: Sync with Linux Kernel 2.5.69 and *BSD.

21 years agoUpdate.
Ulrich Drepper [Thu, 15 May 2003 00:27:35 +0000 (00:27 +0000)]
Update.

2003-05-14  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/ia64/umount.c: New file.

21 years agoUpdate.
Ulrich Drepper [Wed, 14 May 2003 23:26:21 +0000 (23:26 +0000)]
Update.

2003-05-14  Ulrich Drepper  <drepper@redhat.com>

* Makefile ($(objpfx)$(multidir)): Add rule to create the directory.

21 years agoUpdate.
Ulrich Drepper [Wed, 14 May 2003 21:40:32 +0000 (21:40 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Wed, 14 May 2003 20:44:11 +0000 (20:44 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Wed, 14 May 2003 06:29:32 +0000 (06:29 +0000)]
Update.

* csu/Makefile: Do compile elf-init with PIC flag since in dynamic
binaries it has to be relocatable.

21 years agoUpdate.
Ulrich Drepper [Tue, 13 May 2003 23:57:02 +0000 (23:57 +0000)]
Update.

2003-05-13  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/waitpid.c: Use waitpid syscall is available.

21 years agoUpdate.
Ulrich Drepper [Tue, 13 May 2003 21:14:28 +0000 (21:14 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Sun, 11 May 2003 23:28:52 +0000 (23:28 +0000)]
Update.

* 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>

21 years ago(do_test): Add tests for - flag.
Ulrich Drepper [Sun, 11 May 2003 22:41:23 +0000 (22:41 +0000)]
(do_test): Add tests for - flag.

21 years ago* sysdeps/generic/sched_setaffinity.c: Fix parameter name.
Andreas Schwab [Sat, 10 May 2003 22:58:06 +0000 (22:58 +0000)]
* sysdeps/generic/sched_setaffinity.c: Fix parameter name.

21 years agoFix parameter name.
Andreas Schwab [Sat, 10 May 2003 22:57:19 +0000 (22:57 +0000)]
Fix parameter name.

21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 20:38:31 +0000 (20:38 +0000)]
Update.

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.

21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 17:50:46 +0000 (17:50 +0000)]
Update.

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.

21 years agoFix typo.
Ulrich Drepper [Sat, 10 May 2003 08:47:43 +0000 (08:47 +0000)]
Fix typo.

Contributed by Dwayne Bailey <dwayne@translate.org.za>.

21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 08:39:58 +0000 (08:39 +0000)]
Update.

2003-05-09  Thorsten Kukuk  <kukuk@suse.de>

* sysdeps/unix/sysv/linux/netinet/igmp.h: Don't include kernel
headers, add defines from kernel header, move it from here...
* inet/netinet/igmp.h: ... to here.
* inet/Makefile (headers): Add netinet/igmp.h.
* sysdeps/unix/sysv/linux/Makefile: Remove netinet/igmp.h.
* sysdeps/unix/sysv/linux/Dist: Remove netinet/igmp.h.

2003-05-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/pthread/lio_listio64.c (lio_listio64): If SIG == NULL,
use dummy sigevent structure with SIGEV_NONE [PR libc/5015].

2003-05-09  Thorsten Kukuk <kukuk@suse.de>

* libio/bits/stdio.h: Sync prototypes with libio/stdio.h
(remove __THROW from possible cancellation points).

21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 07:48:16 +0000 (07:48 +0000)]
Update.

* posix/sched.h (CPU_SETSIZE): Define.

21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 07:17:50 +0000 (07:17 +0000)]
Update.

2003-05-10  Ulrich Drepper  <drepper@redhat.com>

* posix/sched.h (NCPUBITS): Define.

21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 06:33:37 +0000 (06:33 +0000)]
Update.

* Makeconfig (gnulib): Remove -lgcc_eh again.

21 years agoUpdate.
Ulrich Drepper [Sat, 10 May 2003 05:36:37 +0000 (05:36 +0000)]
Update.

* posix/sched.h: Change prototypes of sched_getaffinity and
sched_setaffinity.  Define CPU_SET, CPU_CLR, CPU_ISSET, and CPU_ZERO.
* sysdeps/generic/sched_getaffinity.c: Adjust definition.
* sysdeps/generic/sched_setaffinity.c: Likewise.
* sysdeps/generic/bits/sched.h: Define __CPU_SETSIZE, __NCPUBITS,
__CPUELT, __CPUMASK, cpu_set_t, __cpu_mask, __CPU_ZERO, __CPU_SET,
__CPU_CLR, and __CPU_ISSET.
* sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
* sysdeps/unix/sysv/linux/sched_getaffinity.c: New file.
* sysdeps/unix/sysv/linux/sched_setaffinity.c: New file.

* include/atomic.h (atomic_exchange_acq): Renamed from atomic_exchange.
(atomic_exchange_rel): New #define.
* sysdeps/ia64/bits/atomic.h: Likewise.
* sysdeps/i386/i486/bits/atomic.h (atomic_exchange_acq): Renamed from
atomic_exchange.
* sysdeps/m68k/m68020/bits/atomic.h: Likewise.
* sysdeps/powerpc/bits/atomic.h: Likewise.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Likewise.
* sysdeps/sparc/sparc64/bits/atomic.h: Likewise.
* sysdeps/x86_64/bits/atomic.h: Likewise.
* csu/tst-atomic.c: Use atomic_exchange_acq instead of atomic_exchange.

21 years agoUpdate.
Ulrich Drepper [Fri, 9 May 2003 07:53:33 +0000 (07:53 +0000)]
Update.

2003-05-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: New file.

21 years agoUpdate.
Ulrich Drepper [Fri, 9 May 2003 03:17:42 +0000 (03:17 +0000)]
Update.

2003-05-08  Ulrich Drepper  <drepper@redhat.com>

* malloc/thread-m.h: Remove special handling of thread_atfork if
HAVE_register_atfork_malloc is defined.

21 years ago(unwind_cleanup): Print error message and then abort. This function must never be...
Ulrich Drepper [Fri, 9 May 2003 03:00:52 +0000 (03:00 +0000)]
(unwind_cleanup): Print error message and then abort.  This function must never be reached.

21 years agoUpdate.
Andreas Jaeger [Wed, 7 May 2003 13:38:57 +0000 (13:38 +0000)]
Update.

2003-05-07  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/syscall.S: Add DWARF2 unwind
information.

21 years agoAdd DWARF2 unwind information.
Andreas Jaeger [Wed, 7 May 2003 13:38:40 +0000 (13:38 +0000)]
Add DWARF2 unwind information.

21 years agoUpdate.
Ulrich Drepper [Wed, 7 May 2003 03:48:45 +0000 (03:48 +0000)]
Update.

2003-05-06  Ulrich Drepper  <drepper@redhat.com>

* libio/oldiofdopen.c (_IO_old_fdopen): Use _IO_old_init not _IO_init.
* libio/oldiofopen.c (_IO_old_fopen): Likewise.
* libio/libioP.h: Declare _IO_old_init.
* libio/genops.c (_IO_no_init): Split in two.  New function
_IO_old_init.

21 years agoUpdate.
Ulrich Drepper [Tue, 6 May 2003 23:42:06 +0000 (23:42 +0000)]
Update.

2003-05-06  Ulrich Drepper  <drepper@redhat.com>

* locales/de_DE: Use two-letter abday values.

21 years agoUpdate.
Ulrich Drepper [Tue, 6 May 2003 06:34:21 +0000 (06:34 +0000)]
Update.

* sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New
variable.
(__libc_init_secure): Don't do anything if __libc_enable_secure_decided
is nonzero.
* include/unistd.h: Declare __libc_enable_secure_decided.
* elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID,
and AT_EGID.  If all found, set __libc_enable_secure and
__libc_enable_secure_decided.

21 years agoUpdate.
Ulrich Drepper [Tue, 6 May 2003 05:55:00 +0000 (05:55 +0000)]
Update.

2003-05-05  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/libc-start.c [!SHARED]: Call
__libc_check_standard_fds after __libc_init_first.

21 years ago(TLS_INIT_TP): Include \n in error message.
Ulrich Drepper [Tue, 6 May 2003 05:40:11 +0000 (05:40 +0000)]
(TLS_INIT_TP): Include \n in error message.

21 years ago* Makerules (common-before-compile): New variable.
Roland McGrath [Mon, 5 May 2003 19:14:13 +0000 (19:14 +0000)]
* Makerules (common-before-compile): New variable.

($(common-objpfx)%.make): Depend on that instead of $(before-compile).
($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.  Move this rule
to after all setting of before-compile.

* sunrpc/Makefile (generated-dirs): New variable.
* resolv/Makefile (generated): New variable.

21 years ago2003-05-05 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 5 May 2003 19:13:59 +0000 (19:13 +0000)]
2003-05-05  Roland McGrath  <roland@redhat.com>

* Makerules (common-before-compile): New variable.
($(common-objpfx)%.make): Depend on that instead of $(before-compile).
($(common-objpfx)%.h $(common-objpfx)%.h.d): Likewise.  Move this rule
to after all setting of before-compile.

21 years agoUpdate.
Ulrich Drepper [Mon, 5 May 2003 18:24:09 +0000 (18:24 +0000)]
Update.

2003-05-05  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq): Cast 0 to mem's type.
* sysdeps/powerpc/powerpc32/bits/atomic.h
(__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
(__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq,
__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/sparc/sparc64/bits/atomic.h
(__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq): Likewise.
* sysdeps/s390/bits/atomic.h (__arch_compare_and_exchange_val_8_acq,
__arch_compare_and_exchange_val_16_acq,
__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/unix/sysv/linux/sh/bits/atomic.h
(__arch_compare_and_exchange_val_64_acq): Likewise.
* sysdeps/s390/s390-64/backtrace.c (__backtrace): Add cast to shut
up warning.
* sysdeps/s390/fpu/fegetenv.c (fegetenv): Likewise.

* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
(INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0):
Return long instead of int.
(INTERNAL_SYSCALL_ERROR_P): Cast val to unsigned long, replace
0xfffff001u with -4095UL.

21 years ago(tst_wcsxfrm): Use %zu instead of %d format specifier when printing ret.
Ulrich Drepper [Mon, 5 May 2003 18:17:05 +0000 (18:17 +0000)]
(tst_wcsxfrm): Use %zu instead of %d format specifier when printing ret.

21 years agoUpdate.
Andreas Jaeger [Mon, 5 May 2003 17:36:15 +0000 (17:36 +0000)]
Update.

* sunrpc/Makefile (generated-dirs): New.

* resolv/Makefile (generate): New.

21 years agoUpdate.
Andreas Jaeger [Mon, 5 May 2003 13:25:41 +0000 (13:25 +0000)]
Update.

* sysdeps/x86_64/fpu_control.h: New from i386.

21 years agoUpdate.
Andreas Jaeger [Mon, 5 May 2003 08:45:31 +0000 (08:45 +0000)]
Update.

2003-05-05  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/sysdep.h (__NR_semtimedop):
Define if not defined.

21 years ago(__NR_semtimedop): Define if not defined.
Andreas Jaeger [Mon, 5 May 2003 08:45:16 +0000 (08:45 +0000)]
(__NR_semtimedop): Define if not defined.

21 years ago* csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.
Roland McGrath [Sun, 4 May 2003 23:27:34 +0000 (23:27 +0000)]
* csu/Makefile ($(csu-dummies) target rule): Don't use a temp C file.

Depend on $(before-compile).

21 years ago* csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static
Roland McGrath [Sun, 4 May 2003 23:06:08 +0000 (23:06 +0000)]
* csu/Makefile ($(objpfx)crt%.o): Replace implicit rule with a static

pattern rule.  The implicit rule could be ruled out when $(objpfx)
didn't exist at the time of its consideration (ugh!).

* Makerules (+make-deps): Fix target matching.
Use $(sed-remove-dotdot).

21 years ago2003-05-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 4 May 2003 23:05:44 +0000 (23:05 +0000)]
2003-05-04  Roland McGrath  <roland@redhat.com>

* Makerules (+make-deps): Fix target matching.
Use $(sed-remove-dotdot).

21 years agoUpdate.
Ulrich Drepper [Sun, 4 May 2003 07:00:44 +0000 (07:00 +0000)]
Update.

2003-05-03  Ulrich Drepper  <drepper@redhat.com>

* nscd/nscd.c (main): Parse config file right after parsing
parameters.  Then, if get_stats is true, call receive_print_stats.
Drop parameter from nscd_init call.
(get_stats): New variable.
(parse_opt): Set get_stats, don't call receive_print_stats here.
* nscd/nscd.h: Declare dbs, stat_user, and stat_uid.  Adjust nscd_init
prototype.
* nscd/connections.c (stat_user, stat_uid): New variables.
(dbs): Make global.
(nscd_init): Don't read configuration file here.  Drop parameter.
(handle_request): Cleanup handling of non-database lookup requests.
* nscd/nscd_conf.c (nscd_parse_file): Recognize stat-user entry.
Get UID of the specified user.  Use xstrdup instead of strdup.
* nscd/nscd_stat.c (receive_print_stats): Check UID.  If not zero,
check stat_user.
* nscd/Makefile (nscd-modules): Add xstrdup.
* nscd/nscd.conf: Document stat-user entry.

2003-05-03  H.J. Lu  <hongjiu.lu@intel.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.h (__NR_semtimedop): Define
if not defined.

21 years agoUpdate.
Ulrich Drepper [Sun, 4 May 2003 04:30:13 +0000 (04:30 +0000)]
Update.

2003-04-22  Roland McGrath  <roland@redhat.com>

* elf/elf.h (AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.
* sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
dl_sysinfo_eh_frame member, add dl_sysinfo_dso member instead.
* elf/dl-support.c: Update defn.
* sysdeps/generic/libc-start.c: Don't call __register_frame_info_bases.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
Set GL(dl_sysinfo_dso) from AT_SYSINFO_EHDR.
(_dl_show_auxv): Grok AT_SYSINFO_EHDR, not AT_SYSINFO_EH_FRAME.
* elf/rtld.c (dl_main) [NEED_DL_SYSINFO]: If GL(dl_sysinfo_dso) is
set, set up a link_map for the preloaded, prelinked object.

21 years ago(AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.
Ulrich Drepper [Sun, 4 May 2003 04:15:55 +0000 (04:15 +0000)]
(AT_SYSINFO_EHDR): New macro, replaces AT_SYSINFO_EH_FRAME.

21 years ago* sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...
Roland McGrath [Sat, 3 May 2003 09:08:37 +0000 (09:08 +0000)]
* sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...

* stdio-common/Makefile: ... not here.

* csu/Makefile ($(objpfx)initfini.s): Depend on $(before-compile).
* sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.

21 years ago2003-05-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 3 May 2003 09:08:21 +0000 (09:08 +0000)]
2003-05-03  Roland McGrath  <roland@redhat.com>

* sysdeps/gnu/Makefile (generated): Append errlist-compat.c here, ...
* stdio-common/Makefile: ... not here.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 May 2003 05:06:25 +0000 (05:06 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 May 2003 05:05:57 +0000 (05:05 +0000)]
Update.

2003-05-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
(pthread_condattr_t): Size is only an int, don't use long for
alignment.
(pthread_mutexattr_t): Likewise.
(pthread_barrierattr_t): Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/pthreadtypes.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 3 May 2003 00:29:56 +0000 (00:29 +0000)]
Update.

* sysdeps/unix/sysv/linux/s390/semtimedop.c: New file.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 23:25:53 +0000 (23:25 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/ipc_priv.h (IPCOP_semtimedop): Define.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 22:37:58 +0000 (22:37 +0000)]
Update.

* sysdeps/generic/dl-fptr.c (_dl_make_fptr): Use 0 not NULL for
comparing ftab elements.
(_dl_unmap): Fix typo in test.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 22:33:15 +0000 (22:33 +0000)]
Update.

* sysdeps/generic/dl-fptr.c (_dl_unmap): Fix typo in test.
(_dl_make_fptr): Fix typos introduced in last change.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 08:21:14 +0000 (08:21 +0000)]
Update.

2003-05-02  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/dl-fptr.c: Put back one optimization from the
original patch.  Use non-exported symbols.  Mark translatable
strings.  Pretty printing.

21 years agoPut back one optimization from the original patch. Use non-exported symbols. Mark...
Ulrich Drepper [Fri, 2 May 2003 08:19:41 +0000 (08:19 +0000)]
Put back one optimization from the original patch. Use non-exported symbols.  Mark translatable strings.  Pretty printing.

21 years ago* Makerules (do-stamp): Do $(make-target-directory).
Roland McGrath [Fri, 2 May 2003 07:19:38 +0000 (07:19 +0000)]
* Makerules (do-stamp): Do $(make-target-directory).

21 years ago2003-05-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 May 2003 07:19:19 +0000 (07:19 +0000)]
2003-05-02  Roland McGrath  <roland@redhat.com>

* Makerules (do-stamp): Do $(make-target-directory).

21 years agoGeneric symbol address handling for platforms with function pointers.
Ulrich Drepper [Fri, 2 May 2003 03:28:25 +0000 (03:28 +0000)]
Generic symbol address handling for platforms with function pointers.

21 years agoUpdate.
Ulrich Drepper [Fri, 2 May 2003 02:41:09 +0000 (02:41 +0000)]
Update.

2003-04-07  H.J. Lu  <hjl@gnu.org>

* sysdeps/generic/dl-fptr.c: Modify to remove the lock.

2003-04-03  H.J. Lu  <hjl@gnu.org>

* sysdeps/ia64/dl-fptr.c: Moved to ...
* sysdeps/generic/dl-fptr.c: Here.

* sysdeps/generic/dl-fptr.h: New.
* sysdeps/ia64/dl-fptr.h: New.

* sysdeps/ia64/dl-symaddr.c: Moved to ...
* sysdeps/generic/dl-symaddr.c: here.

* sysdeps/ia64/dl-machine.h: Include <dl-fptr.h>.
(IA64_BOOT_FPTR_TABLE_LEN): Removed.
(ia64_fdesc): Likewise.
(ia64_fdesc_table): Likewise.
(__ia64_make_fptr): Likewise.
(__ia64_init_bootstrap_fdesc_table): Replace __ia64_boot_fptr_table
with _dl_boot_fptr_table.
(elf_machine_runtime_setup): Replace `struct ia64_fdesc' with
`struct fdesc'.
(elf_machine_rela): Replace __ia64_make_fptr with _dl_make_fptr.

21 years agoNot needed anymore.
Ulrich Drepper [Fri, 2 May 2003 02:34:55 +0000 (02:34 +0000)]
Not needed anymore.

21 years ago* sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__].
Roland McGrath [Fri, 2 May 2003 02:21:25 +0000 (02:21 +0000)]
* sysdeps/generic/bp-thunks.h: Protect includes with [!__ASSEMBLER__].

* sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.

* sysdeps/unix/sysv/linux/Makefile ($(objpfx)syscall-%.h):
Use $(make-target-directory).
* sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.

* Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d.
(compile-command.S): Don't use ifndef.  Append $(compile-mkdep-flags).
(compile-command.s, compile-command.c): Likewise.
($(objpfx)%.d): All such pattern rules removed.
($(+sysdir_pfx)sysd-rules): Don't generate them.
($(common-objpfx)dummy.d): Target removed.
(make-dummy-dep): Variable removed.
(generate-md5): Likewise.
(%.d: %.dt): New pattern rule.
(+depfiles): Use $(wildcard) function to get just existing *.d files
and .d files for existing *.dt files.
(common-clean): Remove all *.d and *.dt files.
(before-compile): Add $(objpfx). when it doesn't exist,
regardless of $(no_deps).
* elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed.
(rtld-depfiles): Use .os.d instead of .d names.
Include existing *.d files and .d files for existing *.dt files.

* Makerules ($(common-objpfx)%.make): Protect with [! subdir].
Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable.

* sysdeps/unix/Makefile ($(common-objpfx)s-%.d): Remove compat.h hack.
Do s-*.d includes only if we have some syscall routines in this subdir.

* include/libc-symbols.h (libc_freeres_ptr): Use %nobits instead of
@nobits.  The former is accepted by gas on any ELF platform.

21 years ago2003-05-01 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 2 May 2003 02:20:45 +0000 (02:20 +0000)]
2003-05-01  Roland McGrath  <roland@redhat.com>

* Makerules (compile-mkdep-flags): New variable, pass -MD -MF $@.d.
(compile-command.S): Don't use ifndef.  Append $(compile-mkdep-flags).
(compile-command.s, compile-command.c): Likewise.
($(objpfx)%.d): All such pattern rules removed.
($(+sysdir_pfx)sysd-rules): Don't generate them.
($(common-objpfx)dummy.d): Target removed.
(make-dummy-dep): Variable removed.
(generate-md5): Likewise.
(%.d: %.dt): New pattern rule.
(+depfiles): Use $(wildcard) function to get just existing *.d files
and .d files for existing *.dt files.
(common-clean): Remove all *.d and *.dt files.
(before-compile): Add $(objpfx). when it doesn't exist,
regardless of $(no_deps).
* elf/rtld-Rules ($(objpfx)rtld-%.d): All such pattern rules removed.
(rtld-depfiles): Use .os.d instead of .d names.
Include existing *.d files and .d files for existing *.dt files.
* Makerules ($(common-objpfx)%.make): Protect with [! subdir].
Use -MD, -MT and -MF flags instead of SUNPRO_DEPENDENCIES variable.

21 years agoUpdate.
Ulrich Drepper [Thu, 1 May 2003 23:19:51 +0000 (23:19 +0000)]
Update.

2003-05-01  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/i386/tls.h: Define THREAD_ID.
* sysdeps/ia64/tls.h: Likewise.
* sysdeps/powerpc/tls.h: Likewise.
* sysdeps/s390/tls.h: Likewise.
* sysdeps/sh/tls.h: Likewise.
* sysdeps/x86_64/tls.h: Likewise.
* pthread_mutex_lock.c: Use THREAD_ID instead of THREAD_SELF to
record ownership.
* pthread_mutex_timedlock.c: Likewise.
* pthread_mutex_trylock.c: Likewise.
* pthread_mutex_unlock.c: Likewise.
* pthread_rwlock_trywrlock.c: Likewise.
* sysdeps/pthread/pthread_rwlocklock_rdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise.

* sysdeps/pthread/createthread.c (create_thread): Use CLONE_SYSVSEM
flag.

21 years agoUpdate.
Ulrich Drepper [Thu, 1 May 2003 21:41:01 +0000 (21:41 +0000)]
Update.

* sysdeps/unix/sysv/linux/semtimedop.c: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 1 May 2003 07:38:32 +0000 (07:38 +0000)]
Update.

2003-05-01  Ulrich Drepper  <drepper@redhat.com>

* malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary.

2003-04-29  Andreas Schwab  <schwab@suse.de>

* string/test-strcat.c (do_one_test): Fix attribute name.