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

21 years ago* include/libc-internal.h: Declare __libc_thread_freeres.
Roland McGrath [Sat, 22 Feb 2003 22:46:40 +0000 (22:46 +0000)]
* include/libc-internal.h: Declare __libc_thread_freeres.

21 years ago* Makerules: Fix last change to use $($(subdir)-version) when set.
Roland McGrath [Sat, 22 Feb 2003 21:47:19 +0000 (21:47 +0000)]
* Makerules: Fix last change to use $($(subdir)-version) when set.

21 years ago* Makerules (install-lib-nosubdir): Depend on installed
Roland McGrath [Sat, 22 Feb 2003 20:32:58 +0000 (20:32 +0000)]
* Makerules (install-lib-nosubdir): Depend on installed

libfoo-X.Y.Z.so and libfoo.so.NN files so they are installed
regardless of the libfoo.so target's dependencies.

21 years ago* MakeTAGS (sub-make-vars): New variable, includes generating=t.
Roland McGrath [Sat, 22 Feb 2003 20:20:37 +0000 (20:20 +0000)]
* MakeTAGS (sub-make-vars): New variable, includes generating=t.

Use that in $(MAKE) calls.

21 years ago2003-02-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 22 Feb 2003 20:20:29 +0000 (20:20 +0000)]
2003-02-22  Roland McGrath  <roland@redhat.com>

* MakeTAGS (sub-make-vars): New variable, includes generating=t.
Use that in $(MAKE) calls.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 20:02:35 +0000 (20:02 +0000)]
Update.

* iconv/iconv_prog.c (main): Unify messages.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 09:12:20 +0000 (09:12 +0000)]
Update.

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

* stdlib/strtod.c (INTERNAL): Remove bogus clearing of second word
when shifting retval.
* stdlib/tst-strtod.c (main): Add strtold test case.
Reported by Fred J. Tydeman <tydeman@tybor.com>.

21 years ago(main): Add strtold test case.
Ulrich Drepper [Sat, 22 Feb 2003 09:10:06 +0000 (09:10 +0000)]
(main): Add strtold test case.

21 years ago* pthread_create.c (start_thread): Call __libc_thread_freeres.
Roland McGrath [Sat, 22 Feb 2003 08:33:33 +0000 (08:33 +0000)]
* pthread_create.c (start_thread): Call __libc_thread_freeres.

21 years ago2003-02-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 22 Feb 2003 08:33:25 +0000 (08:33 +0000)]
2003-02-21  Roland McGrath  <roland@redhat.com>

* pthread_create.c (start_thread): Call __libc_thread_freeres.

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

* Makefile (tests): Add tst-eintr1.
(distribute): Add eintr.c.
* tst-eintr1.c: New file.
* eintr.c: New file.

21 years agoTest for pthread_create and pthread_koin not returning EINTR.
Ulrich Drepper [Sat, 22 Feb 2003 05:22:31 +0000 (05:22 +0000)]
Test for pthread_create and pthread_koin not returning EINTR.

21 years ago* malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.
Roland McGrath [Sat, 22 Feb 2003 01:58:06 +0000 (01:58 +0000)]
* malloc/thread-freeres.c: Conditionalize on _LIBC_REENTRANT.

* sunrpc/rpc_thread.c: Likewise for text_set_element use.
(__rpc_thread_destroy): Add it to __libc_subfreeres too.

* include/resolv.h: Add libc_hidden_proto for __res_nclose.
* resolv/res_init.c (__res_nclose): Add libc_hidden_def.
(res_thread_freeres): New function, on __libc_thread_subfreeres and
__libc_subfreeres.

* malloc/Versions (libc: GLIBC_PRIVATE): Add __libc_thread_freeres.
* sunrpc/Versions (libc: GLIBC_PRIVATE): Removed.

21 years ago* malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.
Roland McGrath [Sat, 22 Feb 2003 00:55:36 +0000 (00:55 +0000)]
* malloc/Versions (GLIBC_PRIVATE): Add __libc_thread_freeres.

* malloc/thread-freeres.c: New file.
* malloc/Makefile (aux): Add it.
* sunrpc/Versions (GLIBC_PRIVATE): Removed.
* sunrpc/rpc_thread.c (__rpc_thread_destroy): Put in special section
"__libc_thread_freeres_fn" and add to __libc_thread_subfreeres set.

* sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
* sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.

2003-02-21  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/opendir.c (__opendir): Use O_NONBLOCK in open.

* iconvdata/Makefile (tests): Add bug-iconv3 only if
[$(have-thread-library) = yes].

21 years ago2003-02-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 22 Feb 2003 00:26:55 +0000 (00:26 +0000)]
2003-02-21  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/geteuid.c (__geteuid): Typo fix.
* sysdeps/unix/sysv/linux/i386/getgid.c (__getgid): Typo fix.

21 years agoUpdate.
Ulrich Drepper [Sat, 22 Feb 2003 00:02:57 +0000 (00:02 +0000)]
Update.

* sysdeps/unix/sysv/linux/bits/signum.h (__SIGRTMAX): Define as _NSIG.

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

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

* sysdeps/unix/sysv/linux/i386/getuid.c: Use INTERNAL_SYSCALL and do
not chechk for errors (unless testing for 32bit variant).
* sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
* sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.

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

* pthread_cancel.c (pthread_cancel): Use tkill directly.

* sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill):
Disallow sending SIGCANCEL.

tst-kill3, tst-kill4, tst-kill5.
* tst-kill1.c: New file.
* tst-kill2.c: New file.
* tst-kill3.c: New file.
* tst-kill5.c: New file.
* tst-basic7.c: Renamed to...
* tst-kill4.c: ...this.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 20:29:49 +0000 (20:29 +0000)]
Update.

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

* Makefile (tests): Remove tst-basic7.  Add tst-kill1, tst-kill2,
tst-kill3, tst-kill4.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 19:25:36 +0000 (19:25 +0000)]
Update.

* sysdeps/x86_64/dl-machine.h (elf_machine_rela) <R_X86_64_PC32>:
Check for signed overflow, not unsigned.

2003-02-21  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 19:11:49 +0000 (19:11 +0000)]
Update.

2003-02-21  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/sparc/sparc64/elf/configure.in: New file.
* sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (sysdep-CFLAGS):
Use -fcall-used-g6, not -fcall-used-g7.

21 years agoAdditional configury for SPARC64/ELF.
Ulrich Drepper [Fri, 21 Feb 2003 18:58:10 +0000 (18:58 +0000)]
Additional configury for SPARC64/ELF.

21 years agoUpdate.
Andreas Jaeger [Fri, 21 Feb 2003 16:19:02 +0000 (16:19 +0000)]
Update.

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

* sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
mode.

* sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
clear whole mxcsr but only exceptions.

21 years ago* sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default
Andreas Jaeger [Fri, 21 Feb 2003 16:18:50 +0000 (16:18 +0000)]
* sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Fix setting of default

mode.
* sysdeps/x86_64/fpu/fsetexcptflg.c (fesetexceptflag): Do not
clear whole mxcsr but only exceptions.

21 years ago* Makerules: Filter $(install-lib-ldscripts) out of list of targets
Roland McGrath [Fri, 21 Feb 2003 10:05:25 +0000 (10:05 +0000)]
* Makerules: Filter $(install-lib-ldscripts) out of list of targets

for libfoo.so that need $(make-link) rules.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 10:00:33 +0000 (10:00 +0000)]
Update.

* pthreadP.h: Define INVALID_TD_P and INVALID_NOT_TERMINATED_TD_P.
* pthread_cancel.c: Use INVALID_TD_P.
* pthread_detach.c: Likewise.
* pthread_getschedparam.c: Likewise.
* pthread_setschedparam.c: Likewise.
* sysdeps/pthread/pthread_getcpuclockid.c: Likewise.
* sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
* pthread_join.c: Use INVALID_NOT_TERMINATED_TD_P.
* pthread_timedjoin.c: Likewise.

* tst-basic7.c: Include <signal.h>.

21 years agoInclude <signal.h>.
Ulrich Drepper [Fri, 21 Feb 2003 09:51:07 +0000 (09:51 +0000)]
Include <signal.h>.

21 years ago2003-02-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 21 Feb 2003 09:30:58 +0000 (09:30 +0000)]
2003-02-21  Roland McGrath  <roland@redhat.com>

* Makefile (install-lib-ldscripts): New variable.

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

* Makerules: Filter $(install-lib-ldscripts) out of list of targets
for libfoo.so that need $(make-link) rules.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 08:35:19 +0000 (08:35 +0000)]
Update.

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

* pthread_join.c (pthread_join): Limited checking for invalid
descriptors.
* pthread_timedjoin.c (pthread_timedjoin_np): Likewise.

21 years ago(pthread_join): Limited checking for invalid descriptors.
Ulrich Drepper [Fri, 21 Feb 2003 08:34:16 +0000 (08:34 +0000)]
(pthread_join): Limited checking for invalid descriptors.

21 years ago* sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
Roland McGrath [Fri, 21 Feb 2003 08:20:05 +0000 (08:20 +0000)]
* sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE

to match existing struct stat layout in mig protocols.

21 years ago2003-02-21 Roland McGrath <roland@frob.com>
Roland McGrath [Fri, 21 Feb 2003 08:19:41 +0000 (08:19 +0000)]
2003-02-21  Roland McGrath  <roland@frob.com>

* sysdeps/mach/hurd/bits/typesizes.h (__DEV_T_TYPE): Use __U32_TYPE
to match existing struct stat layout in mig protocols.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 07:07:52 +0000 (07:07 +0000)]
Update.

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

* version.h (VERSION): Bump to 2.3.2.

* elf/Makefile (distribute): Add reldep9.c, tst-array1.exp,
tst-array2.exp, tst-array4.exp, tst-array2dep.c, check-textrel.c,
and dl-sysdep.h.
* sysdeps/generic/Dist: Add sysdep-cancel.h.
* sysdeps/powerpc/nofpu/Dist: Add soft-supp.h.
* sysdeps/unix/Dist: Add s-proto-bp.S and s-proto-cancel.S.
* sysdeps/unix/sysv/linux/Dist: Add pathconf.h.
* sysdeps/unix/sysv/linux/i386/Dist: Add bp-thunk.h.
* sysdeps/unix/sysv/linux/powerpc/powerpc64/Dist: Add fe_nomask.c and
ucontext_i.h.
* Makefile (distribute): Add include/stubs-prologue.h,
include/gnu/stubs.h, scripts/merge-abilist.awk, and
scripts/extract-abilist.awk.

2002-02-20  Paolo Bonzini  <bonzini@gnu.org>

21 years agoRegenerated: /usr/bin/perl scripts/gen-FAQ.pl FAQ.in
Ulrich Drepper [Fri, 21 Feb 2003 06:17:16 +0000 (06:17 +0000)]
Regenerated:  /usr/bin/perl scripts/gen-FAQ.pl FAQ.in

21 years ago* math/Makefile (distribute): Don't add generated files.
Roland McGrath [Fri, 21 Feb 2003 05:38:16 +0000 (05:38 +0000)]
* math/Makefile (distribute): Don't add generated files.

21 years ago2003-02-20 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 21 Feb 2003 05:37:51 +0000 (05:37 +0000)]
2003-02-20  Roland McGrath  <roland@redhat.com>

* math/Makefile (distribute): Don't add generated files.

21 years agoUpdate.
Ulrich Drepper [Fri, 21 Feb 2003 05:14:57 +0000 (05:14 +0000)]
Update.

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

* version.h (VERSION): Bump to 2.3.2.

* math/Makefile: Rearrange variable definitions slightly to get
definition in the right order.

21 years agoRearrange variable definitions slightly to get definition in the right order.
Ulrich Drepper [Fri, 21 Feb 2003 05:13:15 +0000 (05:13 +0000)]
Rearrange variable definitions slightly to get definition in the right order.