platform/upstream/glibc.git
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.

21 years ago2003-02-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 27 Feb 2003 20:47:12 +0000 (20:47 +0000)]
2003-02-27  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/tls.h [HAVE_TLS_SUPPORT]: Define USE_TLS and all
related macros.

21 years agoUpdate.
Ulrich Drepper [Thu, 27 Feb 2003 19:49:35 +0000 (19:49 +0000)]
Update.

* tst-rwlock9.c (writer_thread): Correct adding TIMEOUT.
(reader_thread): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 27 Feb 2003 10:32:38 +0000 (10:32 +0000)]
Update.

2003-02-24  David Mosberger  <davidm@hpl.hp.com>

* sysdeps/unix/sysv/linux/ia64/sysdep.S (__syscall_error): Fix
unwind info.

21 years agoUpdate.
Ulrich Drepper [Thu, 27 Feb 2003 09:16:51 +0000 (09:16 +0000)]
Update.

* resolv/res_libc.c [USE___THREAD] (_res): Don't need the
initializer anymore now that res_thread_freeres is more careful.

21 years agoPretty printing.
Ulrich Drepper [Thu, 27 Feb 2003 09:12:05 +0000 (09:12 +0000)]
Pretty printing.

* sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S [SHARED]:

21 years agoUpdate.
Ulrich Drepper [Thu, 27 Feb 2003 08:03:17 +0000 (08:03 +0000)]
Update.

Patch by Neil Brown <neilb@cse.unsw.edu.au> [PR libc/4973].

21 years agoUpdate.
Ulrich Drepper [Thu, 27 Feb 2003 08:01:47 +0000 (08:01 +0000)]
Update.

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

* sunrpc/svc_udp.c (svcudp_recv): Remove all control messages
except the PKTINFO.  Reset interface in PKTINFO.

* elf/elf.h: Add new R_PPC64_* relocs for TLS.
* elf/tls-macros.h [__powerpc64__] (TLS_LE, TLS_IE, TLS_LD, TLS_GD):
Define.
* sysdeps/powerpc/elf/libc-start.c (__libc_start_main):

21 years agoUpdate.
Ulrich Drepper [Thu, 27 Feb 2003 04:42:04 +0000 (04:42 +0000)]
Update.

* Makefile (tests): Add tst-dlsym1.
* tst-dlsym1.c: New file.

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

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

* init.c (__pthread_initialize_minimal_internal): Set
GL(dl_error_catch_tsd) to __libc_dl_error_tsd.
* Versions (libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd.

21 years ago(libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd.
Ulrich Drepper [Thu, 27 Feb 2003 04:09:48 +0000 (04:09 +0000)]
(libc:GLIBC_PRIVATE): Export __libc_dl_error_tsd.

21 years ago* sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
Roland McGrath [Wed, 26 Feb 2003 00:34:09 +0000 (00:34 +0000)]
* sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.

* sysdeps/powerpc/powerpc64/dl-tls.h: New file.

21 years agoRevert unintentional commits.
Roland McGrath [Wed, 26 Feb 2003 00:01:15 +0000 (00:01 +0000)]
Revert unintentional commits.

21 years agolinuxthreads/ChangeLog
Roland McGrath [Tue, 25 Feb 2003 23:45:16 +0000 (23:45 +0000)]
linuxthreads/ChangeLog

2003-02-25  Roland McGrath  <roland@redhat.com>

* sysdeps/powerpc/powerpc64/dl-machine.h: Support new TLS relocs.
* sysdeps/powerpc/powerpc64/dl-tls.h: New file.

21 years ago2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
Roland McGrath [Tue, 25 Feb 2003 23:27:06 +0000 (23:27 +0000)]
2003-02-25  Steven Munroe  <sjmunroe@us.ibm.com>

        * elf/elf.h: Add new R_PPC64_* relocs for TLS.
        * elf/tls-macros.h [__powerpc64__]
        (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Define.
* sysdeps/powerpc/powerpc64/elf/configure.in: New file.
* sysdeps/powerpc/powerpc64/elf/configure: New file (generated).

        * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.

21 years ago2003-02-25 Steven Munroe <sjmunroe@us.ibm.com>
Roland McGrath [Tue, 25 Feb 2003 23:26:51 +0000 (23:26 +0000)]
2003-02-25  Steven Munroe  <sjmunroe@us.ibm.com>

        * sysdeps/powerpc/elf/libc-start.c (__libc_start_main):
Do DL_SYSDEP_OSCHECK here, matching 2002-12-01 change to generic file.

21 years agoUpdate.
Andreas Jaeger [Tue, 25 Feb 2003 10:10:42 +0000 (10:10 +0000)]
Update.

2003-02-25  Andreas Jaeger  <aj@suse.de>

* manual/memory.texi (Malloc Tunable Parameters): Clarify
behaviour of M_MMAP_THRESHOLD.

21 years ago* manual/memory.texi (Malloc Tunable Parameters): Clarify
Andreas Jaeger [Tue, 25 Feb 2003 10:10:35 +0000 (10:10 +0000)]
* manual/memory.texi (Malloc Tunable Parameters): Clarify

behaviour of M_MMAP_THRESHOLD.

21 years ago* resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
Roland McGrath [Tue, 25 Feb 2003 09:18:27 +0000 (09:18 +0000)]
* resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is

zero, inidicating _res was not initialized yet.

21 years ago2003-02-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 25 Feb 2003 09:18:17 +0000 (09:18 +0000)]
2003-02-25  Roland McGrath  <roland@redhat.com>

* resolv/res_init.c (res_thread_freeres): Bail out if _res.nscount is
zero, inidicating _res was not initialized yet.

21 years ago(sem_open): Only call __libc_close if file descriptor is valid.
Ulrich Drepper [Tue, 25 Feb 2003 08:47:25 +0000 (08:47 +0000)]
(sem_open): Only call __libc_close if file descriptor is valid.

21 years agoUpdate.
Ulrich Drepper [Tue, 25 Feb 2003 06:19:22 +0000 (06:19 +0000)]
Update.

* sem_open.c (sem_open): Fix handling of O_CREAT without O_EXCL.

21 years agoUpdate.
Ulrich Drepper [Tue, 25 Feb 2003 02:46:33 +0000 (02:46 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Remove EACCES
test.

21 years agoUpdate.
Ulrich Drepper [Tue, 25 Feb 2003 00:10:26 +0000 (00:10 +0000)]
Update.

* tst-rwlock8.c (reader_thread): Remove unused variable.

21 years ago(reader_thread): Remove unused variable.
Ulrich Drepper [Tue, 25 Feb 2003 00:10:01 +0000 (00:10 +0000)]
(reader_thread): Remove unused variable.

21 years ago* sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.
Roland McGrath [Mon, 24 Feb 2003 22:36:01 +0000 (22:36 +0000)]
* sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.

21 years ago2003-02-24 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 24 Feb 2003 22:35:53 +0000 (22:35 +0000)]
2003-02-24  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/pause.c: Add LIBC_CANCEL_HANDLED.

21 years agoBump to 0.26.
Ulrich Drepper [Mon, 24 Feb 2003 10:05:02 +0000 (10:05 +0000)]
Bump to 0.26.

21 years agoUpdate.
Ulrich Drepper [Mon, 24 Feb 2003 10:03:02 +0000 (10:03 +0000)]
Update.

* Makefile: Add rules to build and run tst-tls3.
* tst-tls3.c: New file.
* tst-tls3mod.c: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 24 Feb 2003 09:23:15 +0000 (09:23 +0000)]
Update.

* sysdeps/pthread/pthread_rwlock_rdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedrdlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_timedwrlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_unlock.c: Likewise.
* sysdeps/pthread/pthread_rwlock_wrlock.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 24 Feb 2003 08:50:25 +0000 (08:50 +0000)]
Update.

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

* Makefile (tests): Add tst-rwlock8 and tst-rwlock9.
* tst-rwlock8.c: New file.
* tst-rwlock9.c: New file.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Fix
complete broken rwlock implementation.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: Likewise.

21 years agoStress test of timed rwlock functions.
Ulrich Drepper [Mon, 24 Feb 2003 08:48:33 +0000 (08:48 +0000)]
Stress test of timed rwlock functions.

21 years ago* Makefile (nptl-version): Change regexp so case sensitivity is ok.
Roland McGrath [Mon, 24 Feb 2003 07:19:55 +0000 (07:19 +0000)]
* Makefile (nptl-version): Change regexp so case sensitivity is ok.

21 years ago2003-02-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 24 Feb 2003 07:19:44 +0000 (07:19 +0000)]
2003-02-23  Roland McGrath  <roland@redhat.com>

* Makefile (nptl-version): Change regexp so case sensitivity is ok.

21 years agoUpdate.
Ulrich Drepper [Mon, 24 Feb 2003 04:59:26 +0000 (04:59 +0000)]
Update.

* Makefile (tests): Add tst-context1.
* tst-context1.c: New file.

21 years agoTest *context functions in threads.
Ulrich Drepper [Mon, 24 Feb 2003 04:58:42 +0000 (04:58 +0000)]
Test *context functions in threads.

21 years ago* sysdeps/posix/pause.c: New file.
Roland McGrath [Mon, 24 Feb 2003 03:51:35 +0000 (03:51 +0000)]
* sysdeps/posix/pause.c: New file.

* sysdeps/unix/common/pause.c: File removed.

21 years ago2003-02-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 24 Feb 2003 03:51:24 +0000 (03:51 +0000)]
2003-02-23  Roland McGrath  <roland@redhat.com>

* sysdeps/posix/pause.c: New file.
* sysdeps/unix/common/pause.c: File removed.

21 years agoUpdate.
Ulrich Drepper [Mon, 24 Feb 2003 03:50:46 +0000 (03:50 +0000)]
Update.

* Makefile (tests): Add tst-tls1 and tst-tls2.
* tst-tls1.c: New file.
* tst-tls2.c: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 24 Feb 2003 00:12:23 +0000 (00:12 +0000)]
Update.

* sysdeps/generic/bits/confname.h: Remove #ifs.

21 years agoUpdate.
Ulrich Drepper [Sun, 23 Feb 2003 09:58:08 +0000 (09:58 +0000)]
Update.

* posix/Makefile (CFLAGS-regex.c): Remove RE_ENABLE_I18N definition.
* posix/regex_internal.h (RE_ENABLE_I18N): Pretty printing.

21 years agoUpdate.
Ulrich Drepper [Sun, 23 Feb 2003 09:16:11 +0000 (09:16 +0000)]
Update.

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

* resolv/res_libc.c [USE___THREAD] (_res): Initialize _vcsock
element to -1.

21 years agoUpdate.
Ulrich Drepper [Sun, 23 Feb 2003 07:20:34 +0000 (07:20 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Shave
off 3 more bytes by using offset-less instructions when possible.

21 years agoUpdate.
Ulrich Drepper [Sun, 23 Feb 2003 05:08:59 +0000 (05:08 +0000)]
Update.

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

* sysdeps/generic/dl-sysdep.c: Avoid warning.

21 years agoAvoid warning.
Ulrich Drepper [Sun, 23 Feb 2003 05:05:02 +0000 (05:05 +0000)]
Avoid warning.

21 years ago* resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
Roland McGrath [Sun, 23 Feb 2003 03:35:48 +0000 (03:35 +0000)]
* resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.

* resolv/Makefile (tests): Add tst-leaks.
($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
(tst-leaks-ENV): New variable.
($(objpfx)mtrace-tst-leaks): New target.
(tests): Depend on it.

21 years ago2003-02-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 23 Feb 2003 03:35:39 +0000 (03:35 +0000)]
2003-02-22  Roland McGrath  <roland@redhat.com>

* resolv/tst-leaks.c: New file by Daniel Jacobowitz <drow@mvista.com>.
* resolv/Makefile (tests): Add tst-leaks.
($(objpfx)tst-leaks): Depend on $(objpfx)libresolv.so.
(tst-leaks-ENV): New variable.
($(objpfx)mtrace-tst-leaks): New target.
(tests): Depend on it.

21 years agoRegenerated from source files
Ulrich Drepper [Sat, 22 Feb 2003 23:36:14 +0000 (23:36 +0000)]
Regenerated from source files

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 23:19:31 +0000 (23:19 +0000)]
Update.

* catgets/Makefile: Add rules to run test2.msg test.
* catgets/test2.msg: New file.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 23:15:39 +0000 (23:15 +0000)]
Update.

* catgets/gencat.c (read_input_file): Collision between
auto-assigned numbers and user-defined nubmers is not fatal.
Handle it.
Patch by Michael M. Lampkin <michael.lampkin@ieee.org>.

* catgets/gencat.c (main): Return 1 if messages have been printed.

21 years agoAdd dependency for $(objpfx)version.d.
Ulrich Drepper [Sat, 22 Feb 2003 22:52:12 +0000 (22:52 +0000)]
Add dependency for $(objpfx)version.d.