platform/upstream/glibc.git
21 years agoUpdate.
Ulrich Drepper [Thu, 2 Jan 2003 20:32:33 +0000 (20:32 +0000)]
Update.

2003-01-02  Art Haas  <ahaas@airmail.net>

* login/tst-utmp.c: Convert GCC extension initializer syntax to C99.

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

* posix/getconf.c: Update copyright year.
* nss/getent.c: Likewise.
* nscd/nscd_nischeck.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* elf/ldconfig.c: Likewise.
* catgets/gencat.c: Likewise.
* csu/version.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/sprof.c (print_version): Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* nscd/nscd.c (print_version): Likewise.
* debug/xtrace.sh: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/mtrace.pl: Likewise.

* resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union
type to avoid strict aliasing problem.
(_nss_dns_gethostbyname2_r): Likewise.
* resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
(_nss_dns_getnetbyname_r): Likewise.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Jan 2003 11:01:30 +0000 (11:01 +0000)]
Update.

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

* sysdeps/pthread/bits/pthreadtypes.h (pthread_cond_t): Add padding.
* condvar.c: Add symbol versioning.  The compatibility versions
are the same as the change in the interface does not effect this
implementation.
* Versions [libpthread]: Add definitions for new pthread_cond_*
interfaces for version GLIBC_2.3.2.

21 years agoNot needed anymore.
Ulrich Drepper [Thu, 2 Jan 2003 10:13:48 +0000 (10:13 +0000)]
Not needed anymore.

21 years agoUpdate.
Andreas Jaeger [Thu, 2 Jan 2003 07:51:32 +0000 (07:51 +0000)]
Update.

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

* io/sys/stat.h: Include time.h with __need_timespec even if
__USE_MISC is defined but __USE_XOPEN is not.

21 years agoInclude time.h with __need_timespec even if __USE_MISC is defined but __USE_XOPEN...
Andreas Jaeger [Thu, 2 Jan 2003 07:51:18 +0000 (07:51 +0000)]
Include time.h with __need_timespec even if __USE_MISC is defined but __USE_XOPEN is not.

21 years agoUpdate.
Ulrich Drepper [Thu, 2 Jan 2003 07:12:51 +0000 (07:12 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Avoid
unnecessary zero offset when addressing MUTEX.

21 years agoPretty printing.
Ulrich Drepper [Thu, 2 Jan 2003 06:29:48 +0000 (06:29 +0000)]
Pretty printing.

21 years ago (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.
Andreas Jaeger [Wed, 1 Jan 2003 19:56:23 +0000 (19:56 +0000)]
    (_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

21 years ago2003-01-01 Andreas Jaeger <aj@suse.de>
Andreas Jaeger [Wed, 1 Jan 2003 16:29:49 +0000 (16:29 +0000)]
2003-01-01  Andreas Jaeger  <aj@suse.de>

        * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union
        type to avoid strict aliasing problem.
        (_nss_dns_gethostbyname2_r): Likewise.
        * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.
        (_nss_dns_getnetbyname_r): Likewise.
* resolv/gethnamaddr.c (_gethtent): Likewise.
(gethostbyname2): Likewise.

21 years ago * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union ...
Andreas Jaeger [Wed, 1 Jan 2003 16:29:36 +0000 (16:29 +0000)]
    * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr_r): Use union         type to avoid strict aliasing problem.         (_nss_dns_gethostbyname2_r): Likewise.         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r): Likewise.         (_nss_dns_getnetbyname_r): Likewise.

* resolv/gethnamaddr.c (_gethtent): Likewise.
(gethostbyname2): Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 23:13:55 +0000 (23:13 +0000)]
Update.

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

* string/string-inlines.c: Define __memcpy_g and __strchr_g macros
to avoid using the exported symbols.  Define aliases with the
original names separately.

* include/time.h: Add libc_hidden_proto for __strftime_l.
* include/wchar.h: Add libc_hidden_proto for __wcsftime_l.
* time/strftime.c: Always use libc_hidden_def if _LIBC.

* libio/libioP.h: Add libc_hidden_proto for _IO_file_open.
* libio/fileops.c: Add libc_hidden_def for _IO_file_open.

* malloc/mtrace.c: Add libc_hidden_proto and libc_hidden_def for
tr_break.

* csu/Makefile (routines): Add dso_handle.
* csu/dso_handle.c: New file.

21 years agoDefine our own dso_handle.
Ulrich Drepper [Tue, 31 Dec 2002 22:25:11 +0000 (22:25 +0000)]
Define our own dso_handle.

21 years ago* Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.
Roland McGrath [Tue, 31 Dec 2002 21:15:05 +0000 (21:15 +0000)]
* Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.

Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS).
(S-CPPFLAGS): Add -DASSEMBLER here instead.
(generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS).

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

* Makerules (compile.S, COMPILE.S): Remove -DASSEMBLER here.
Use $(S-CPPFLAGS) in place of $(asm-CPPFLAGS).
(S-CPPFLAGS): Add -DASSEMBLER here instead.
(generate-md5, +make-deps): Fix magic to get $(S-CPPFLAGS).

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

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

* malloc/thread-m.h [SHARED] (thread_atfork): Assume __dso_handle
is available.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Re-add

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 20:46:11 +0000 (20:46 +0000)]
Update.

* io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.
* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
nsec resolution changes.
(xstat64_conv): Likewise.
(xstat32_conv): Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
struct kernel_stat.
* sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
structs stat and stat64.
* time/time.h (__timespec_defined): Define for __USE_MISC.

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

* include/signal.h: Add libc_hidden_proto for __libc_current_sigrtmin
and __libc_current_sigrtmax.

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

* include/errno.h (__errno_location): Add prototype.
Use libc_hidden_proto unconditionally.
* include/netdb.h (__h_errno_location): Use libc_hidden_proto
unconditionally.
* include/resolv.h (__res_state): Likewise.

* hurd/errno-loc.c (__errno_location): Add libc_hidden_def.
* include/sys/socket.h (accept): Add libc_hidden_proto.
* include/errno.h (__errno_location): Likewise.
* include/netdb.h (__h_errno_location): Likewise.
* include/resolv.h (__res_state): Likewise.
* include/unistd.h (__lseek): Likewise.
* sysdeps/generic/errno-loc.c (__errno_location): Add libc_hidden_def.
* sysdeps/generic/herrno-loc.c (__h_errno_location): Likewise.
* sysdeps/generic/res-state.c (__res_state): Likewise.
* sysdeps/generic/accept.c (accept): Likewise.
* sysdeps/generic/lseek.c (__lseek): Likewise.
* sysdeps/generic/allocrtsig.c (__libc_current_sigrtmin,
__libc_current_sigrtmax): Likewise.
* sysdeps/mach/hurd/accept.c (accept): Likewise.
* sysdeps/mach/hurd/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/aix/accept.c (accept): Likewise.
* sysdeps/unix/sysv/aix/lseek.c (__lseek): Likewise.
* sysdeps/unix/sysv/linux/accept.S (accept): Likewise.
* sysdeps/unix/inet/syscalls.list (__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/alpha/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/hppa/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/ia64/syscalls.list (__GI___lseek): New
alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/mips/syscalls.list (__GI_accept): Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (__GI___lseek):
New alias to llseek.
(__GI_accept): New alias to accept.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/sysv/linux/x86_64/syscalls.list (__GI_accept):
Likewise.
* sysdeps/unix/syscalls.list (__GI___lseek): New alias to lseek.

* sysdeps/alpha/setjmp.S : Use libc_hidden_def(name) instead of
strong_alias (name, __GI_name).
* sysdeps/arm/bsd-_setjmp.S : Likewise.
* sysdeps/hppa/bsd-_setjmp.S : Likewise.
* sysdeps/i386/bsd-_setjmp.S : Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S : Likewise.
* sysdeps/mips/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S : Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S : Likewise.
* sysdeps/s390/s390-32/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-32/bsd-_setjmp.S : Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S : Likewise.
* sysdeps/s390/s390-64/bsd-_setjmp.S : Likewise.
* sysdeps/sh/bsd-_setjmp.S : Likewise.
* sysdeps/sparc/sparc32/setjmp.S : Likewise.
* sysdeps/unix/arm/fork.S : Likewise.
* sysdeps/unix/bsd/hp/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/i386/vfork.S : Likewise.
* sysdeps/unix/bsd/osf/alpha/fork.S : Likewise.
* sysdeps/unix/bsd/sun/m68k/vfork.S : Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S : Likewise.
* sysdeps/unix/bsd/vax/vfork.S : Likewise.
* sysdeps/unix/i386/fork.S : Likewise.
* sysdeps/unix/mips/fork.S : Likewise.
* sysdeps/unix/sparc/fork.S : Likewise.
* sysdeps/unix/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/cris/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/m68k/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/fork.S : Likewise.
* sysdeps/unix/sysv/linux/sparc/vfork.S : Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S : Likewise.
* sysdeps/unix/fork.S : Likewise.
* sysdeps/vax/bsd-_setjmp.S : Likewise.
* sysdeps/x86_64/bsd-_setjmp.S : Likewise.

* sysdeps/unix/sysv/linux/ia64/sysdep.h: Guard against multiple
inclusion.

21 years ago[libc] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get, __libc_internal_tsd_set,...
Ulrich Drepper [Tue, 31 Dec 2002 20:24:10 +0000 (20:24 +0000)]
[libc] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get, __libc_internal_tsd_set, __libc_internal_tsd_address, __libc_alloca_cutoff. [libpthread] (GLIBC_PRIVATE): Remove __libc_internal_tsd_get, __libc_internal_tsd_set, __libc_internal_tsd_address.

21 years agoUpdate.
Andreas Jaeger [Tue, 31 Dec 2002 13:24:50 +0000 (13:24 +0000)]
Update.

2002-12-31  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.

* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms.  Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.

* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.

        * io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct
        stat.

        * sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Adjust for
        nsec resolution changes.
        (xstat64_conv): Likewise.
        (xstat32_conv): Likewise.

        * sysdeps/unix/sysv/linux/kernel_stat.h: Add nsec resolution for
        struct kernel_stat.

        * sysdeps/unix/sysv/linux/bits/stat.h: Add nsec resolution for
        structs stat and stat64.

        * time/time.h (__timespec_defined): Define for __USE_MISC.

21 years ago* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync
Andreas Jaeger [Tue, 31 Dec 2002 13:24:35 +0000 (13:24 +0000)]
* sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Sync

with Linux kernel.
* sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Likewise.
* sysdeps/unix/sysv/linux/kernel_stat.h
(_HAVE_STAT_NSEC,_HAVE_STAT_NSEC64): New.

* sysdeps/unix/sysv/linux/xstatconv.c (xstat_conv): Readd
__unused[1-3] since they're needed by some platforms.  Handle
_HAVE_STAT_NSEC and _HAVE_STAT_NSEC64.

* sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Add nsec resolution
for structs stat and stat64.
* sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 11:12:11 +0000 (11:12 +0000)]
Update.

* include/unistd.h: Add libc_hidden_proto for __fork and __vfork.
* sysdeps/generic/fork.c: Add libc_hidden_def for __fork.
* sysdeps/mach/hurd/fork.c: Likewise.
* sysdeps/unix/sysv/aix/fork.c: Likewise.
* sysdeps/unix/fork.S: Add __GI___fork alias.
* sysdeps/unix/arm/fork.S: Likewise.
* sysdeps/unix/bsd/osf/alpha/fork.S: Likewise.
* sysdeps/unix/i386/fork.S: Likewise.
* sysdeps/unix/mips/fork.S: Likewise.
* sysdeps/unix/sparc/fork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/fork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/fork.S: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Likewise.
* sysdeps/generic/vfork.c: Add libc_hidden_def for __vfork.
* sysdeps/unix/bsd/hp/m68k/vfork.S: Add __GI___vfork alias.
* sysdeps/unix/bsd/i386/vfork.S: Likewise.
* sysdeps/unix/bsd/sun/m68k/vfork.S: Likewise.
* sysdeps/unix/bsd/ultrix4/mips/vfork.S: Likewise.
* sysdeps/unix/bsd/vax/vfork.S: Likewise.
* sysdeps/unix/sparc/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/cris/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/vfork.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.

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

* include/time.h: Add libc_hidden_proto for __nanosleep.
* sysdeps/generic/nanosleep.c: Add libc_hidden_def for __nanosleep.
* sysdeps/mach/nanosleep.c: Likewise.
* sysdeps/unix/sysv/aix/nanosleep.c: Likewise.
* sysdeps/unix/sysv/linux/syscalls.list: Add __GI___nanosleep alias.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 10:06:16 +0000 (10:06 +0000)]
Update.

* libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
_IO_list_unlock, and _IO_list_resetlock.
* libio/genops.c: Add libc_hidden_def for _IO_list_lock,
_IO_list_unlock, and _IO_list_resetlock.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 09:56:50 +0000 (09:56 +0000)]
Update.

* libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin,
_IO_iter_end, _IO_iter_next, and _IO_iter_file.
* libio/genops.c: Add libc_hidden_def for _IO_iter_begin,
_IO_iter_end, _IO_iter_next, and _IO_iter_file.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 09:46:42 +0000 (09:46 +0000)]
Update.

* include/setjmp.h: Add libc_hidden_proto for __libc_longjmp.
* sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp.
* sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add
__GI___longjmp alias.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 09:36:52 +0000 (09:36 +0000)]
Update.

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

* include/setjmp.h: Add libc_hidden_proto for _setjmp.
* sysdeps/alpha/setjmp.S: Add __GI__setjmp alias.
* sysdeps/arm/bsd-_setjmp.S: Likewise.
* sysdeps/generic/bsd-_setjmp.c: Likewise.
* sysdeps/hppa/bsd-_setjmp.S: Likewise.
* sysdeps/i386/bsd-_setjmp.S: Likewise.
* sysdeps/m68k/bsd-_setjmp.c: Likewise.
* sysdeps/mips/bsd-_setjmp.S: Likewise.
* sysdeps/mips/mips64/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
* sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
* sysdeps/s390/s390-32/bsd-_setjmp.S: Likewise.
* sysdeps/s390/s390-32/elf/setjmp.S: Likewise.
* sysdeps/s390/s390-64/bsd-_setjmp.S: Likewise.
* sysdeps/s390/s390-64/elf/setjmp.S: Likewise.
* sysdeps/sh/bsd-_setjmp.S: Likewise.
* sysdeps/sparc/sparc32/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S: Likewise.
* sysdeps/vax/bsd-_setjmp.S: Likewise.
* sysdeps/x86_64/bsd-_setjmp.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 08:00:19 +0000 (08:00 +0000)]
Update.

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

* malloc/thread-m.h (thread_atfork): Define using __register_atfork.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 06:54:17 +0000 (06:54 +0000)]
Update.

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

* init.c (__pthread_initialize_minimal_internal): Don't mark as
constructor.

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

* Makefile ($(inst_libdir)/libpthread.so): Depend on
$(common-objpfx)format.lds, include that into the output script.
Fix comment.
(extra-B-pthread.so): Change linuxthreads/ into nptl/.

* io/sys/stat.h [__USE_MISC]: Define __need_timespec for struct stat.

21 years ago($(inst_libdir)/libpthread.so): Depend on $(common-objpfx)format.lds, include that...
Ulrich Drepper [Tue, 31 Dec 2002 06:53:45 +0000 (06:53 +0000)]
($(inst_libdir)/libpthread.so): Depend on $(common-objpfx)format.lds, include that into the output script.  Fix comment. (extra-B-pthread.so): Change linuxthreads/ into nptl/.

21 years ago* Rules (generated): Target removed.
Roland McGrath [Tue, 31 Dec 2002 02:04:48 +0000 (02:04 +0000)]
* Rules (generated): Target removed.

* mach/Makefile (generated): Define it here instead.

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

* Rules (generated): Target removed.
* mach/Makefile (generated): Define it here instead.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 01:46:45 +0000 (01:46 +0000)]
Update.

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

* math/Makefile (generated): Remove definition.  Needs to be fixed.

might already be gone.

21 years agoUpdate.
Ulrich Drepper [Tue, 31 Dec 2002 00:06:24 +0000 (00:06 +0000)]
Update.

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

* forward.c: Make all functions available by default again.  It
caused too much trouble.
* internals.h (struct pthread_functions): Rename ptr_pthread_exit
and ptr_pthread_attr_init_2_* to ptr___pthread_exit and
ptr___pthread_attr_init_2_*.
* pthread.c (pthread_functions): Adjust.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 23:45:39 +0000 (23:45 +0000)]
Update.

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

* forward.c (FORWARD2): Renamed from FORWARD3.  Remove unused export
argument.
(pthread_attr_init_2_0, pthread_attr_init_2_1): Use FORWARD macro.
(pthread_exit): Use strong_alias to avoid warnings.
* pthreadP.h (struct pthread_functions): Rename ptr_pthread_exit
and ptr_pthread_attr_init_2_* to ptr___pthread_exit and
ptr___pthread_attr_init_2_*.
* init.c (pthread_functions): Adjust.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 21:24:18 +0000 (21:24 +0000)]
Update.

* elf/dl-close.c (_dl_close): Handle relocation dependencies among
the to-be-deleted objects right away instead of later separately.
The latter fails because the scope data structures of the DSO
might already have gone.

21 years ago* math/Makefile (generated): Add m_*l and m_*f variants too.
Roland McGrath [Mon, 30 Dec 2002 21:20:31 +0000 (21:20 +0000)]
* math/Makefile (generated): Add m_*l and m_*f variants too.

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

* math/Makefile (generated): Add m_*l and m_*f variants too.

21 years ago(_dl_close): Handle relocation dependencies among the to-be-deleted objects right...
Ulrich Drepper [Mon, 30 Dec 2002 21:15:31 +0000 (21:15 +0000)]
(_dl_close): Handle relocation dependencies among the to-be-deleted objects right away instead of later separately.  The latter fails because the scope data structures of the DSO might already have gone.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 20:25:40 +0000 (20:25 +0000)]
Update.

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

* elf/Makefile: Add rules to build and run reldep8 test.
* elf/reldep8.c: New file.
* elf/reldep8mod1.c: New file.
* elf/reldep8mod2.c: New file.
* elf/reldep8mod3.c: New file.
Contributed by Jakub Jelinek.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 02:31:19 +0000 (02:31 +0000)]
Update.

2002-12-24  GOTO Masanori  <gotom@debian.or.jp>

* sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Fix condition
checking of return value ENOSYS from getdents64.

21 years agoUpdate.
Ulrich Drepper [Mon, 30 Dec 2002 01:17:52 +0000 (01:17 +0000)]
Update.

* forward.c: Make all functions available by default again.  It
caused too much trouble.

21 years agoMake all functions available by default again. It caused too much trouble.
Ulrich Drepper [Mon, 30 Dec 2002 01:17:13 +0000 (01:17 +0000)]
Make all functions available by default again.  It caused too much trouble.

21 years ago* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.
Roland McGrath [Mon, 30 Dec 2002 00:12:56 +0000 (00:12 +0000)]
* sysdeps/unix/Makefile: Include $(common-objpfx)s-proto-cancel.d.

($(common-objpfx)s-%.d): Generalized from
$(common-objpfx)s-proto.d rule.
(common-generated): Add s-proto-cancel.d.
* sysdeps/unix/make-syscalls.sh: Use s-proto-cancel.d for
cancellable syscalls.
* sysdeps/unix/s-proto-cancel.S: New file.

21 years ago* resolv/res_libc.c: Move _res defn magic after res_init defn
Roland McGrath [Mon, 30 Dec 2002 00:10:07 +0000 (00:10 +0000)]
* resolv/res_libc.c: Move _res defn magic after res_init defn

so _res macro is in effect for that code.

21 years ago* Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed
Roland McGrath [Sun, 29 Dec 2002 21:01:00 +0000 (21:01 +0000)]
* Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Fix sed

pattern for prepending $(..) so it doesn't affect $(foo).

21 years ago* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).
Roland McGrath [Sun, 29 Dec 2002 20:56:59 +0000 (20:56 +0000)]
* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).

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

* math/Makefile (generated): Add $(addsuffix .c .S,$(calls:s_%=m_%)).

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Dec 2002 19:30:24 +0000 (19:30 +0000)]
Update.

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

* elf/cache.c (add_to_cache): Don't loop forever with 1ULL << 63 set
in hwcap.

21 years agoUpdate.
Ulrich Drepper [Sun, 29 Dec 2002 10:19:13 +0000 (10:19 +0000)]
Update.

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

* pt-siglongjmp.c: Removed.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 22:19:04 +0000 (22:19 +0000)]
Update.

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

* misc/sys/cdefs.h (__attribute_deprecated__): New #define.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 21:08:38 +0000 (21:08 +0000)]
Update.

2002-12-28  Andreas Jaeger  <aj@suse.de>

* sysdeps/generic/readelflib.c (process_elf_file): Cast value to
avoid warning.
* sysdeps/generic/dl-cache.c (_dl_load_cache_lookup): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 10:24:40 +0000 (10:24 +0000)]
Update.

* inet/herrno.c (__h_errno_location): Remove.
* inet/Makefile (routines): Add herrno-loc.
* resolv/res_libc.c (__res_state): Remove.
* resolv/Makefile (routines): Add res-state.
* sysdeps/generic/herrno-loc.c: New file.
* sysdeps/generic/res-state.c: New file.

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

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 09:58:41 +0000 (09:58 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
Only define if USE_DL_SYSINFO is defined.

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

* sysdeps/unix/sysv/linux/ia64/sysdep.h (INLINE_SYSCALL,
INTERNAL_SYSCALL, INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERROR):
Define. Patch by Richard Henderson and Jes Sorensen.
(PSEUDO): Remove unnecessary ;;.
* elf/rtld.c (dl_main): Initialize TLS even if no PT_TLS segments
are found unless TLS_INIT_TP_EXPENSIVE.  Use NONTLS_INIT_TP.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Use NONTLS_INIT_TP
if not initializing thread pointer.
[!USE_TLS && NONTLS_INIT_TP] (__pthread_initialize_minimal): New.
* sysdeps/generic/libc-start.c (__pthread_initialize_minimal): Don't
make it weak also if NONTLS_INIT_TP.
* sysdeps/unix/common/pause.c: Handle cancellation.
* sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h [DONT_LOAD_G1]
(LOADSYSCALL): Remove.
(SYSCALL_ERROR_HANDLER_ENTRY): Define.
(SYSCALL_ERROR_HANDLER): Use it.
(PSEUDO): Don't jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc32/pipe.S (__libc_pipe): Don't
jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc32/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/socket.S (__socket): Branch
to __syscall_error_handler on failure.
* sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h [DONT_LOAD_G1]
(LOADSYSCALL): Remove.
(SYSCALL_ERROR_HANDLER_ENTRY): Define.
(SYSCALL_ERROR_HANDLER): Use it.
(PSEUDO): Don't jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc64/pipe.S (__libc_pipe): Don't
jump around error handler.
* sysdeps/unix/sysv/linux/sparc/sparc64/syscall.S (syscall): Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/socket.S (__socket): Branch
to __syscall_error_handler on failure.

21 years agoUpdate.
Ulrich Drepper [Sat, 28 Dec 2002 09:27:26 +0000 (09:27 +0000)]
Update.

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

* descr.h (struct pthread): Move header.data.list to the back of the
struct.
* sysdeps/i386/tls.h (tcbhead_t): Move list to the back of the struct.
(MULTIPLE_THREADS_OFFSET): Adjust offset.
(SYSINFO_OFFSEET): Likewise.

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

* sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h (USE_DL_SYSINFO):
Define.
(DL_SYSINFO_DEFAULT): Cast to uintptr_t to avoid warnings.
* sysdeps/unix/sysv/linux/i386/dl-sysdep.h (NEED_DL_SYSINFO,
DL_SYSINFO_DEFAULT, DL_SYSINFO_IMPLEMENTATION): Define.
(USE_DL_SYSINFO): Undef.

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

* Makefile (tests-reverse): Use $(objpfx)../libc.so instead of
$(common-objpfx)libc.so.
* tst-cancel4.c (tf_write, tf_writev): Increase buf sizes so that
it is bigger than pipe buffer size even on arches with bigger
page size.
(tf_usleep): Cast usleep argument to useconds_t to avoid warnings.

21 years agoTest of cancellation handling.
Ulrich Drepper [Sat, 28 Dec 2002 08:45:26 +0000 (08:45 +0000)]
Test of cancellation handling.

21 years agosecond typo in prior commit
Roland McGrath [Fri, 27 Dec 2002 23:13:05 +0000 (23:13 +0000)]
second typo in prior commit

21 years ago* scripts/gen-as-const.awk: New file.
Roland McGrath [Fri, 27 Dec 2002 23:06:00 +0000 (23:06 +0000)]
* scripts/gen-as-const.awk: New file.

* Makefile (distribute): Add it.
* Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
(before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
to the list.
(+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).

* sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support.

21 years ago2002-12-27 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 27 Dec 2002 23:05:53 +0000 (23:05 +0000)]
2002-12-27  Roland McGrath  <roland@redhat.com>

* scripts/gen-as-const.awk: New file.
* Makefile (distribute): Add it.
* Makerules ($(common-objpfx)%.h %.h.d: %.sym): New pattern rule.
(before-compile): Add $(gen-as-const-headers:%.sym=$(common-objpfx)%.h)
to the list.
(+depfiles): Add $(addprefix $(common-objpfx),$(gen-as-const-headers)).

21 years ago*** empty log message ***
Andreas Schwab [Fri, 27 Dec 2002 22:15:56 +0000 (22:15 +0000)]
*** empty log message ***

2002-12-27  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/m68k/socket.S: Add cancellation support.

21 years ago*** empty log message ***
Andreas Schwab [Fri, 27 Dec 2002 21:09:21 +0000 (21:09 +0000)]
*** empty log message ***

2002-12-27  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: New file.

21 years agoCancellation handling for m68k.
Andreas Schwab [Fri, 27 Dec 2002 21:09:01 +0000 (21:09 +0000)]
Cancellation handling for m68k.

21 years agoRemove bogus CRs at end of all lines. Hope they do not come back.
Roland McGrath [Fri, 27 Dec 2002 20:13:29 +0000 (20:13 +0000)]
Remove bogus CRs at end of all lines.  Hope they do not come back.

21 years ago* malloc/arena.c (ptmalloc_init): Don't call next_env_entry if
Roland McGrath [Fri, 27 Dec 2002 00:37:06 +0000 (00:37 +0000)]
* malloc/arena.c (ptmalloc_init): Don't call next_env_entry if

_environ is NULL.

21 years ago* Makerules ($(common-objpfx)%.make): Filter through
Roland McGrath [Fri, 27 Dec 2002 00:35:06 +0000 (00:35 +0000)]
* Makerules ($(common-objpfx)%.make): Filter through

$(sed-remove-objpfx).

21 years ago2002-12-27 Andreas Schwab <schwab@suse.de>
Roland McGrath [Fri, 27 Dec 2002 00:35:00 +0000 (00:35 +0000)]
2002-12-27  Andreas Schwab  <schwab@suse.de>

* Makerules ($(common-objpfx)%.make): Filter through
$(sed-remove-objpfx).

21 years agoUpdate.
Ulrich Drepper [Wed, 25 Dec 2002 08:56:55 +0000 (08:56 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Implement
correct errno access for case that USE___THREAD is not defined.

21 years agoUpdate.
Ulrich Drepper [Tue, 24 Dec 2002 23:22:01 +0000 (23:22 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Add missing #endif.
Patch by Marijn Ros <marijn@mad.scientist.com>.

21 years agoAdd missing #endif.
Ulrich Drepper [Tue, 24 Dec 2002 23:20:54 +0000 (23:20 +0000)]
Add missing #endif.

21 years ago* scripts/abilist.awk: Produce a more compact format, divided into
Roland McGrath [Mon, 23 Dec 2002 11:17:18 +0000 (11:17 +0000)]
* scripts/abilist.awk: Produce a more compact format, divided into

stanzas for each version set, the set name listed only once.
* scripts/extract-abilist.awk: New file.
* scripts/merge-abilist.awk: New file.
* Makerules (check-abi-%, update-abi-%): New pattern rules.
(update-abi, check-abi): New targets.
* Makefile (+subdir_targets): Add subdir_{check,update}-abi.

* Makerules (%.symlist): Use LC_ALL=C when running awk script.

21 years ago* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of
Roland McGrath [Mon, 23 Dec 2002 09:56:22 +0000 (09:56 +0000)]
* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Cast result of

INTERNAL_SYSCALL.

21 years ago* Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).
Roland McGrath [Mon, 23 Dec 2002 00:45:05 +0000 (00:45 +0000)]
* Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).

21 years ago2002-12-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 23 Dec 2002 00:44:58 +0000 (00:44 +0000)]
2002-12-22  Roland McGrath  <roland@redhat.com>

* Makefile (omit-deps): Add $(unix-syscalls:%=ptw-%).

21 years agoUpdate.
Ulrich Drepper [Sun, 22 Dec 2002 02:29:06 +0000 (02:29 +0000)]
Update.

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

* pthread.c (init_rtsigs): Remove incomplete __builtin_expect.
Reported by Art Hass <ahaas@airmail.net>.

21 years agoUpdate.
Ulrich Drepper [Sat, 21 Dec 2002 21:40:32 +0000 (21:40 +0000)]
Update.

* elf/check-textrel.c (handle_file): Swap p_type.

2002-12-21  Andreas Schwab  <schwab@suse.de>

21 years ago(handle_file): Swap p_type.
Ulrich Drepper [Sat, 21 Dec 2002 21:39:34 +0000 (21:39 +0000)]
(handle_file): Swap p_type.

21 years agoFix thinko.
Andreas Schwab [Sat, 21 Dec 2002 21:05:31 +0000 (21:05 +0000)]
Fix thinko.

21 years ago*** empty log message ***
Andreas Schwab [Sat, 21 Dec 2002 20:09:41 +0000 (20:09 +0000)]
*** empty log message ***

(SYSCALL_ERROR_HANDLER): Define RTLD_PRIVATE_ERRNO variant.

21 years ago*** empty log message ***
Andreas Schwab [Sat, 21 Dec 2002 19:37:26 +0000 (19:37 +0000)]
*** empty log message ***

2002-12-21  Andreas Schwab  <schwab@suse.de>

* sysdeps/unix/sysv/linux/m68k/sysdep.h (INTERNAL_SYSCALL): Define.
(INLINE_SYSCALL): Use it.
(INTERNAL_SYSCALL_ERROR_P, INTERNAL_SYSCALL_ERRNO): Define.

* sysdeps/unix/sysv/linux/m68k/getpagesize.c: Use INTERNAL_SYSCALL.
* sysdeps/unix/sysv/linux/m68k/brk.c: Likewise.

21 years agoUse INTERNAL_SYSCALL.
Andreas Schwab [Sat, 21 Dec 2002 19:36:29 +0000 (19:36 +0000)]
Use INTERNAL_SYSCALL.

21 years ago(parse_opt): Avoid warning in case -t is used with maximum allowed number.
Ulrich Drepper [Sat, 21 Dec 2002 19:33:56 +0000 (19:33 +0000)]
(parse_opt): Avoid warning in case -t is used with maximum allowed number.

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

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

* sysdeps/gnu/siglist.c: Convert GCC extension initializer
syntax to C99.

2002-12-21  Philip Blundell  <philb@gnu.org>

* sysdeps/arm/elf/start.S (_start): Optimise a little.  Push stack
top as seventh arg to __libc_start_main.
Reported by paulnash@wildseed.com.

* sysdeps/unix/sysv/linux/arm/clone.S: Small optimisation.

* sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Elide
compatibility cruft when new enough kernel is assumed.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 19:14:55 +0000 (19:14 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use INTERNAL_SYSCALL
instead of INLINE_SYSCALL.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 18:24:24 +0000 (18:24 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Fix
typo.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 10:32:08 +0000 (10:32 +0000)]
Update.

* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB.
* sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
Patch by William Lee Irwin <wli@holomorphy.com>.

2002-12-20  Andreas Schwab  <schwab@suse.de>

* locale/programs/ld-measurement.c (measurement_output): Fix
index calculation.

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

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 09:33:33 +0000 (09:33 +0000)]
Update.

* include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]:
Redefine _IO_flockifle and _IO_funlockfile as inlines.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 08:49:27 +0000 (08:49 +0000)]
Update.

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

* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): For TLS
builds add "tls" in the search path.
* elf/ldconfig.c (is_hwcap_platform): Also recognize "tls".
(path_hwcap): Recognize "tls".

* sysdeps/unix/sysv/linux/i386/system.c (cancel_handler): Use
__waitpid instead of waitpid.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 07:20:48 +0000 (07:20 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/_exit.S: Use ENTER_KERNEL instead of
int $0x80.
* sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
* sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
* sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.

21 years agoUpdate.
Ulrich Drepper [Fri, 20 Dec 2002 07:12:24 +0000 (07:12 +0000)]
Update.

* sysdeps/unix/sysv/linux/i386/pthread_once.S: Use ENTER_KERNEL instead
of int $0x80.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/libc-lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelcond.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelmutex.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelrwlock.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/lowlevelsem.S: Likewise.
* sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: Likewise.

* sysdeps/unix/sysv/linux/i386/lowlevellock.h: Add support for using
sysenter.
* sysdeps/unix/sysv/linux/i386/lowlevelsem.h: Likewise.

* sysdeps/i386/tls.h: Unconditionally include <dl-sysdep.h>.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 23:05:13 +0000 (23:05 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/sysdep.h: Add support to use AT_SYSINFO
information for system calls.

* sysdeps/generic/dl-sysdep.h: Define RTLD_PRIVATE_ERRNO to 1 only
for ld.so.

* elf/rtld.c (_dl_start) [USE___THREAD]: Define initdtv.

21 years ago(allocate_stack) [NEED_DL_SYSINFO]: Set sysinfo in new TCB.
Ulrich Drepper [Thu, 19 Dec 2002 22:49:55 +0000 (22:49 +0000)]
(allocate_stack) [NEED_DL_SYSINFO]: Set sysinfo in new TCB.

21 years ago* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
Roland McGrath [Thu, 19 Dec 2002 22:26:49 +0000 (22:26 +0000)]
* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.

* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/isiri-3342.h: Likewise.

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

* iconvdata/ibm856.h: Convert GCC extension initializer syntax to C99.
* iconvdata/ibm922.h: Likewise.
* iconvdata/ibm930.h: Likewise.
* iconvdata/ibm932.h: Likewise.
* iconvdata/ibm933.h: Likewise.
* iconvdata/ibm935.h: Likewise.
* iconvdata/ibm937.h: Likewise.
* iconvdata/ibm939.h: Likewise.
* iconvdata/ibm943.h: Likewise.
* iconvdata/isiri-3342.h: Likewise.

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

* test-skeleton.c (main): Make sure correct value is seen as
argv[0] after adjustment of argv, and argc.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 09:57:54 +0000 (09:57 +0000)]
Update.

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

* elf/rtld.c: Don't initialize _dl_dynamic_weak to 1 if
RTLD_CORRECT_DYNAMIC_WEAK is defined.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 09:18:01 +0000 (09:18 +0000)]
Update.

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

* nscd/connections.c (nscd_run): Shut up warning.
* tst-ungetc.c (assert): Undefined before redefining.

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

* posix/regex.c: Use __builtin_expect even outside glibc if gcc 3
is used.

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

* iconvdata/cp737.h: Convert GCC extension initializer syntax to C99.
* iconvdata/cp775.h: Likewise.
* iconvdata/ibm1046.h: Likewise.
* iconvdata/ibm1124.h: Likewise.
* iconvdata/ibm1129.h: Likewise.
* iconvdata/ibm1132.h: Likewise.
* iconvdata/ibm1133.h: Likewise.
* iconvdata/ibm1160.h: Likewise.
* iconvdata/ibm1161.h: Likewise.
* iconvdata/ibm1162.h: Likewise.
* iconvdata/ibm1163.h: Likewise.
* iconvdata/ibm1164.h: Likewise.

(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >= 2.5.50.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 08:41:52 +0000 (08:41 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/system.c: Define FORK only if
__ASSUME_CLONE_THREAD_FLAGS is defined.
* sysdeps/unix/sysv/linux/kernel-features.h
(__ASSUME_CLONE_THREAD_FLAGS): Define for x86 and kernel >=
2.5.50.

* sysdeps/unix/sysv/linux/i386/brk.c: Use INTERNAL_SYSCALL instead
of asm.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.

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

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

* descr.h (struct pthread) [NEED_DL_SYSINFO]: Add sysinfo member.
* sysdeps/i386/tls.h (tcbhead_t): Add sysinfo member.
Define SYSINFO_OFFSEET if NEED_DL_SYSINFO is defined.
(INIT_SYSINFO): New #define.
(TLS_TP_INIT): Use INIT_SYSINFO.
* sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init):
At test to make sure SYSINFO_OFFSET value is correct.
* sysdeps/unix/sysv/linux/i386/dl-sysdep.h: New file.

21 years agoUpdate.
Ulrich Drepper [Thu, 19 Dec 2002 00:03:48 +0000 (00:03 +0000)]
Update.

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

* elf/dl-support.c [NEED_DL_SYSINFO]: Define and initialize
_dl_sysinfo.
[DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
code.
* elf/rtld.c [DL_NEED_SYSINFO]: Initialize _dl_sysinfo element of
_rtld_global.
[DL_SYSINFO_IMPLEMENTATION]: If defined use it to generate the needed
code.
* sysdeps/generic/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
Check for AT_SYSINFO and set _dl_sysinfo appropriately.
* sysdeps/generic/ldsodefs.h (struct rtld_global) [NEED_DL_SYSINFO]:
Add _dl_sysinfo.

21 years agoUpdate
Ulrich Drepper [Wed, 18 Dec 2002 23:29:41 +0000 (23:29 +0000)]
Update

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

* sysdeps/pthread/flockfile.c (flockfile): Change into weak alias.
* sysdeps/unix/sysv/linux/raise.c (gsignal): Add weak alias to raise.
* Versions [libc: GLIBC_2.0]: Add pthread_attr_init.
[libpthread: GLIBC_2.1]: Remove __pthread_rwlock_init,
__pthread_rwlock_destroy, __pthread_rwlock_rdlock,
__pthread_rwlock_wrlock, __pthread_rwlock_unlock,
__pthread_rwlock_tryrdlock and __pthread_rwlock_trywrlock.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 23:27:15 +0000 (23:27 +0000)]
Update.

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

* misc/Versions [libc: GLIBC_2.3.1]: Move __libc_readv and
__libc_writev to...
[libc: GLIBC_PRIVATE]: ...here.
* sysvipc/Versions [libc: GLIBC_2.3.1]: Move __libc_msgrcv and
__libc_msgsnd to...
[libc: GLIBC_PRIVATE]: ...here.

21 years agoUpdate.
Ulrich Drepper [Wed, 18 Dec 2002 11:56:21 +0000 (11:56 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/sysdep.h: Define ENTER_KERNEL macro.
Use it instead of directly int $0x80.
* sysdeps/unix/sysv/linux/i386/brk.c: Use ENTER_KERNEL.
* sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
* sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
* sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
* sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
* sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.