platform/upstream/glibc.git
21 years agoUpdate.
Ulrich Drepper [Sun, 9 Mar 2003 23:59:21 +0000 (23:59 +0000)]
Update.

* po/da.po: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 9 Mar 2003 22:52:20 +0000 (22:52 +0000)]
Update.

* po/ca.po: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 9 Mar 2003 17:48:04 +0000 (17:48 +0000)]
Update.

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

* po/fi.po: Update from translation team.

21 years agoUpdate.
Ulrich Drepper [Sat, 8 Mar 2003 18:56:15 +0000 (18:56 +0000)]
Update.

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

* rt/tst-aio7.c (do_test): Change BYTES into a #define.

21 years agoUpdate.
Ulrich Drepper [Sat, 8 Mar 2003 10:30:42 +0000 (10:30 +0000)]
Update.

* tst-tls2.c (do_test): Add TEMP_FAILURE_RETRY around sem_wait call.
* tst-signal3.c (do_test): Likewise.
* tst-sem5.c (do_test): Likewise.
* tst-kill6.c (do_test): Likewise.
* tst-tls3.c (do_test): Likewise.  Include <errno.h>.

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use add/sub instead
of inc/dec.
* sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise.
* sysdeps/unix/sysv/linux/i386/pthread_once.S: Likewise
* sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 8 Mar 2003 09:41:16 +0000 (09:41 +0000)]
Update.

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

* allocatestack.c (allocate_stack): If mprotect() fails free the
TLS memory.

21 years agoUpdate.
Ulrich Drepper [Fri, 7 Mar 2003 22:23:23 +0000 (22:23 +0000)]
Update.

* rt/tst-aio7.c (do_test): Give buff permanent extend, too.

21 years agoUpdate.
Ulrich Drepper [Fri, 7 Mar 2003 21:22:27 +0000 (21:22 +0000)]
Update.

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

* sysdeps/powerpc/fpu/w_sqrt.c: Fix comment.

21 years agoUpdate.
Ulrich Drepper [Fri, 7 Mar 2003 18:37:10 +0000 (18:37 +0000)]
Update.

* sysdeps/i386/i486/bits/atomic.h: Fix a few unused definitions.

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Remove all trace of
lll_wake_tid.  This was used only to work around kernel limits in
the early days.
* sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
* sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.

21 years agoFix a few unused definitions.
Ulrich Drepper [Fri, 7 Mar 2003 18:34:43 +0000 (18:34 +0000)]
Fix a few unused definitions.

21 years ago* sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
Roland McGrath [Fri, 7 Mar 2003 10:07:23 +0000 (10:07 +0000)]
* sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.

* sysdeps/s390/s390-64/sysdep.h (L): Likewise.

21 years ago2003-03-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 7 Mar 2003 10:06:56 +0000 (10:06 +0000)]
2003-03-07  Roland McGrath  <roland@redhat.com>

* sysdeps/s390/s390-32/sysdep.h (L): Use .Lfoo instead of foo.
* sysdeps/s390/s390-64/sysdep.h (L): Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 7 Mar 2003 09:55:05 +0000 (09:55 +0000)]
Update.

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

* init.c (__static_tls_align_m1): Renamed from __static_tls_align.
(__pthread_initialize_minimal_internal): Change initialization of
__static_tls_align_m1 appropriately.
* pthreadP.h (__static_tls_align_m1): Renamed from
__static_tls_align.
* allocatestack.c (allocate_stack): Use __static_tls_align_m1
instead of __static_tls_align-1.

21 years ago(__static_tls_align_m1): Renamed from __static_tls_align. (__pthread_initialize_minim...
Ulrich Drepper [Fri, 7 Mar 2003 09:53:04 +0000 (09:53 +0000)]
(__static_tls_align_m1): Renamed from __static_tls_align. (__pthread_initialize_minimal_internal): Change initialization of __static_tls_align_m1 appropriately.

21 years agoupdate.
Andreas Jaeger [Fri, 7 Mar 2003 09:48:51 +0000 (09:48 +0000)]
update.

2003-03-04  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
stubs, we have INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
MAP_NONBLOCK.

21 years ago2003-03-04 Guido Guenther <agx@sigxcpu.org>
Andreas Jaeger [Fri, 7 Mar 2003 09:46:33 +0000 (09:46 +0000)]
2003-03-04  Guido Guenther  <agx@sigxcpu.org>

* sysdeps/unix/sysv/linux/mips/syscalls.list: Remove unneeded
stubs, we have INLINE_SYSCALL.
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Define MAP_POPULATE,
MAP_NONBLOCK.

21 years agoUpdate.
Ulrich Drepper [Fri, 7 Mar 2003 05:32:16 +0000 (05:32 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Thu, 6 Mar 2003 21:40:32 +0000 (21:40 +0000)]
Update.

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

* tst-cancel4.c (tf_sleep): Lower sleep time a bit to not upset
recent kernels.

21 years ago(tf_sleep): Lower sleep time a bit to not upset recent kernels.
Ulrich Drepper [Thu, 6 Mar 2003 21:39:15 +0000 (21:39 +0000)]
(tf_sleep): Lower sleep time a bit to not upset recent kernels.

21 years ago* rt/tst-aio7.c (do_test): Revert last change. Instead, give CB1
Roland McGrath [Thu, 6 Mar 2003 20:21:47 +0000 (20:21 +0000)]
* rt/tst-aio7.c (do_test): Revert last change.  Instead, give CB1

permanent extent and add a comment about testing its implicit teardown.

21 years ago* rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.
Roland McGrath [Thu, 6 Mar 2003 19:17:05 +0000 (19:17 +0000)]
* rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.

21 years ago2003-03-06 Martin Schwidefsky <schwidefsky@de.ibm.com>
Roland McGrath [Thu, 6 Mar 2003 19:16:53 +0000 (19:16 +0000)]
2003-03-06  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* rt/tst-aio7.c (do_test): Cancel i/o on CB1 before it's out of scope.

21 years agoUpdate.
Ulrich Drepper [Thu, 6 Mar 2003 07:13:01 +0000 (07:13 +0000)]
Update.

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

* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Fix
reversed __builtin_expect expectation.

21 years ago(_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.
Ulrich Drepper [Thu, 6 Mar 2003 06:40:43 +0000 (06:40 +0000)]
(_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.

21 years ago* stdio-common/sscanf.c: Use prototype defn with ... syntax.
Roland McGrath [Wed, 5 Mar 2003 19:58:20 +0000 (19:58 +0000)]
* stdio-common/sscanf.c: Use prototype defn with ... syntax.

* libio/swscanf.c: Likewise.
* libio/swprintf.c: Likewise.

21 years ago* sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.
Roland McGrath [Wed, 5 Mar 2003 03:27:24 +0000 (03:27 +0000)]
* sysdeps/powerpc/powerpc64/dl-machine.h: Include <dl-tls.h>.

(elf_machine_rela): Always use RESOLVE_MAP, needed for
R_PPC64_JMP_SLOT as well as TLS cases.
(BIT_INSERT): Move parenthesis where it ought to have been.
Reported by Steven Munroe <sjmunroe@us.ibm.com>.

21 years ago* posix/confstr.c (confstr): Correct STRING_LEN values for
Roland McGrath [Wed, 5 Mar 2003 03:02:35 +0000 (03:02 +0000)]
* posix/confstr.c (confstr): Correct STRING_LEN values for

_CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing
break.  Reported by Alexandre Julliard <julliard@winehq.com>.

21 years ago2003-03-04 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 5 Mar 2003 03:02:26 +0000 (03:02 +0000)]
2003-03-04  Roland McGrath  <roland@redhat.com>

* posix/confstr.c (confstr): Correct STRING_LEN values for
_CS_GNU_LIBC_VERSION and _CS_GNU_LIBPTHREAD_VERSION, add missing
break.  Reported by Alexandre Julliard <julliard@winehq.com>.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 23:01:30 +0000 (23:01 +0000)]
Update.

2003-03-04  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/ia64/fpu/libm-test-ulps: Regenerated.

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

* pthread_attr_setstack.c: Moved to...
* sysdeps/pthread/pthread_attr_setstack.c: ...here.  New file.
* pthread_attr_setstackaddr.c: Moved to...
* sysdeps/pthread/pthread_attr_setstackaddr.c: ...here.  New file.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 20:55:08 +0000 (20:55 +0000)]
Update.

* pthread_create.c: Define __pthread_keys using nocommon
attribute, not by placing it explicitly in bss.
Remove DEFINE_DEALLOC definition.  Not needed anymore.

* allocatestack.c: Define ARCH_MAP_FLAGS if not already defined.
Use it in mmap call to allocate stacks.

* sysdeps/pthread/createthread.c (create_thread): Fix comment.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 19:46:28 +0000 (19:46 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/clone.S: Add support for the new
clone parameters.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 19:20:26 +0000 (19:20 +0000)]
Update.

* misc/Versions [libc:GLIBC_2.3.3]: Add remap_file_pages.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 18:38:38 +0000 (18:38 +0000)]
Update.

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

* po/sv.po: Update from translation team.

    Ulrich Drepper  <drepper@redhat.com>

21 years agoUpdate from translation team.
Ulrich Drepper [Tue, 4 Mar 2003 18:25:34 +0000 (18:25 +0000)]
Update from translation team.

21 years agoClarify comment.
Andreas Jaeger [Tue, 4 Mar 2003 12:33:28 +0000 (12:33 +0000)]
Clarify comment.

21 years agoUpdate.
Andreas Jaeger [Tue, 4 Mar 2003 12:33:24 +0000 (12:33 +0000)]
Update.

2003-03-04  Andreas Jaeger  <aj@suse.de>
    Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sysdep.h: Fix comments.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 08:56:12 +0000 (08:56 +0000)]
Update.

* sysdeps/generic/dl-sysdep.h: Add double include protection.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 07:58:19 +0000 (07:58 +0000)]
Update.

* sysdeps/unix/sysv/linux/s390/dl-sysdep.h: Removed.  The generic
version is just fine.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 04:22:47 +0000 (04:22 +0000)]
Update.

* po/tr.po: Update from translation team.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 04:20:46 +0000 (04:20 +0000)]
Update.

* po/tr.po: Update from translation team.

21 years agoUpdate.
Ulrich Drepper [Tue, 4 Mar 2003 00:10:34 +0000 (00:10 +0000)]
Update.

* elf/dl-load.c (_dl_map_object_from_fd): Determine whether there
are holes between the segments.  Only call mprotect to set
proection to PROT_NONE if there are some.

* elf/dl-load.c (struct filebuf): Actually use FILEBUF_SIZE.
Update comment.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 22:02:13 +0000 (22:02 +0000)]
Update.

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

* include/sched.h (__clone2): Use ... instead of adding all the
new parameters.

21 years ago(pthread_rwlock_timedwrlock): Fix clobber of result variable by lll_futex_timed_wait...
Ulrich Drepper [Mon, 3 Mar 2003 21:26:07 +0000 (21:26 +0000)]
(pthread_rwlock_timedwrlock): Fix clobber of result variable by lll_futex_timed_wait call.

21 years ago* elf/dl-load.c (struct filebuf): Fix typo in last change.
Roland McGrath [Mon, 3 Mar 2003 21:23:04 +0000 (21:23 +0000)]
* elf/dl-load.c (struct filebuf): Fix typo in last change.

21 years ago* sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
Roland McGrath [Mon, 3 Mar 2003 21:21:00 +0000 (21:21 +0000)]
* sysdeps/powerpc/powerpc32/elf/configure.in: Don't define

PI_STATIC_AND_HIDDEN.
* sysdeps/powerpc/powerpc32/elf/configure: Regenerated.

21 years ago2003-03-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 3 Mar 2003 21:20:51 +0000 (21:20 +0000)]
2003-03-03  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/powerpc32/elf/configure.in: Don't define
PI_STATIC_AND_HIDDEN.
* sysdeps/powerpc/powerpc32/elf/configure: Regenerated.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 21:11:12 +0000 (21:11 +0000)]
Update.

2003-03-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* atomic.h (atomic_exchange_and_add): Return newval, not oldval.

* sysdeps/pthread/pthread_cond_timedwait.c (__pthread_cond_timedwait):
Fix handling of cancellation and failing pthread_mutex_unlock call.
* sysdeps/pthread/pthread_cond_wait.c (__condvar_cleanup): Likewise.
(__pthread_cond_wait): Likewise.

* sysdeps/pthread/pthread_rwlock_timedrdlock.c
(pthread_rwlock_timedrdlock): Fix clobber of result variable by
lll_futex_timed_wait call.
* sysdeps/pthread/pthread_rwlock_timedwrlock.c
(pthread_rwlock_timedwrlock): Likewise.

* sysdeps/unix/sysv/linux/s390/libc-lowlevellock.c (___lll_lock):
Don't define lll_unlock_wake_cb and ___lll_timedwait_tid in libc.so.
* sysdeps/unix/sysv/linux/s390/lowlevellock.c: Remove XXX comments.

* sysdeps/unix/sysv/linux/s390/sem_post.c (__new_sem_post): Fix
check of lll_futex_wake return value.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 19:53:27 +0000 (19:53 +0000)]
Update.

2003-03-03  Ian Wienand  <ianw@gelato.unsw.edu.au>

* sysdeps/unix/sysv/linux/ia64/clone2.S: Update to take extra clone
flags.
* include/sched.h: Update clone2 prototype.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 19:41:03 +0000 (19:41 +0000)]
Update.

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

* math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): New definition.
(llrint): Use it to correct return type.
(lrint): Likewise.
(lround): Likewise.
(llround): Likewise.

* po/gl.po: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 19:34:52 +0000 (19:34 +0000)]
Update.

* misc/Makefile (routines): Add remap_file_pages.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 19:08:31 +0000 (19:08 +0000)]
Update.

* elf/dl-load.c (struct filebuf): For 64-bit platforms use 640
byte filebuf size.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 18:36:14 +0000 (18:36 +0000)]
Update.

* libio/fileops.c (_IO_new_file_fopen): Close stillborn descriptor
if ccs parameter isn't valid.  Reported by Andreas Schwab.

2003-03-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall): Add support
for system call numbers > 255.
* sysdeps/unix/sysv/linux/s390/s390-32/syscall.h (DO_CALL,
INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
INTERNAL_SYSCALL): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscall.h (DO_CALL,
INLINE_SYSCALL, INTERNAL_SYSCALL_DIRECT, INTERNAL_SYSCALL_SVC0,
INTERNAL_SYSCALL): Likewise.

2003-03-03  Martin Schwidefsky  <schwidefsky@de.ibm.com>

* sysdeps/generic/dl-tls.c (_dl_deallocate_tls): Don't free the dtv
array if it is the initial dtv.

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

* po/es.po: Update from translation team.
* po/fr.po: Likewise.
* po/sk.po: Likewise.
* po/sv.po: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 10:05:49 +0000 (10:05 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/syscalls.list: Add remap_file_pages entry.
* misc/sys/mman.h: Add prototype for remap_file_pages.
* sysdeps/generic/remap_file_pages.c: New file.

* sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Define MAP_POPULATE
and MAP_NONBLOCK.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise
* sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/mman.h: Likewise.

* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing brace.

21 years agoAdd prototype for remap_file_pages.
Ulrich Drepper [Mon, 3 Mar 2003 09:45:34 +0000 (09:45 +0000)]
Add prototype for remap_file_pages.

21 years ago* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
Roland McGrath [Mon, 3 Mar 2003 09:45:25 +0000 (09:45 +0000)]
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.

* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
argument type.
* sysdeps/ia64/dl-lookupcfg.h: Update decl.

* sysdeps/wordsize-64/strtol_l.c (strtoll_l): Define as weak alias.
* sysdeps/wordsize-64/strtoul_l.c (strtoull_l): Define as weak alias.
* locale/Versions (libc: GLIBC_2.3): Move those to ...
* sysdeps/wordsize-32/Versions (libc: GLIBC_2.3): ... here, new file.
* sysdeps/wordsize-64/Versions (libc: GLIBC_2.3.3) Likewise.
* Versions.def (libc): Add GLIBC_2.3.3 set.

21 years ago2003-03-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 3 Mar 2003 09:45:09 +0000 (09:45 +0000)]
2003-03-03  Roland McGrath  <roland@redhat.com>

* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Revert last change.
* sysdeps/ia64/dl-machine.h: Likewise.
* sysdeps/ia64/dl-symaddr.c (_dl_symbol_address): Remove const from
argument type.
* sysdeps/ia64/dl-lookupcfg.h: Update decl.

21 years agoStub implementation of remap_file_pages.
Ulrich Drepper [Mon, 3 Mar 2003 09:44:55 +0000 (09:44 +0000)]
Stub implementation of remap_file_pages.

21 years ago* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.
Roland McGrath [Mon, 3 Mar 2003 08:44:46 +0000 (08:44 +0000)]
* sysdeps/ia64/dl-fptr.c (__ia64_make_fptr): Add const to MAP arg.

* sysdeps/ia64/dl-machine.h: Update decl.

21 years ago2003-03-03 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 3 Mar 2003 08:43:31 +0000 (08:43 +0000)]
2003-03-03  Roland McGrath  <roland@redhat.com>

* forward.c: Fix typo in __pthread_attr_init_2_0 compat_symbol decl.

21 years agoUpdate.
Andreas Jaeger [Mon, 3 Mar 2003 08:23:47 +0000 (08:23 +0000)]
Update.

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

* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing
brace.

21 years ago* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing
Andreas Jaeger [Mon, 3 Mar 2003 08:23:37 +0000 (08:23 +0000)]
* sysdeps/unix/clock_settime.c (HANDLE_REALTIME): Add missing

brace.

21 years ago* scripts/abilist.awk: Reject data items with apparent 0 size.
Roland McGrath [Mon, 3 Mar 2003 07:43:09 +0000 (07:43 +0000)]
* scripts/abilist.awk: Reject data items with apparent 0 size.

* scripts/merge-abilist.awk: Restore hack to elide pattern foo.*/bar
after foo.* as if it were a duplicate.

* sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.

__ASSUME_POSIX_TIMERS for Linux 2.5.63 and up.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 07:31:25 +0000 (07:31 +0000)]
Update.

* elf/dl-load.c (struct filebuf): Reduce buf array to 512 bytes.

21 years ago(timer_create): Return correct error for CPU clocks.
Ulrich Drepper [Mon, 3 Mar 2003 07:29:24 +0000 (07:29 +0000)]
(timer_create): Return correct error for CPU clocks.

21 years ago2003-03-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 3 Mar 2003 07:11:46 +0000 (07:11 +0000)]
2003-03-02  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/ia64/brk.S: Add .type and .size for __curbrk.

21 years ago2003-03-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 3 Mar 2003 07:11:42 +0000 (07:11 +0000)]
2003-03-02  Roland McGrath  <roland@redhat.com>

* scripts/abilist.awk: Reject data items with apparent 0 size.

21 years ago(struct filebuf): Reduce buf array to 512 bytes.
Ulrich Drepper [Mon, 3 Mar 2003 07:07:44 +0000 (07:07 +0000)]
(struct filebuf): Reduce buf array to 512 bytes.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 05:29:09 +0000 (05:29 +0000)]
Update.

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

* sysdeps/generic/bits/time.h: Define CLOCK_MONOTONIC.
* sysdeps/posix/clock_getres.c: Define code for CLOCK_REALTIME only
if not already defined.  Use SYSDEP_GETRES to allow other files to
provide alternative implementations.
* sysdeps/unix/sysv/linux/clock_getres.c: New file
* sysdeps/unix/clock_gettime.c: Define code for CLOCK_REALTIME only
if not already defined.  Use SYSDEP_GETTIME to allow other files to
provide alternative implementations.
* sysdeps/unix/sysv/linux/clock_gettime.c: New file.
* sysdeps/unix/clock_settime.c: Define code for CLOCK_REALTIME only
if not already defined.  Use SYSDEP_GETTIME to allow other files to
provide alternative implementations.
* sysdeps/unix/sysv/linux/clock_settime.c: New file.
* sysdeps/unix/clock_nanosleep.c: Use SYSDEP_NANOSLEEP to allow
other files to provide alternative implementations.  Rearrange
tests for invalid parameters.
* sysdeps/unix/sysv/linux/clock_nanosleep.c: New file.
* sysdeps/unix/sysv/linux/sysconf.c: New file.
* sysdeps/unix/sysv/linux/kernel-features.h: Define
__ASSUME_POSIX_TIMERS for Linux 2.4.63 and up.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
_POSIX_MONOTONIC_CLOCK.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 05:00:33 +0000 (05:00 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 04:57:09 +0000 (04:57 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/bits/posix_opt.h: Define
_POSIX_MONOTONIC_CLOCK.
* linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.

21 years agoDefine CLOCK_MONOTONIC.
Ulrich Drepper [Mon, 3 Mar 2003 04:42:14 +0000 (04:42 +0000)]
Define CLOCK_MONOTONIC.

21 years ago* scripts/merge-abilist.awk: More checks for bogus input.
Roland McGrath [Mon, 3 Mar 2003 02:38:36 +0000 (02:38 +0000)]
* scripts/merge-abilist.awk: More checks for bogus input.

Uniquify duplicate config names.

* scripts/abilist.awk: Don't distinguish weak symbols in normal output.

21 years ago2003-03-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 3 Mar 2003 02:38:21 +0000 (02:38 +0000)]
2003-03-02  Roland McGrath  <roland@redhat.com>

* scripts/abilist.awk: Don't distinguish weak symbols in normal output.

21 years agoUpdate.
Ulrich Drepper [Mon, 3 Mar 2003 01:20:35 +0000 (01:20 +0000)]
Update.

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

* tst-cancel4.c (tf_sleep): Lower sleep time a bit to not upset
recent kernels.

21 years ago(tf_sleep): Lower sleep time a bit to not upset recent kernels.
Ulrich Drepper [Mon, 3 Mar 2003 01:19:01 +0000 (01:19 +0000)]
(tf_sleep): Lower sleep time a bit to not upset recent kernels.

21 years ago* sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed
Roland McGrath [Mon, 3 Mar 2003 01:05:12 +0000 (01:05 +0000)]
* sysdeps/powerpc/powerpc32/dl-machine.c (_dl_reloc_overflow): Renamed

from dl_reloc_overflow, make global.
(__process_machine_rela): Update callers.
* sysdeps/powerpc/powerpc32/dl-machine.h: Declare _dl_reloc_overflow.
Add attribute_hidden to __process_machine_rela decl.
(elf_machine_type_class, elf_machine_rela): Handle 16-bit TLS relocs.

21 years ago* sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const
Roland McGrath [Mon, 3 Mar 2003 00:20:51 +0000 (00:20 +0000)]
* sysdeps/generic/libc-start.c (__libc_start_main): Don't assign const

variable.

21 years ago* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
Roland McGrath [Sun, 2 Mar 2003 11:45:12 +0000 (11:45 +0000)]
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):

Don't use weak_extern for dl_rtld_map.  Instead check only if [SHARED].
(elf_machine_rela): Clean up.

* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Clean up.

PowerPC TLS support contributed by Paul Mackerras <paulus@samba.org>.
* sysdeps/powerpc/powerpc32/elf/configure.in: New file.
* sysdeps/powerpc/powerpc32/elf/configure: New generated file.
* elf/tls-macros.h [__powerpc__ && !__powerpc64__]
(TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define them.
* sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Support
new relocs for TLS.

* sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
macros out of [SHARED].
(TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.

* elf/elf.h: Define R_PPC_* relocs for TLS support.
Clean up R_PPC64_* macro definition comments.

21 years ago2003-03-02 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 2 Mar 2003 11:41:46 +0000 (11:41 +0000)]
2003-03-02  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/dl-tls.h (TLS_TP_OFFSET, TLS_DTV_OFFSET): Move these
macros out of [SHARED].
(TLS_TPREL_VALUE, TLS_DTPREL_VALUE): New macros.

21 years agoTypo in comment.
Ulrich Drepper [Sun, 2 Mar 2003 08:44:23 +0000 (08:44 +0000)]
Typo in comment.

21 years agoUpdate.
Ulrich Drepper [Sun, 2 Mar 2003 07:54:30 +0000 (07:54 +0000)]
Update.

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

* descr.h (struct pthread): Move cleanup field to the front.

21 years agoUpdate.
Ulrich Drepper [Sun, 2 Mar 2003 07:52:31 +0000 (07:52 +0000)]
Update.

* sysdeps/i386/tcb-offsets.sym: Add CLEANUP and CLEANUP_PREV.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Inline
__pthread_cleanup_pop functionality.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.

21 years agoAdd CLEANUP and CLEANUP_PREV.
Ulrich Drepper [Sun, 2 Mar 2003 07:49:51 +0000 (07:49 +0000)]
Add CLEANUP and CLEANUP_PREV.

21 years ago* configure.in: In "running configure fragment for" message,
Roland McGrath [Sat, 1 Mar 2003 22:40:30 +0000 (22:40 +0000)]
* configure.in: In "running configure fragment for" message,

omit $srcdir from the name if we prepended it.
* configure: Regenerated.

21 years ago* elf/dl-reloc.c (allocate_static_tls): Fix calculations.
Roland McGrath [Sat, 1 Mar 2003 22:32:04 +0000 (22:32 +0000)]
* elf/dl-reloc.c (allocate_static_tls): Fix calculations.

From Jakub Jelinek <jakub@redhat.com>.

* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Revert last change,
which duplicated the O_DIRECT defn.

2003-03-01  GOTO Masanori  <gotom@debian.or.jp>

* stdlib/stdlib.h: Add missing __USE_BSD enclosure for BSD derived
random functions.

* resolv/Makefile (tests): Don't depend on
$(objpfx)mtrace-tst-leaks when cross compiling.

21 years ago2003-03-01 Andreas Schwab <schwab@suse.de>
Roland McGrath [Sat, 1 Mar 2003 22:15:00 +0000 (22:15 +0000)]
2003-03-01  Andreas Schwab  <schwab@suse.de>

* resolv/Makefile (tests): Don't depend on
$(objpfx)mtrace-tst-leaks when cross compiling.

21 years ago* sysdeps/m68k/dl-machine.h (_dl_start_user): Access
Andreas Schwab [Sat, 1 Mar 2003 15:33:19 +0000 (15:33 +0000)]
* sysdeps/m68k/dl-machine.h (_dl_start_user): Access

__libc_stack_end through GOT since it is a global symbol.

21 years ago(_dl_start_user): Access __libc_stack_end through GOT since it is a global symbol.
Andreas Schwab [Sat, 1 Mar 2003 15:33:11 +0000 (15:33 +0000)]
(_dl_start_user): Access __libc_stack_end through GOT since it is a global symbol.

21 years agoUpdate.
Ulrich Drepper [Sat, 1 Mar 2003 09:45:23 +0000 (09:45 +0000)]
Update.

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

* descr.h (struct pthread): Move tid field to the front now that
it is often used.

* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S
(__lll_mutex_timedlock_wait): Remove.
(__lll_mutex_unlock_wake): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S
(__lll_mutex_unlock_wake): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S
(lll_unlock_wake_cb): Don't save and restore %esi.
(__lll_unlock_wake): Add alignment.  Don't save, load, and restore
%esi.
(__lll_timedwait_tid): Add alignment.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S
(__lll_unlock_wake): Add alignment.  Don't save, load, and restore
%esi.
(__lll_timedwait_tid): Removed.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S
(__pthread_cond_broadcast): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
(pthread_barrier_wait): Don't save, load, and restore %esi for
last thread.
* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S
(__pthread_cond_signal): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S
(__pthread_rwlock_unlock): Don't save, load, and restore %esi.
* sysdeps/unix/sysv/linux/i386/i486/sem_post.S (__new_sem_post):
Don't save, load, and restore %esi.

21 years agoUpdate. cvs/glibc-2_3_2 glibc-2.3.2
Ulrich Drepper [Sat, 1 Mar 2003 01:14:31 +0000 (01:14 +0000)]
Update.

* argp/argp.h: Fix a typo.
Reported by H.S.Teoh <hsteoh@quickfur.ath.cx>.

* manual/terminal.texi: Fix cfmakeraw() definition from int to void.

2003-02-27  Pat Rankin  <rankin@pactechdata.com>

* posix/regexec.c (proceed_next_node): Cast re_string_get_buffer to
char *.
(get_subexp): Likewise.

2003-03-01  GOTO Masanori  <gotom@debian.or.jp>

21 years agoUpdate.
Ulrich Drepper [Sat, 1 Mar 2003 00:11:19 +0000 (00:11 +0000)]
Update.

2003-03-01  GOTO Masanori  <gotom@debian.or.jp>

* sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_DIRECT): Define.

2003-02-26  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h (O_DIRECT): Define.

21 years ago(O_DIRECT): Define.
Ulrich Drepper [Sat, 1 Mar 2003 00:09:52 +0000 (00:09 +0000)]
(O_DIRECT): Define.

21 years ago* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove
Roland McGrath [Fri, 28 Feb 2003 04:55:04 +0000 (04:55 +0000)]
* sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Remove

special case for dl_rtld_map in R_PPC64_RELATIVE; it's harmless to
repeat it and avoids the test for the common case.
Clean up and fix calculations for TLS relocs.

* sysdeps/powerpc/powerpc64/dl-tls.h: Moved to ...
* sysdeps/powerpc/dl-tls.h: ... here.
(TLS_TP_OFFSET): New macro.

* sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.

21 years ago2003-02-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 28 Feb 2003 04:54:49 +0000 (04:54 +0000)]
2003-02-27  Roland McGrath  <roland@redhat.com>

* sunrpc/svc_udp.c (svcudp_recv): Add a cast to last change.

21 years agoUpdate.
Ulrich Drepper [Fri, 28 Feb 2003 03:47:32 +0000 (03:47 +0000)]
Update.

21 years agoUpdate.
Ulrich Drepper [Thu, 27 Feb 2003 23:45:12 +0000 (23:45 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
Release lock before waking up the waiters.

21 years agoUpdate.
Ulrich Drepper [Thu, 27 Feb 2003 22:29:25 +0000 (22:29 +0000)]
Update.

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

* sysdeps/i386/fpu/libm-test-ulps: Increase ULPs for yn due to
code generation changes in recent gcc.

21 years ago(do_test): Don't start more than one thread in parallel.
Ulrich Drepper [Thu, 27 Feb 2003 21:48:41 +0000 (21:48 +0000)]
(do_test): Don't start more than one thread in parallel.

21 years ago* sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):
Roland McGrath [Thu, 27 Feb 2003 20:57:19 +0000 (20:57 +0000)]
* sysdeps/powerpc/fpu/fpu_control.h (_FPU_GETCW, _FPU_SETCW):

Rename argument to avoid symbol conflict.

* sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h
[__USE_GNU] (O_DIRECT): New macro.