platform/upstream/glibc.git
21 years ago(__pthread_initialize_minimal_internal): Renamed from __pthread_initialize_minimal...
Ulrich Drepper [Mon, 16 Dec 2002 04:46:19 +0000 (04:46 +0000)]
(__pthread_initialize_minimal_internal): Renamed from __pthread_initialize_minimal.  Make old name an alias.  This converts a normal relocation into a relative relocation.

21 years ago* sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg
Roland McGrath [Mon, 16 Dec 2002 02:05:55 +0000 (02:05 +0000)]
* sunrpc/rpc/xdr.h (struct XDR.xdr_ops.x_inline): 2nd arg

is now u_int, not int.
(struct XDR.x_handy): Now u_int, not int.
* sunrpc/xdr_mem.c: Include <limits.h>.
(xdrmem_getlong, xdrmem_putlong, xdrmem_getbytes, xdrmem_putbytes,
xdrmem_inline, xdrmem_getint32, xdrmem_putint32):
x_handy is now unsigned, not signed.
Do not decrement x_handy if no change is made.
(xdrmem_setpos): Check for int overflow.
* sunrpc/xdr_sizeof.c (x_inline): 2nd arg is now unsigned.
(xdr_sizeof): Remove cast that is now unnecessary, now that
x_handy is unsigned.

21 years ago* iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.
Roland McGrath [Mon, 16 Dec 2002 02:05:36 +0000 (02:05 +0000)]
* iconv/gconv_conf.c: Convert GCC extension initializer syntax to C99.

* iconvdata/gap.awk: Likewise.
* iconvdata/gen-8bit-gap-1.sh: Likewise.
* iconvdata/gen-8bit-gap.sh: Likewise.
* locale/C-address.c: Likewise.
* locale/C-collate.c: Likewise.
* locale/C-ctype.c: Likewise.
* locale/C-identification.c: Likewise.
* locale/C-measurement.c: Likewise.
* locale/C-messages.c: Likewise.
* locale/C-monetary.c: Likewise.
* locale/C-name.c: Likewise.
* locale/C-numeric.c: Likewise.
* locale/C-paper.c: Likewise.
* locale/C-telephone.c: Likewise.
* locale/C-time.c: Likewise.
* nscd/connections.c: Likewise.
* nscd/grpcache.c: Likewise.
* nscd/hstcache.c: Likewise.
* nscd/pwdcache.c: Likewise.
* stdio-common/vfprintf.c: Likewise.
* stdlib/random.c: Likewise.
* sysdeps/generic/siglist.c: Likewise.
* sysdeps/i386/fpu/bits/mathinline.h: Likewise.
* sysdeps/ieee754/bits/nan.h: Likewise.
* sysdeps/posix/sprofil.c: Likewise.
* sysdeps/unix/sysv/linux/sleep.c: Likewise.
* sysdeps/unix/sysv/linux/sysctl.c: Likewise.
* sysdeps/unix/sysv/linux/usleep.c: Likewise.

21 years ago* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.
Roland McGrath [Sun, 15 Dec 2002 23:23:24 +0000 (23:23 +0000)]
* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.

* sysdeps/unix/sysv/linux/wait.c: Don't include <nptl/pthreadP.h> or
<tls.h> here, no need for it.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.

* sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): Take ARG as void *
parameter, not varargs parameter.

* sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_RESET): Evaluate the
argument so it's not an unused variable.

* resolv/resolv.h (__p_key_syms, __p_cert_syms, __p_class_syms,
__p_type_syms, __p_rcode_syms): Remove decls, never really intended
for users.

* resolv/Versions (libresolv: GLIBC_2.3.2): New set, add __p_rcode.

2002-12-15  Art Haas  <ahaas@airmail.net>

* nscd/connections.c: C99 initializer conversion.
* nscd/grpcache.c: Same.
* nscd/hstcache.c: Same.
* nscd/pwdcache.c: Same.

21 years ago2002-12-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 15 Dec 2002 23:22:47 +0000 (23:22 +0000)]
2002-12-15  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/readv.c (do_readv): Use prototype defn.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 22:05:51 +0000 (22:05 +0000)]
Update.

2002-12-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/fcntl.c (do_fcntl): This is the
original __libc_fcntl code.  Just renamed.

* sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to _exit.
2002-12-14  Olaf Hering  <olh@suse.de>
* sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
* sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.

21 years agoRemove creat, poll, pselect, readv, select, sigpause, sigsuspend, sigwaitinfo, waitid...
Ulrich Drepper [Sun, 15 Dec 2002 21:43:25 +0000 (21:43 +0000)]
Remove creat, poll, pselect, readv, select, sigpause, sigsuspend, sigwaitinfo, waitid, and writev wrappers.

21 years ago* sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to
Andreas Schwab [Sun, 15 Dec 2002 21:39:54 +0000 (21:39 +0000)]
* sysdeps/unix/sysv/linux/m68k/clone.S: Make inline syscall to

_exit.

21 years agoMake inline syscall to _exit.
Andreas Schwab [Sun, 15 Dec 2002 21:39:21 +0000 (21:39 +0000)]
Make inline syscall to _exit.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 21:23:04 +0000 (21:23 +0000)]
Update.

* Versions [libpthread: GLIBC_2.3.2]: Remove creat, poll, pselect,
readv, select, sigpause, sigsuspend, sigwaitinfo, waitid, writev.
* Makefile (libpthread-routines): Remove pt-creat, pt-poll,
pt-pselect, pt-readv, pt-select, pt-sigpause, pt-sigsuspend,
pt-sigwaitinfo, pt-waitid, and pt-writev.
* pt-creat.c: Removed.
* pt-poll.c: Removed.
* pt-pselect.c: Removed.
* pt-readv.c: Removed.
* pt-select.c: Removed.
* pt-sigpause.c: Removed.
* pt-sigsuspend.c: Removed.
* pt-sigwaitinfo.c: Removed.
* pt-waitid.c: Removed.
* pt-writev.c: Removed.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 20:06:34 +0000 (20:06 +0000)]
Update.

* init.c (pthread_functions): New variable.
(__pthread_initialize_minimal): Pass pointer to pthread_functions
(or NULL) to __libc_pthread_init.
* forward.c: Rewrite to use __libc:pthread_functions array to get
function addresses.
* sysdeps/unix/sysv/linux/fork.h: Remove __libc_pthread_init
prototype.
* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):
Take new parameter.  Copy content of variable pointed to by it
to __libc_pthread_init.

* pthreadP.h (struct pthread_functions): New type.
(__libc_pthread_init): Declare.

* pthread_attr_destroy.c: Add namespace protected alias.
* pthread_attr_getdetachstate.c: Likewise.
* pthread_attr_getinheritsched.c: Likewise.
* pthread_attr_getschedparam.c: Likewise.
* pthread_attr_getschedpolicy.c: Likewise.
* pthread_attr_getscope.c: Likewise.
* pthread_attr_setdetachstate.c: Likewise.
* pthread_attr_setinheritsched.c: Likewise.
* pthread_attr_setschedparam.c: Likewise.
* pthread_attr_setschedpolicy.c: Likewise.
* pthread_attr_setscope.c: Likewise.
* pthread_cond_broadcast.c: Likewise.
* pthread_cond_destroy.c: Likewise.
* pthread_cond_init.c: Likewise.
* pthread_cond_signal.c: Likewise.
* pthread_cond_wait.c: Likewise.
* pthread_condattr_destroy.c: Likewise.
* pthread_condattr_init.c: Likewise.
* pthread_equal.c: Likewise.
* pthread_exit.c: Likewise.
* pthread_getschedparam.c: Likewise.
* pthread_self.c: Likewise.
* pthread_setcancelstate.c: Likewise.
* pthread_setschedparam.c: Likewise.
* pthread_mutex_destroy.c: Likewise.
* pthread_mutex_init.c: Likewise.
* pthreadP.h: Add prototypes for the aliases.

21 years agoAdd namespace protected alias.
Ulrich Drepper [Sun, 15 Dec 2002 19:59:08 +0000 (19:59 +0000)]
Add namespace protected alias.

21 years ago2002-12-14 Olaf Hering <olh@suse.de>
Roland McGrath [Sun, 15 Dec 2002 11:40:39 +0000 (11:40 +0000)]
2002-12-14  Olaf Hering <olh@suse.de>

        * sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
        * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.

21 years ago2002-12-14 Olaf Hering <olh@suse.de>
Roland McGrath [Sun, 15 Dec 2002 11:40:22 +0000 (11:40 +0000)]
2002-12-14  Olaf Hering <olh@suse.de>

        * sysdeps/powerpc/bits/setjmp.h: Include <bits/wordsize.h>.
        * sysdeps/powerpc/powerpc64/setjmp.S: Fix typo in r18 load.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 11:24:42 +0000 (11:24 +0000)]
Update.

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

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 10:26:23 +0000 (10:26 +0000)]
Update.

2002-12-15  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/sysdep-cancel.h: Add dummy definitions for
SINGLE_THREAD_P, LIBC_CANCEL_ASYNC, and LIBC_CANCEL_RESET.

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

* sysdeps/generic/pselect.c: Add support for cancellation handling.
* sysdeps/posix/open64.c: Likewise.
* sysdeps/posix/sigpause.c: Likewise.
* sysdeps/posix/sigwait.c: Likewise.
* sysdeps/posix/system.c: Likewise.
* sysdeps/posix/waitid.c: Likewise.
* sysdeps/unix/sysv/linux/accept.S: Likewise.
* sysdeps/unix/sysv/linux/connect.S: Likewise.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.
* sysdeps/unix/sysv/linux/poll.c: Likewise.
* sysdeps/unix/sysv/linux/pread.c: Likewise.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
* sysdeps/unix/sysv/linux/readv.c: Likewise.
* sysdeps/unix/sysv/linux/recv.S: Likewise.
* sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
* sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
* sysdeps/unix/sysv/linux/send.S: Likewise.
* sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
* sysdeps/unix/sysv/linux/sendto.S: Likewise.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwait.c: Likewise.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
* sysdeps/unix/sysv/linux/tcdrain.c: Likewise.
* sysdeps/unix/sysv/linux/wait.c: Likewise.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.
* sysdeps/unix/sysv/linux/writev.c: Likewise.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 10:09:03 +0000 (10:09 +0000)]
Update.

2002-12-14  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/pt-socket.S: Changes folded into the
regular Linux version.  Remove file.
* sysdeps/unix/sysv/linux/connect.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/llseek.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/msgrcv.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/msgsnd.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/open64.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/poll.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pread.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pread64.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pselect.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pwrite.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/pwrite64.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/readv.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/recv.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/recvfrom.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/recvmsg.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/send.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sendmsg.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sendto.S: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigpause.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigwait.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/system.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/tcdrain.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/wait.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/waitid.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/waitpid.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/writev.c: Likewise.  Remove file.
* sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.  Remove file.

21 years agoUpdate.
Ulrich Drepper [Sun, 15 Dec 2002 01:00:22 +0000 (01:00 +0000)]
Update.

* sysdeps/generic/sysdep-cancel.h: New file.
* sysdeps/unix/make-syscalls.sh: Handle C at start of args as
cancelable syscall.
* sysdeps/unix/inet/syscalls.list (accept, connect, recv, recvfrom,
recvmsg, send, sendmsg, sendto): Make cancelable.
* sysdeps/unix/mman/syscalls.list (msync): Likewise.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, osf_select): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (accept, connect, recv,
recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto): Likewise.
* sysdeps/unix/sysv/linux/mips/syscalls.list (accept, connect, recv,
recvfrom, recvmsg, send, sendmsg, sendto): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (llseek, pread,
pwrite, accept, connect, recv, recvfrom, recvmsg, send, sendmsg,
sendto, select): Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (llseek, pread,
pwrite, accept, connect, recvfrom, recvmsg, sendmsg, sendto):
Likewise.
* sysdeps/unix/sysv/linux/syscalls.list (creat, nanosleep, pause,
select, fcntl): Likewise.
* sysdeps/unix/sysv/syscalls.list (pause, poll): Likewise.
* sysdeps/unix/syscalls.list (close, fcntl, fsync, lseek, open,
read, readv, select, sigsuspend, write, writev): Likewise.

2002-12-14  Jakub Jelinek  <jakub@redhat.com>

21 years agoUpdate.
Ulrich Drepper [Sat, 14 Dec 2002 19:49:13 +0000 (19:49 +0000)]
Update.

2002-12-14  Jakub Jelinek  <jakub@redhat.com>

* dirent/bug-readdir1.c: Include unistd.h.

21 years agoUpdate.
Ulrich Drepper [Sat, 14 Dec 2002 03:29:13 +0000 (03:29 +0000)]
Update.

2002-12-13  Jakub Jelinek  <jakub@redhat.com>

* locale/programs/locale.c: Include locarchive.h.
(ARCHIVE_NAME): Define.
(write_archive_locales): New function.
(write_locales): Use it.  Ensure the same locale is not printed
multiple times in verbose mode.
Mode LC_IDENTIFICATION and LC_CTYPE printing into...
(print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper
functions.
(struct nameent): New type.
(nameentcmp): New function.

21 years agoInclude locarchive.h. (ARCHIVE_NAME): Define. (write_archive_locales): New function...
Ulrich Drepper [Sat, 14 Dec 2002 03:26:43 +0000 (03:26 +0000)]
Include locarchive.h. (ARCHIVE_NAME): Define. (write_archive_locales): New function. (write_locales): Use it.  Ensure the same locale is not printed multiple times in verbose mode. Mode LC_IDENTIFICATION and LC_CTYPE printing into... (print_LC_IDENTIFICATION, print_LC_CTYPE): ... these helper functions. (struct nameent): New type. (nameentcmp): New function.

21 years ago* posix/regex_internal.c (re_string_context_at): Guard wide char
Roland McGrath [Fri, 13 Dec 2002 23:45:32 +0000 (23:45 +0000)]
* posix/regex_internal.c (re_string_context_at): Guard wide char

code with #ifdef RE_ENABLE_I18N.

2002-11-22  Paolo Bonzini  <bonzini@gnu.org>

* posix/regcomp.c (regcomp): __re_compile_fastmap -> re_compile_fastmap

21 years ago2002-12-14 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 13 Dec 2002 23:45:19 +0000 (23:45 +0000)]
2002-12-14  Jakub Jelinek  <jakub@redhat.com>

* posix/regex_internal.c (re_string_context_at): Guard wide char
code with #ifdef RE_ENABLE_I18N.

21 years ago(test_loaded): Don't overwrite a value another thread might have found.
Ulrich Drepper [Fri, 13 Dec 2002 23:05:35 +0000 (23:05 +0000)]
(test_loaded): Don't overwrite a value another thread might have found.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 22:56:45 +0000 (22:56 +0000)]
Update.

* forward.c (test_loaded): Prevent recursive calls.

21 years ago(test_loaded): Prevent recursive calls.
Ulrich Drepper [Fri, 13 Dec 2002 22:56:32 +0000 (22:56 +0000)]
(test_loaded): Prevent recursive calls.

21 years ago* posix/bug-regex15.c: New file.
Roland McGrath [Fri, 13 Dec 2002 21:32:16 +0000 (21:32 +0000)]
* posix/bug-regex15.c: New file.

* posix/Makefile (tests): Add it.

* test-skeleton.c (TEST_DATA_LIMIT): New macro, default to 64MB.
(main): Set RLIMIT_DATA limit to TEST_DATA_LIMIT (or lower if need be).

21 years ago2002-12-13 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Dec 2002 21:32:03 +0000 (21:32 +0000)]
2002-12-13  Roland McGrath  <roland@redhat.com>

* posix/bug-regex15.c: New file.
* posix/Makefile (tests): Add it.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 19:43:31 +0000 (19:43 +0000)]
Update.

* elf/dl-misc.c (_dl_debug_vdprintf): Don't depend on 5-digit PIDs.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 10:59:14 +0000 (10:59 +0000)]
Update.

2002-12-13  Ulrich Drepper  <drepper@redhat.com>

* misc/syslog.c (log_cleanup): Don't use parameter in
__libc_lock_unlock call, use syslog_lock directly.  Adjust callers to
pass NULL instead of a pointer to syslog_lock.

21 years agoCancellation handling inside libc.
Ulrich Drepper [Fri, 13 Dec 2002 10:35:39 +0000 (10:35 +0000)]
Cancellation handling inside libc.

21 years ago* td_ta_thr_iter.c (iterate_thread_list): Handle special case of
Roland McGrath [Fri, 13 Dec 2002 09:46:02 +0000 (09:46 +0000)]
* td_ta_thr_iter.c (iterate_thread_list): Handle special case of

uninitialized __stack_user (zeros), hard-wire just the main thread.

* td_thr_get_info.c (td_thr_get_info): Fix ti_lid initialization.

21 years ago2002-12-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 13 Dec 2002 09:45:50 +0000 (09:45 +0000)]
2002-12-12  Roland McGrath  <roland@redhat.com>

* td_ta_thr_iter.c (iterate_thread_list): Handle special case of
uninitialized __stack_user (zeros), hard-wire just the main thread.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 02:58:24 +0000 (02:58 +0000)]
Update.

* iconvdata/Makefile: iconv-rules: Add definition to use gconv.map
linker map for all iconv modules.
(distribute): Add gconv.map.
* iconvdata/gconv.map: New file.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 01:05:48 +0000 (01:05 +0000)]
Update.

* elf/Makefile: Also check all iconv modules for text relocations.

21 years agoUpdate.
Ulrich Drepper [Fri, 13 Dec 2002 00:56:24 +0000 (00:56 +0000)]
Update.

* stdlib/Makefile: Remove code to automatically import GMP.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 21:51:52 +0000 (21:51 +0000)]
Update.

* elf/Makefile (tests): Add rules to build and run check-textrel.
* elf/check-textrel.c: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 18:29:08 +0000 (18:29 +0000)]
Update.

2002-12-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysdep.h (SETUP_PIC_REG): Add .size
directive.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 18:26:13 +0000 (18:26 +0000)]
Update.

2002-12-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Correct
access to __libc_locking_needed for PIC.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 18:04:35 +0000 (18:04 +0000)]
Update.

2002-12-12  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/pthread/bits/libc-lock.h (__libc_locking_needed): Only
declare for libc.so.
(__libc_lock_init, __libc_lock_init_recursive): Change into comma
expression.
(__libc_lock_lock): Put into statement expression.
(__libc_lock_unlock): Remove trailing semicolon.
* sysdeps/unix/sysv/linux/fork.h (__libc_pthread_init): Fix typo.

21 years ago(__libc_locking_needed): Only declare for libc.so. (__libc_lock_init, __libc_lock_ini...
Ulrich Drepper [Thu, 12 Dec 2002 17:59:47 +0000 (17:59 +0000)]
(__libc_locking_needed): Only declare for libc.so. (__libc_lock_init, __libc_lock_init_recursive): Change into comma expression. (__libc_lock_lock): Put into statement expression. (__libc_lock_unlock): Remove trailing semicolon.

21 years ago* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use asm operand with
Roland McGrath [Thu, 12 Dec 2002 12:54:29 +0000 (12:54 +0000)]
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use asm operand with

"m" constraint to refer to __libc_locking_needed.  Declare it here.

21 years ago2002-12-12 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 12 Dec 2002 12:54:18 +0000 (12:54 +0000)]
2002-12-12  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use asm operand with
"m" constraint to refer to __libc_locking_needed.  Declare it here.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 10:28:11 +0000 (10:28 +0000)]
Update.

2002-12-12  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/fork-gen.c: Renamed to...
* sysdeps/unix/sysv/linux/libc_pthread_init.c: ...this.
Initialize __libc_locking_needed.
* init.c (__pthread_initialize_minimal): Call __libc_pthread_init
instead of __register_pthread_fork_handler.
* sysdeps/pthread/bits/libc-lock.h: Declare __libc_locking_needed.
* sysdeps/unix/sysv/linux/Makefile (sysdep_routimes): Replace
fork-gen with libc_pthread_init.
* sysdeps/unix/sysv/linux/Versions: Use __libc_pthread_init instead
of __register_pthread_fork_handler.
* sysdeps/unix/sysv/linux/fork.h: Declare __libc_pthread_init instead
of __register_pthread_fork_handler.
* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Use
__libc_locking_needed to determine whether lock prefix can be avoided.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 09:25:42 +0000 (09:25 +0000)]
Update.

2002-12-11  Jakub Jelinek  <jakub@redhat.com>

* io/test-utime (main): If stnow.st[am]time is wrong, print it and
not st.st[am]time.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 06:58:20 +0000 (06:58 +0000)]
Update.

2002-04-30  Bruno Haible  <bruno@clisp.org>

* intl/loadmsgcat.c (_nl_init_domain_conv): Don't append //TRANSLIT to
the encoding if it already has slashes.
Reported by Perry Rapp <prapp@erols.com>.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 04:46:44 +0000 (04:46 +0000)]
Update.

* Makefile (tests): Add tst-cleanup1.
* tst-cleanup1.c: New file.
* cancellation.c (__cleanup_thread): Removed.
(__do_cancel): Remove call to __cleanup_thread.
* pthreadP.h: Remove __cleanup_thread prorotype.

21 years agoTest for cancelation handler order.
Ulrich Drepper [Thu, 12 Dec 2002 04:41:30 +0000 (04:41 +0000)]
Test for cancelation handler order.

21 years ago* csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino.
Roland McGrath [Thu, 12 Dec 2002 02:44:03 +0000 (02:44 +0000)]
* csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino.

(CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables.
Turn off PIC for compiling this file.

21 years ago2002-12-11 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 12 Dec 2002 02:43:49 +0000 (02:43 +0000)]
2002-12-11  Roland McGrath  <roland@redhat.com>

* csu/Makefile ($(objpfx)elf-init.oS): Remove target, braino.
(CPPFLAGS-elf-init.oS, CFLAGS-elf-init.oS): New variables.
Turn off PIC for compiling this file.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 02:28:37 +0000 (02:28 +0000)]
Update.

* sysdeps/pthread/bits/libc-lock.h (__libc_cleanup_region_start):
Remember function and argument even if cancellation handler
function is not available.
(__libc_cleanup_region_end): Execute registered function directly if
pthread functions are not available.
(__libc_cleanup_end): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 12 Dec 2002 01:01:43 +0000 (01:01 +0000)]
Update.

2002-12-11  Ulrich Drepper  <drepper@redhat.com>

* malloc/thread-m.h: Remove thread_id type and MUTEX_INITIALIZER
definitions.  Not needed.
[_LIBC]: Use definitions from libc-lock.h instead of referencing
pthread routines directly.
* malloc/arena.c (ptmalloc_unlock_all2): Don't add (void) to
mutex_init calls.
(arena_get2): Don't look at return value of mutex_lock.

21 years ago(ptmalloc_unlock_all2): Don't add (void) to mutex_init calls. (arena_get2): Don't...
Ulrich Drepper [Thu, 12 Dec 2002 00:38:54 +0000 (00:38 +0000)]
(ptmalloc_unlock_all2): Don't add (void) to mutex_init calls. (arena_get2): Don't look at return value of mutex_lock.

21 years ago* csu/Makefile ($(objpfx)elf-init.oS): New target, just clone
Roland McGrath [Wed, 11 Dec 2002 23:13:29 +0000 (23:13 +0000)]
* csu/Makefile ($(objpfx)elf-init.oS): New target, just clone

elf-init.o instead of compiling a PIC version.

21 years ago* intl/gettext.h: Renamed to ...
Roland McGrath [Wed, 11 Dec 2002 22:59:29 +0000 (22:59 +0000)]
* intl/gettext.h: Renamed to ...

* intl/gmo.h: ... here.
* intl/Makefile (distribute): Add gmo.h, remove gettext.h.
* intl/gettextP.h: Update.
* intl/loadmsgcat.c: Update.

* intl/gettextP.h (PARAMS): Make more portable.
(attribute_hidden): Define as empty macro if not already defined.
* intl/hash-string.h (PARAMS): Make more portable.
* intl/loadinfo.h (PARAMS): Likewise.
* intl/plural-exp.h (PARAMS): Likewise.
(attribute_hidden): Move definition near the definition of
internal_function.

* intl/gettextP.h (_nl_locale_name) [!_LIBC]: New declaration.
* intl/plural-exp.h (plural_eval) [!_LIBC]: New declaration.

2002-07-13  Bruno Haible  <bruno@clisp.org>

* intl/dcigettext.c (freea): New macro.
(FREE_BLOCKS): Free also the registered blocks.
(DCIGETTEXT): Free the 'search' variable.
Reported by Andreas Fischer <a.fischer@asentics.de>.

2002-04-27  Bruno Haible  <bruno@clisp.org>

* intl/gettextP.h [! _LIBC]: Use prefix libintl_ instead of suffix __.
* intl/dcigettext.c: Likewise.
* intl/dcgettext.c: Likewise.
* intl/dgettext.c: Likewise.
* intl/gettext.c: Likewise.
* intl/dcngettext.c: Likewise.
* intl/dngettext.c: Likewise.
* intl/ngettext.c: Likewise.
* intl/textdomain.c: Likewise.
* intl/bindtextdom.c: Likewise.
* intl/plural-exp.h: Likewise.

2002-01-02  Bruno Haible  <bruno@clisp.org>

* intl/loadmsgcat.c (_nl_init_domain_conv): Use PARAMS in extern decl.

2001-04-30  Bruno Haible  <bruno@clisp.org>

* intl/dcigettext.c (getuid, getgid, geteuid, getegid): Provide
default macro definitions.  Needed for mingw32.

21 years ago2002-12-11 Bruno Haible <bruno@clisp.org>
Roland McGrath [Wed, 11 Dec 2002 22:58:23 +0000 (22:58 +0000)]
2002-12-11  Bruno Haible  <bruno@clisp.org>

* intl/gettext.h: Renamed to ...
* intl/gmo.h: ... here.
* intl/Makefile (distribute): Add gmo.h, remove gettext.h.
* intl/gettextP.h: Update.
* intl/loadmsgcat.c: Update.

21 years agoUpdate.
Ulrich Drepper [Wed, 11 Dec 2002 09:32:45 +0000 (09:32 +0000)]
Update.

2002-12-11  Ulrich Drepper  <drepper@redhat.com>

* init.c (__pthread_initialize_minimal): Fix initialization in
static lib by preventing gcc from being too clever.

21 years agoUpdate.
Ulrich Drepper [Wed, 11 Dec 2002 06:32:37 +0000 (06:32 +0000)]
Update.

* sysdeps/i386/bits/byteswap.h (__bswap_64): Apply
__builtin_constant_p to macro parameter.

21 years agoUpdate.
Ulrich Drepper [Wed, 11 Dec 2002 00:55:49 +0000 (00:55 +0000)]
Update.

* sysdeps/generic/sigpause.c: Define all functions as weak.
* sysdeps/posix/sigpause.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 11 Dec 2002 00:49:28 +0000 (00:49 +0000)]
Update.

2002-12-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/posix/sigpause.c: Define all functions as weak.

* elf/tst-tls7.c (do_test): Adjustments for l_tls_modid being of
type size_t.

21 years ago(__pthread_initialize_minimal): Remove unneccesary sigaddset call.
Ulrich Drepper [Tue, 10 Dec 2002 23:59:36 +0000 (23:59 +0000)]
(__pthread_initialize_minimal): Remove unneccesary sigaddset call.

21 years ago* elf/tst-array1.c (preinit_array, init_array, fini_array):
Roland McGrath [Tue, 10 Dec 2002 23:28:57 +0000 (23:28 +0000)]
* elf/tst-array1.c (preinit_array, init_array, fini_array):

Explicitly align the array to sizeof (void *).
* elf/tst-array2dep.c (init_array, fini_array): Likewise.

21 years ago2002-12-10 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Tue, 10 Dec 2002 23:28:48 +0000 (23:28 +0000)]
2002-12-10  Jakub Jelinek  <jakub@redhat.com>

* elf/tst-array1.c (preinit_array, init_array, fini_array):
Explicitly align the array to sizeof (void *).
* elf/tst-array2dep.c (init_array, fini_array): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 10 Dec 2002 20:35:58 +0000 (20:35 +0000)]
Update.

2002-12-10  Jakub Jelinek  <jakub@redhat.com>

* include/libc-symbols.h: Fix a comment typo.

* sysdeps/unix/sysv/linux/alpha/select.S (__libc_select): New alias.
* sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__libc_sigsuspend):
Likewise.
* sysdeps/unix/sysv/linux/ia64/sigsuspend.c (__libc_sigsuspend):
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sigsuspend.c
(__libc_sigsuspend): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/sigsuspend.c
(__libc_sigsuspend): Likewise.
* sysdeps/generic/creat.c (__libc_creat): Renamed from creat.
(creat): New weak alias.

21 years agoUpdate.
Ulrich Drepper [Tue, 10 Dec 2002 19:45:21 +0000 (19:45 +0000)]
Update.

* Versions.def: No new symbols in 2.3.1, but some new ones in 2.3.2.

21 years agoNo new symbols in 2.3.1, but some new ones in 2.3.2.
Ulrich Drepper [Tue, 10 Dec 2002 19:43:21 +0000 (19:43 +0000)]
No new symbols in 2.3.1, but some new ones in 2.3.2.

21 years ago* manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that
Roland McGrath [Tue, 10 Dec 2002 11:08:11 +0000 (11:08 +0000)]
* manual/libc-texinfo.sh: Emit @set ADD-ON for each ADD-ON that

contributes a manual chapter.
* manual/signal.texi (Process Signal Mask): Use @ifset linuxthreads
around xref to it.

21 years ago* sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to
Roland McGrath [Tue, 10 Dec 2002 10:31:03 +0000 (10:31 +0000)]
* sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to

and move contents to ...
(EXTRA_LD_ENVVARS_LINUX): ... this new macro.  Add break for nonmatch.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use
it instead of duplicating its contents.
(EXTRA_LD_ENVVARS): Likewise.  Add break for nonmatch.

2002-12-09  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if
defined.
* sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New
function.
(EXTRA_LD_ENVVARS): Use it.
(DL_OSVERSION_INIT): Define.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux
dl-librecon.h.
(EXTRA_LD_ENVVARS): Undef before defining.  Use _dl_osversion_init.

21 years ago2002-12-10 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 10 Dec 2002 10:30:54 +0000 (10:30 +0000)]
2002-12-10  Roland McGrath  <roland@redhat.com>

* sysdeps/unix/sysv/linux/dl-librecon.h (EXTRA_LD_ENVVARS): Refer to
and move contents to ...
(EXTRA_LD_ENVVARS_LINUX): ... this new macro.  Add break for nonmatch.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h (EXTRA_LD_ENVVARS): Use
it instead of duplicating its contents.
(EXTRA_LD_ENVVARS): Likewise.  Add break for nonmatch.
2002-12-09  Jakub Jelinek  <jakub@redhat.com>

* elf/dl-support.c (_dl_non_dynamic_init): Add DL_OSVERSION_INIT if
defined.
* sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init): New
function.
(EXTRA_LD_ENVVARS): Use it.
(DL_OSVERSION_INIT): Define.
* sysdeps/unix/sysv/linux/i386/dl-librecon.h: Include linux
dl-librecon.h.
(EXTRA_LD_ENVVARS): Undef before defining.  Use _dl_osversion_init.

21 years agoUpdate.
Ulrich Drepper [Tue, 10 Dec 2002 10:00:51 +0000 (10:00 +0000)]
Update.

2002-12-10  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/closedir.c (__closedir): Remove __libc_lock_lock
call.  It is not allowed to destroy pthread mutexes which are
still in use even though it is safe for our implementations.  If
somebody still uses the descriptor it is a bug.

21 years ago(__closedir): Remove __libc_lock_lock call. It is not allowed to destroy pthread...
Ulrich Drepper [Tue, 10 Dec 2002 09:59:25 +0000 (09:59 +0000)]
(__closedir): Remove __libc_lock_lock call.  It is not allowed to destroy pthread mutexes which are still in use even though it is safe for our implementations.  If somebody still uses the descriptor it is a bug.

21 years ago* csu/abi-note.S: Use .p2align, not .align.
Roland McGrath [Tue, 10 Dec 2002 05:10:08 +0000 (05:10 +0000)]
* csu/abi-note.S: Use .p2align, not .align.

21 years ago2002-12-09 Richard Henderson <rth@redhat.com>
Roland McGrath [Tue, 10 Dec 2002 05:09:56 +0000 (05:09 +0000)]
2002-12-09  Richard Henderson  <rth@redhat.com>

* csu/abi-note.S: Use .p2align, not .align.

21 years agoUpdate.
Ulrich Drepper [Tue, 10 Dec 2002 04:05:39 +0000 (04:05 +0000)]
Update.

2002-12-09  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/syscalls.list: Add __libc_creat and
__libc_select aliases.

* sysdeps/unix/sysv/linux/sigwaitinfo.c: Define __libc_sigwaitinfo
alias.

* sysdeps/unix/sysv/linux/sigwait.c: Define __libc_sigwait alias.

* sysdeps/unix/sysv/linux/sigsuspend.c: Define __libc_sigsuspend alias.

* sysdeps/unix/sysv/linux/poll.c: Define __libc_poll alias.

* sysdeps/unix/syscalls.list: Define __libc_select alias.

* sysdeps/posix/waitid.c: Define __libc_waitid alias.

* sysdeps/posix/sigpause.c: Define __libc_sigpause and
__libc___xpg_sigpause aliases.

* sysdeps/generic/pselect.c: Define __libc_pselect alias.

* misc/error.c: Remove use of USE_IN_LIBIO.

21 years ago(Tools for Compilation): Require binutils 2.13.
Ulrich Drepper [Mon, 9 Dec 2002 22:54:11 +0000 (22:54 +0000)]
(Tools for Compilation): Require binutils 2.13.

21 years ago* elf/Makefile (tests): Uncomment tst-array[123].
Roland McGrath [Mon, 9 Dec 2002 20:37:37 +0000 (20:37 +0000)]
* elf/Makefile (tests): Uncomment tst-array[123].

* Makeconfig (CPPFLAGS-.oS): Add -DLIBC_NONSHARED=1.
* csu/elf-init.c: New file.
* csu/Makefile (routines, static-only-routines): Add elf-init.
* sysdeps/alpha/elf/start.S: Use __libc_csu_init in place of _init
and __libc_csu_fini in place of _fini.
* sysdeps/arm/elf/start.S: Likewise.
* sysdeps/cris/elf/start.S: Likewise.
* sysdeps/hppa/elf/start.S: Likewise.
* sysdeps/i386/elf/start.S: Likewise.
* sysdeps/ia64/elf/start.S: Likewise.
* sysdeps/m68k/elf/start.S: Likewise.
* sysdeps/mach/hurd/powerpc/static-start.S: Likewise.
* sysdeps/mips/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc32/elf/start.S: Likewise.
* sysdeps/powerpc/powerpc64/elf/start.S: Likewise.
* sysdeps/s390/s390-32/elf/start.S: Likewise.
* sysdeps/s390/s390-64/elf/start.S: Likewise.
* sysdeps/sh/elf/start.S: Likewise.
* sysdeps/sparc/sparc32/elf/start.S: Likewise.
* sysdeps/sparc/sparc64/elf/start.S: Likewise.
* sysdeps/x86_64/elf/start.S: Likewise.

21 years ago* td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer
Roland McGrath [Mon, 9 Dec 2002 10:49:37 +0000 (10:49 +0000)]
* td_ta_event_getmsg.c (td_ta_event_getmsg): Write the NEXT pointer

into the inferior's __pthread_last_event variable, not a word from
an inferior address used in the parent.  Pass the address of a
null word to ps_pdwrite, not a null pointer.

21 years ago* sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'd
Roland McGrath [Mon, 9 Dec 2002 07:14:24 +0000 (07:14 +0000)]
* sysdeps/pthread/aio_notify.c (notify_func_wrapper): Take a malloc'd

struct containing function ptr and value, free it.
(__aio_notify_only): Allocate that and copy values from SIGEV into it.
It's not safe to let the new thread use the SIGEV pointer.

21 years ago* misc/error.c (strerror_r): Do not declare unless [!_LIBC].
Roland McGrath [Mon, 9 Dec 2002 02:03:28 +0000 (02:03 +0000)]
* misc/error.c (strerror_r): Do not declare unless [!_LIBC].

Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
Use strerror_r that is only a macro, even if it is not a function.
(strerror): Check for HAVE_DECL_STRERROR before declaring.
(private_strerror): Use prototypes, not old-style function definition.
(print_errno_message): New function.
Support the POSIX 'int'-flavored strerror_r, as well as the traditional
char*-flavored one.
(error_tail, error, error_at_line): Use it.

21 years ago2001-10-20 Paul Eggert <eggert@twinsun.com>
Roland McGrath [Mon, 9 Dec 2002 02:03:15 +0000 (02:03 +0000)]
2001-10-20  Paul Eggert  <eggert@twinsun.com>

* misc/error.c (strerror_r): Do not declare unless [!_LIBC].
Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
Use strerror_r that is only a macro, even if it is not a function.
(strerror): Check for HAVE_DECL_STRERROR before declaring.
(private_strerror): Use prototypes, not old-style function definition.
(print_errno_message): New function.
Support the POSIX 'int'-flavored strerror_r, as well as the traditional
char*-flavored one.
(error_tail, error, error_at_line): Use it.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 22:55:19 +0000 (22:55 +0000)]
Update.

2002-12-07  Carlos O'Donell  <carlos@baldric.uwo.ca>

* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Added SHMLBA #define.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 09:41:40 +0000 (09:41 +0000)]
Update.

* pthreadP.h: Enable pthread_cleanup_{push,pop} optimizations only
inside libpthread.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 09:28:13 +0000 (09:28 +0000)]
Update.

* pt-fcntl.c (__fcntl): Initialize oldtype to avoid warning.

* pthread_join.c: Likewise.
* pthread_timedjoin.c: Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 08:25:05 +0000 (08:25 +0000)]
Update.

* scripts/output-format.sed: Fix bug in one of the s expressions
which used / for one too many things.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 08:05:25 +0000 (08:05 +0000)]
Update.

2002-12-08  Ulrich Drepper  <drepper@redhat.com>

* include/unistd.h: Declare __libc_close.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 03:13:06 +0000 (03:13 +0000)]
Update.

2002-12-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/bits/stdio-lock.h (_IO_lock_trylock): New define.

21 years agoUpdate.
Ulrich Drepper [Sun, 8 Dec 2002 00:47:12 +0000 (00:47 +0000)]
Update.

2002-12-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/unix/sysv/linux/raise.c: Use libc_hidden_def for raise.

21 years agoUse libc_hidden_def for raise.
Ulrich Drepper [Sun, 8 Dec 2002 00:46:49 +0000 (00:46 +0000)]
Use libc_hidden_def for raise.

21 years ago* sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes
Roland McGrath [Sat, 7 Dec 2002 21:55:56 +0000 (21:55 +0000)]
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Reintroduce changes

from 2002-12-06, but remove unnecessary memset call without removing
necessary copy of initialization image.

* Makerules ($(common-objpfx)format.lds): New target.
(common-generated): Add it.
($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
* scripts/output-format.sed: New file.
* Makefile (distribute): Add it.

2002-12-07  Kenneth W. Chen  <kenneth.w.chen@intel.com>

21 years ago2002-12-07 Roland McGrath <roland@redhat.com>
Roland McGrath [Sat, 7 Dec 2002 21:55:12 +0000 (21:55 +0000)]
2002-12-07  Roland McGrath  <roland@redhat.com>

* Makerules ($(common-objpfx)format.lds): New target.
(common-generated): Add it.
($(inst_libdir)/libc.so): Depend on that, and cat it into the result.
* scripts/output-format.sed: New file.
* Makefile (distribute): Add it.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 18:46:53 +0000 (18:46 +0000)]
Update.

2002-12-07  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/generic/libc-tls.c: Include <sys/param.h>.
Reported by Art Haas <ahaas@airmail.net>.

2002-12-07  Kenneth W. Chen  <kenneth.w.chen@intel.com>.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 09:03:23 +0000 (09:03 +0000)]
Update.

2002-12-07  Kenneth W. Chen <kenneth.w.chen@intel.com>.

* sysdeps/ia64/strncpy.S (strncpy): Clear ar.ec.  Fix .recovery4.

2002-12-07  Jakub Jelinek  <jakub@redhat.com>

* string/test-strncpy.c (do_random_tests): Improve test coverage.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 05:39:20 +0000 (05:39 +0000)]
Update.

* test-skeleton.c (timeout_handler): Allow expected signal to be
SIGALRM.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 04:21:51 +0000 (04:21 +0000)]
Update.

2002-12-06  Ulrich Drepper  <drepper@redhat.com>

* wctype/wcfuncs.c: Add libc_hidden_def for iswalnum.

* sysdeps/posix/raise.c: Add libc_hidden_def for raise.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 02:12:17 +0000 (02:12 +0000)]
Update.

2002-12-07  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [RTLD_PRIVATE_ERRNO]
(SYSCALL_ERROR_HANDLER): Fix a pasto.
Reported by Jeff Bailey <jbailey@nisa.net>.

21 years agoUpdate.
Ulrich Drepper [Sat, 7 Dec 2002 01:24:46 +0000 (01:24 +0000)]
Update.

* sysdeps/generic/libc-tls.c: Undo last patch.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Dec 2002 23:38:01 +0000 (23:38 +0000)]
Update.

* include/wctype.h: Define iswalnum with libc_hidden_proto.

* include/signal.h: Define raise with libc_hidden_proto.

* sysdeps/unix/sysv/linux/fexecve.c (fexecve): Use __snprintf and
__execve instead of snprintf and execve.

21 years agoUpdate.
Ulrich Drepper [Fri, 6 Dec 2002 22:29:26 +0000 (22:29 +0000)]
Update.

2002-12-06  Ulrich Drepper  <drepper@redhat.com>

* sysdeps/x86_64/fpu/libm-test-ulps: Relax errors for float and double
again a bit.

21 years agoRelax errors for flaot and double again a bit.
Ulrich Drepper [Fri, 6 Dec 2002 22:26:57 +0000 (22:26 +0000)]
Relax errors for flaot and double again a bit.

21 years ago* posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs.
Roland McGrath [Fri, 6 Dec 2002 22:08:25 +0000 (22:08 +0000)]
* posix/Makefile (annexc.out): Add -I../dir for all sorted-dirs.

* posix/annexc.c (fmt, testfmt): Remove -D_LIBC.