platform/upstream/glibc.git
21 years ago2002-08-26 Roland McGrath <roland@frob.com>
Roland McGrath [Tue, 27 Aug 2002 02:08:41 +0000 (02:08 +0000)]
2002-08-26  Roland McGrath  <roland@frob.com>

* hurd/hurd/threadvar.h (enum __hurd_threadvar_index): Add
_HURD_THREADVAR_LOCALE.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 Aug 2002 23:11:17 +0000 (23:11 +0000)]
Update.

2002-08-26  Jakub Jelinek  <jakub@redhat.com>
* posix/regexec.c (re_search_stub): Return correct match length
if start != 0.
* posix/bug-regex10.c: New test.
* posix/Makefile (tests): Add bug-regex10.

2002-08-26  Brian Youmans  <3diff@gnu.org>

* COPYING.LIB: Replaced with fresh copy from
* crypt/crypt.c: Changed copying permission notice to Lesser GPL
from Library GPL.
* crypt/crypt_util.c: Likewise.
* crypt/ufc.c: Likewise.
* elf/dl-conflict.c: Likewise.
* elf/dl-iteratephdr.c: Likewise.
* iconv/iconvconfig.h: Likewise.
* malloc/arena.c: Likewise.
* malloc/hooks.c: Likewise.
* malloc/malloc.c: Likewise.
* posix/glob/Makefile.ami: Likewise.
* posix/glob/Makefile.in: Likewise.
* stdlib/gmp-impl.h: Likewise.
* stdlib/gmp.h: Likewise.
* sysdeps/generic/dl-iteratephdr-static.c: Likewise.
* sysdeps/generic/strnlen.c: Likewise.
* sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
* sysdeps/mach/hurd/recvmsg.c: Likewise.
* sysdeps/mach/hurd/sendmsg.c: Likewise.
* sysdeps/mach/hurd/spawni.c: Likewise.
* sysdeps/mach/powerpc/machine-sp.h: Likewise.
* sysdeps/mach/powerpc/sysdep.h: Likewise.
* sysdeps/mach/powerpc/thread_state.h: Likewise.
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise.
* sysdeps/x86_64/gmp-mparam.h: Likewise.

* sysdeps/ieee754/dbl-64/MathLib.h: Corrected version number in
Lesser GPL copying permission notice from 2 to 2.1.
* sysdeps/ieee754/dbl-64/asincos.tbl: Likewise.
* sysdeps/ieee754/dbl-64/atnat.h: Likewise.
* sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
* sysdeps/ieee754/dbl-64/branred.c: Likewise.
* sysdeps/ieee754/dbl-64/branred.h: Likewise.
* sysdeps/ieee754/dbl-64/dla.h: Likewise.
* sysdeps/ieee754/dbl-64/doasin.c: Likewise.
* sysdeps/ieee754/dbl-64/doasin.h: Likewise.
* sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
* sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
* sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
* sysdeps/ieee754/dbl-64/e_log.c: Likewise.
* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
* sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
* sysdeps/ieee754/dbl-64/mpa.c: Likewise.
* sysdeps/ieee754/dbl-64/mpa.h: Likewise.
* sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
* sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
* sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
* sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
* sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
* sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
* sysdeps/ieee754/dbl-64/mplog.c: Likewise.
* sysdeps/ieee754/dbl-64/mplog.h: Likewise.
* sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
* sysdeps/ieee754/dbl-64/mptan.c: Likewise.
* sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
* sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
* sysdeps/ieee754/dbl-64/root.tbl: Likewise.
* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
* sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
* sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
* sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
* sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
* sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
* sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
* sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
* sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
* sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
* sysdeps/ieee754/dbl-64/uexp.h: Likewise.
* sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
* sysdeps/ieee754/dbl-64/ulog.h: Likewise.
* sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
* sysdeps/ieee754/dbl-64/upow.h: Likewise.
* sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
* sysdeps/ieee754/dbl-64/urem.h: Likewise.
* sysdeps/ieee754/dbl-64/uroot.h: Likewise.
* sysdeps/ieee754/dbl-64/usncs.h: Likewise.
* sysdeps/ieee754/dbl-64/utan.h: Likewise.
* sysdeps/ieee754/dbl-64/utan.tbl: Likewise.

* sysdeps/ieee754/flt-32/e_asinf.c: Added copyright notice for Stephen
Moshier and Lesser GPL copying permission notice, per license from
* sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
* sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
* sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.

* sysdeps/ieee754/ldbl-128/e_j0l.c: Added Lesser GPL copying permission
* sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
* sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
* sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
* sysdeps/sh/Makefile (sysdeps_routines): Add divdi3 in csu dir.
(shared-only-routines): Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 Aug 2002 23:00:40 +0000 (23:00 +0000)]
Update.

2002-08-26 Brian Youmans <3diff@gnu.org>

* Examples/ex10.c: Likewise.
* Examples/ex11.c: Likewise.
* Examples/ex13.c: Likewise.
* Examples/ex8.c: Likewise.
* Examples/ex9.c: Likewise.
* barrier.c: Likewise.
* events.c: Likewise.
* lockfile.c: Likewise.
* no-tsd.c: Likewise.
* pt-machine.c: Likewise.
* ptclock_gettime.c: Likewise.
* ptclock_settime.c: Likewise.
* rwlock.c: Likewise.
* sysdeps/alpha/pspinlock.c: Likewise.
* sysdeps/alpha/pt-machine.h: Likewise.
* sysdeps/arm/pspinlock.c: Likewise.
* sysdeps/arm/pt-machine.h: Likewise.
* sysdeps/cris/pspinlock.c: Likewise.
* sysdeps/cris/pt-machine.h: Likewise.
* sysdeps/hppa/pspinlock.c: Likewise.
* sysdeps/hppa/pt-machine.h: Likewise.
* sysdeps/i386/i686/pt-machine.h: Likewise.
* sysdeps/i386/pspinlock.c: Likewise.
* sysdeps/i386/pt-machine.h: Likewise.
* sysdeps/i386/useldt.h: Likewise.
* sysdeps/ia64/pspinlock.c: Likewise.
* sysdeps/ia64/pt-machine.h: Likewise.
* sysdeps/m68k/pspinlock.c: Likewise.
* sysdeps/m68k/pt-machine.h: Likewise.
* sysdeps/mips/pspinlock.c: Likewise.
* sysdeps/mips/pt-machine.h: Likewise.
* sysdeps/powerpc/pspinlock.c: Likewise.
* sysdeps/powerpc/pt-machine.h: Likewise.
* sysdeps/pthread/bits/initspin.h: Likewise.
* sysdeps/pthread/bits/libc-lock.h: Likewise.
* sysdeps/pthread/bits/libc-tsd.h: Likewise.
* sysdeps/pthread/getcpuclockid.c: Likewise.
* sysdeps/pthread/posix-timer.h: Likewise.
* sysdeps/pthread/timer_create.c: Likewise.
* sysdeps/pthread/timer_delete.c: Likewise.
* sysdeps/pthread/timer_getoverr.c: Likewise.
* sysdeps/pthread/timer_gettime.c: Likewise.
* sysdeps/pthread/timer_routines.c: Likewise.
* sysdeps/pthread/timer_settime.c: Likewise.
* sysdeps/pthread/tst-timer.c: Likewise.
* sysdeps/s390/pspinlock.c: Likewise.
* sysdeps/s390/s390-32/pt-machine.h: Likewise.
* sysdeps/s390/s390-64/pt-machine.h: Likewise.
* sysdeps/sh/pspinlock.c: Likewise.
* sysdeps/sh/pt-machine.h: Likewise.
* sysdeps/sparc/sparc32/pspinlock.c: Likewise.
* sysdeps/sparc/sparc32/pt-machine.h: Likewise.
* sysdeps/sparc/sparc32/sparcv9/pspinlock.c: Likewise.
* sysdeps/sparc/sparc64/pspinlock.c: Likewise.
* sysdeps/sparc/sparc64/pt-machine.h: Likewise.
* sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
* sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
* sysdeps/unix/sysv/linux/bits/sigthread.h: Likewise.
* sysdeps/unix/sysv/linux/hppa/bits/initspin.h: Likewise.
* sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
* tststack.c: Likewise.
* unload.c: Likewise.
* weaks.c: Likewise.
* wrapsyscall.c: Likewise.

* sysdeps/pthread/pt-initfini.c: Changed copying
permission notice to Lesser GPL from Library GPL, including the
references in the special exception.
* sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Likewise.
* sysdeps/unix/sysv/linux/ia64/pt-initfini.c: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c:
Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c:
Likewise.
* sysdeps/unix/sysv/linux/sh/pt-initfini.c: Likewise.

21 years ago(tests): Add bug-regex10.
Ulrich Drepper [Mon, 26 Aug 2002 22:42:27 +0000 (22:42 +0000)]
(tests): Add bug-regex10.

21 years ago2002-08-26 Brian Youmans <3diff@gnu.org>
Roland McGrath [Mon, 26 Aug 2002 22:42:22 +0000 (22:42 +0000)]
2002-08-26 Brian Youmans <3diff@gnu.org>

        * COPYING.LIB: Replaced with fresh copy from
ftp://ftp.gnu.org/gnu/Licenses/COPYING.LIB-2.1;
suggested copying permission notice now says version 2.1 instead
of version 2.

        * crypt/crypt.c: Changed copying permission notice to Lesser GPL
        from Library GPL.
        * crypt/crypt_util.c: Likewise.
        * crypt/ufc.c: Likewise.
        * elf/dl-conflict.c: Likewise.
        * elf/dl-iteratephdr.c: Likewise.
        * iconv/iconvconfig.h: Likewise.
        * linuxthreads/Examples/ex10.c: Likewise.
        * linuxthreads/Examples/ex11.c: Likewise.
        * linuxthreads/Examples/ex13.c: Likewise.
        * linuxthreads/Examples/ex8.c: Likewise.
        * linuxthreads/Examples/ex9.c: Likewise.
        * linuxthreads/barrier.c: Likewise.
        * linuxthreads/events.c: Likewise.
        * linuxthreads/lockfile.c: Likewise.
        * linuxthreads/no-tsd.c: Likewise.
        * linuxthreads/pt-machine.c: Likewise.
        * linuxthreads/ptclock_gettime.c: Likewise.
        * linuxthreads/ptclock_settime.c: Likewise.
        * linuxthreads/rwlock.c: Likewise.
        * linuxthreads/sysdeps/alpha/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/alpha/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/arm/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/arm/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/cris/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/cris/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/hppa/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/hppa/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/i686/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/i386/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/useldt.h: Likewise.
        * linuxthreads/sysdeps/ia64/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/ia64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/m68k/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/m68k/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/mips/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/mips/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/powerpc/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/powerpc/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/initspin.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/libc-lock.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/libc-tsd.h: Likewise.
        * linuxthreads/sysdeps/pthread/getcpuclockid.c: Likewise.
        * linuxthreads/sysdeps/pthread/posix-timer.h: Likewise.
        * linuxthreads/sysdeps/pthread/timer_create.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_delete.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_getoverr.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_gettime.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_routines.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_settime.c: Likewise.
        * linuxthreads/sysdeps/pthread/tst-timer.c: Likewise.
        * linuxthreads/sysdeps/s390/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/s390/s390-32/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/s390/s390-64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sh/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sh/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc64/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/initspin.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
        * linuxthreads/tststack.c: Likewise.
        * linuxthreads/unload.c: Likewise.
        * linuxthreads/weaks.c: Likewise.
        * linuxthreads/wrapsyscall.c: Likewise.
        * malloc/arena.c: Likewise.
        * malloc/hooks.c: Likewise.
        * malloc/malloc.c: Likewise.
        * posix/glob/Makefile.ami: Likewise.
        * posix/glob/Makefile.in: Likewise.
        * stdlib/gmp-impl.h: Likewise.
        * stdlib/gmp.h: Likewise.
        * sysdeps/generic/dl-iteratephdr-static.c: Likewise.
        * sysdeps/generic/strnlen.c: Likewise.
        * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
        * sysdeps/mach/hurd/recvmsg.c: Likewise.
        * sysdeps/mach/hurd/sendmsg.c: Likewise.
        * sysdeps/mach/hurd/spawni.c: Likewise.
        * sysdeps/mach/powerpc/machine-sp.h: Likewise.
        * sysdeps/mach/powerpc/sysdep.h: Likewise.
        * sysdeps/mach/powerpc/thread_state.h: Likewise.
        * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
        * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise.
        * sysdeps/x86_64/gmp-mparam.h: Likewise.

        * linuxthreads/sysdeps/pthread/pt-initfini.c: Changed copying
        permission notice to Lesser GPL from Library GPL, including the
        references in the special exception.
        * linuxthreads/sysdeps/unix/sysv/linux/hppa/pt-initfini.c: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/ia64/pt-initfini.c: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/s390/s390-32/pt-initfini.c:
Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/s390/s390-64/pt-initfini.c:
Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/sh/pt-initfini.c: Likewise.

        * sysdeps/ieee754/dbl-64/MathLib.h: Corrected version number in
        Lesser GPL copying permission notice from 2 to 2.1.
        * sysdeps/ieee754/dbl-64/asincos.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/atnat.h: Likewise.
        * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
        * sysdeps/ieee754/dbl-64/branred.c: Likewise.
        * sysdeps/ieee754/dbl-64/branred.h: Likewise.
        * sysdeps/ieee754/dbl-64/dla.h: Likewise.
        * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
        * sysdeps/ieee754/dbl-64/doasin.h: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
        * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
        * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
        * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
        * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/root.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
        * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
        * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
        * sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/upow.h: Likewise.
        * sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/urem.h: Likewise.
        * sysdeps/ieee754/dbl-64/uroot.h: Likewise.
        * sysdeps/ieee754/dbl-64/usncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/utan.h: Likewise.
        * sysdeps/ieee754/dbl-64/utan.tbl: Likewise.

        * sysdeps/ieee754/flt-32/e_asinf.c: Added copyright notice for Stephen
        Moshier and Lesser GPL copying permission notice, per license from
Moshier.
        * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
        * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
        * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.

        * sysdeps/ieee754/ldbl-128/e_j0l.c: Added Lesser GPL copying permission
notice, per license from copyright holder Stephen Moshier.
        * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
        * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
        * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.

21 years ago(re_search_stub): Return correct match length if start != 0.
Ulrich Drepper [Mon, 26 Aug 2002 22:42:03 +0000 (22:42 +0000)]
(re_search_stub): Return correct match length if start != 0.

21 years ago2002-08-26 Brian Youmans <3diff@gnu.org>
Roland McGrath [Mon, 26 Aug 2002 22:40:48 +0000 (22:40 +0000)]
2002-08-26 Brian Youmans <3diff@gnu.org>

        * crypt/crypt.c: Changed copying permission notice to Lesser GPL
        from Library GPL.
        * crypt/crypt_util.c: Likewise.
        * crypt/ufc.c: Likewise.
        * elf/dl-conflict.c: Likewise.
        * elf/dl-iteratephdr.c: Likewise.
        * iconv/iconvconfig.h: Likewise.
        * linuxthreads/Examples/ex10.c: Likewise.
        * linuxthreads/Examples/ex11.c: Likewise.
        * linuxthreads/Examples/ex13.c: Likewise.
        * linuxthreads/Examples/ex8.c: Likewise.
        * linuxthreads/Examples/ex9.c: Likewise.
        * linuxthreads/barrier.c: Likewise.
        * linuxthreads/events.c: Likewise.
        * linuxthreads/lockfile.c: Likewise.
        * linuxthreads/no-tsd.c: Likewise.
        * linuxthreads/pt-machine.c: Likewise.
        * linuxthreads/ptclock_gettime.c: Likewise.
        * linuxthreads/ptclock_settime.c: Likewise.
        * linuxthreads/rwlock.c: Likewise.
        * linuxthreads/sysdeps/alpha/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/alpha/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/arm/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/arm/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/cris/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/cris/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/hppa/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/hppa/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/i686/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/i386/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/i386/useldt.h: Likewise.
        * linuxthreads/sysdeps/ia64/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/ia64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/m68k/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/m68k/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/mips/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/mips/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/powerpc/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/powerpc/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/initspin.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/libc-lock.h: Likewise.
        * linuxthreads/sysdeps/pthread/bits/libc-tsd.h: Likewise.
        * linuxthreads/sysdeps/pthread/getcpuclockid.c: Likewise.
        * linuxthreads/sysdeps/pthread/posix-timer.h: Likewise.
        * linuxthreads/sysdeps/pthread/timer_create.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_delete.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_getoverr.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_gettime.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_routines.c: Likewise.
        * linuxthreads/sysdeps/pthread/timer_settime.c: Likewise.
        * linuxthreads/sysdeps/pthread/tst-timer.c: Likewise.
        * linuxthreads/sysdeps/s390/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/s390/s390-32/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/s390/s390-64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sh/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sh/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/sparc/sparc32/sparcv9/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc64/pspinlock.c: Likewise.
        * linuxthreads/sysdeps/sparc/sparc64/pt-machine.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/local_lim.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/bits/sigthread.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/hppa/bits/initspin.h: Likewise.
        * linuxthreads/sysdeps/unix/sysv/linux/i386/bits/posix_opt.h: Likewise.
        * linuxthreads/tststack.c: Likewise.
        * linuxthreads/unload.c: Likewise.
        * linuxthreads/weaks.c: Likewise.
        * linuxthreads/wrapsyscall.c: Likewise.
        * malloc/arena.c: Likewise.
        * malloc/hooks.c: Likewise.
        * malloc/malloc.c: Likewise.
        * posix/glob/Makefile.ami: Likewise.
        * posix/glob/Makefile.in: Likewise.
        * stdlib/gmp-impl.h: Likewise.
        * stdlib/gmp.h: Likewise.
        * sysdeps/generic/dl-iteratephdr-static.c: Likewise.
        * sysdeps/generic/strnlen.c: Likewise.
        * sysdeps/mach/hurd/powerpc/bits/sigcontext.h: Likewise.
        * sysdeps/mach/hurd/recvmsg.c: Likewise.
        * sysdeps/mach/hurd/sendmsg.c: Likewise.
        * sysdeps/mach/hurd/spawni.c: Likewise.
        * sysdeps/mach/powerpc/machine-sp.h: Likewise.
        * sysdeps/mach/powerpc/sysdep.h: Likewise.
        * sysdeps/mach/powerpc/thread_state.h: Likewise.
        * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise.
        * sysdeps/unix/sysv/linux/ia64/dl-iteratephdr-static.c: Likewise.
        * sysdeps/x86_64/gmp-mparam.h: Likewise.

21 years ago2002-08-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
Roland McGrath [Mon, 26 Aug 2002 11:40:14 +0000 (11:40 +0000)]
2002-08-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

        * sysdeps/sh/Makefile (sysdeps_routines): Add divdi3 in csu dir.
        (shared-only-routines): Likewise.

21 years ago* locale/programs/ld-ctype.c (ctype_read): When given a repertoire
Roland McGrath [Mon, 26 Aug 2002 11:39:12 +0000 (11:39 +0000)]
* locale/programs/ld-ctype.c (ctype_read): When given a repertoire

name of "", store a null pointer instead.

* configure.in (elf): Set to yes for freebsd*, netbsd*.
* configure: Regenerated.

* locale/xlocale.c [! (USE_TLS && HAVE___THREAD)] (__libc_tsd_LOCALE):
Initialize this instead of __libc_tsd_LOCALE_data.

* sysdeps/unix/grantpt.c (pts_name): Convert ENOTTY return from
ptsname_r to EINVAL.

* sysdeps/generic/ptsname.c (__ptsname_r): Return ENOSYS instead of 0.

* rt/Makefile: Revert last change, it was inappropriate to presume aio
implementations depend on pthreads.
* rt/tst-aio.c (do_test): Exit happy if first failure is ENOSYS.
* rt/tst-aio64.c (do_test): Likewise.
* rt/tst-aio2.c (do_test): Likewise.
* rt/tst-aio3.c (do_test): Likewise.
* rt/tst-aio4.c (do_test): Likewise.
* rt/tst-aio5.c (do_test): Likewise.
* rt/tst-aio6.c (do_test): Likewise.
* rt/tst-aio7.c (do_test): Likewise.

* sysdeps/generic/bits/libc-lock.h (__libc_setspecific): Use a cast to
void so as to avoid compiler warnings.

* libio/oldstdfiles.c [! _IO_MTSAFE_IO] (DEF_STDFILE): Don't define
_IO_wide_data_FD, which is never used here.

* libio/iofread.c
[! _IO_MTSAFE_IO] (fread_unlocked): Add libc_hidden_ver defn.
* libio/iofputs.c [! _IO_MTSAFE_IO] (fputs_unlocked): Likewise.
* libio/iofgets.c [! _IO_MTSAFE_IO] (fgets_unlocked): Likewise.

* include/resolv.h [! _LIBC_REENTRANT] (_res): #undef it before decl.
* include/netdb.h [! _LIBC_REENTRANT] (h_errno): Declare normal extern.

* misc/syslog.c (openlog): Conditionalize locking on [_LIBC_REENTRANT].
(closelog): Likewise.

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

* sysdeps/alpha/fpu/fpu_control.h: Comment fix.

* sysdeps/unix/sysv/linux/alpha/pipe.S: Moved to ...
* sysdeps/unix/alpha/pipe.S: ... here.
* sysdeps/unix/bsd/osf/alpha/pipe.S: File removed.

* sysdeps/unix/i386/brk.S: Rename local label to '.Lhere' in ELF.

* sysdeps/unix/i386/brk.S: Add PSEUDO_END invocation.
* sysdeps/unix/i386/fork.S: Likewise.
* sysdeps/unix/i386/pipe.S: Likewise.
* sysdeps/unix/i386/wait.S: Likewise.

* sysdeps/unix/fork.S: Fix PSEUDO_END argument.
* sysdeps/unix/arm/fork.S: Likewise.

* sysdeps/unix/sysv/linux/arm/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/hppa/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/sh/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.
* sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Swap DO_CALL
arguments.
(DO_CALL): Swap argument order.

* sysdeps/i386/sysdep.h (PSEUDO): Fix syntax error.
(L): Define right for ELF.
* sysdeps/unix/sysv/linux/i386/sysdep.h (L): Remove definition.
Now defined in sysdeps/i386/sysdep.h.

* sysdeps/posix/readv.c: Ansify function definition.
* sysdeps/posix/writev.c: Likewise.

* stdio-common/tst-fseek.c (main): Don't assume that off_t and size_t
have the same size. Avoid direct cast from size_t to off_t.

* login/tst-utmp.c (simulate_login): Don't leave garbage after the
nul byte in entry[n].ut_user.
(simulate_logout): Likewise.

* login/programs/utmpdump.c (print_entry): Test _HAVE_UT_TYPE,
_HAVE_UT_PID, _HAVE_UT_ID, _HAVE_UT_HOST, instead of assuming the
existence of corresponding members of 'struct utmp'.
* login/tst-utmp.c: Trivialize the test if testing 'struct utmp' and
!_HAVE_UT_TYPE.

* sysdeps/unix/opendir.c (__opendir): If st_blksize is 0 or too small,
allocate a buffer of at least BUFSIZ bytes, not just of
sizeof (struct dirent).

* sysdeps/generic/glob.c: Include <limits.h>.
(NAME_MAX): Define a fallback.
(glob_in_dir): Allocate enough room for a 'struct dirent64' on the
stack.
* posix/tst-dir.c: Include <stddef.h>, for offsetof.
(main): Allocate enough room for a 'struct dirent64' on the stack.
* posix/tst-gnuglob.c (my_DIR): Allocate enough room for a
'struct dirent'.

* sysdeps/unix/sysv/linux/init-first.c: Don't include
kernel-features.h.

* inet/htontest.c: Include <sys/types.h>.

* sysdeps/generic/sys/sysinfo.h: Surround with __{BEGIN,END}_DECLS.

* include/sys/sysctl.h: Comment fix.

* elf/rtld.c (_rtld_global) [! _LIBC_REENTRANT]: Don't initialize
_dl_load_lock.
* libio/fileno.c (fileno_unlocked): Define regardless of _IO_MTSAFE_IO.

* sysdeps/unix/bsd/bsd4.4/syscalls.list (__sigaltstack): New alias.

* sysdeps/unix/inet/syscalls.list (__connect_internal): New alias.
(__getpeername): New alias.
(__getsockname): New alias.
(__socket): New alias.

* sysdeps/unix/common/syscalls.list (getpgid): Remove.

* sysdeps/unix/syscalls.list (__chown_internal): New alias.
(__fcntl_internal): New alias.
(__profil): New alias.

21 years ago2002-08-26 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 26 Aug 2002 11:36:04 +0000 (11:36 +0000)]
2002-08-26  Roland McGrath  <roland@redhat.com>

* locale/programs/ld-ctype.c (ctype_read): When given a repertoire
name of "", store a null pointer instead.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 Aug 2002 08:40:21 +0000 (08:40 +0000)]
Update.

* nscd/hstcache.c (cache_addhst): Add new parameter saying whether
entry was for getaddr* lookup or not.  Add only matching cache
entry.  Change all callers [PR libc/4317].

* libio/bug-rewind.c: Fix creation of temp file.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 Aug 2002 08:08:50 +0000 (08:08 +0000)]
Update.

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

* libio/wfileops.c (_IO_wfile_seekoff): Set fp->_offset after
finding the read position [PR libc/4265].
* libio/Makefile (tests): Add bug-rewind2.
* libio/bug-rewind2.c: New file.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 Aug 2002 07:06:57 +0000 (07:06 +0000)]
Update.

* nss/getXXbyYY_r.c (REENTRANT_NAME): Return ENOENT if status is
neither SUCCESS nor TRYAGAIN [PR libc/4259].
* nss/nss_files/files-XXX.c (internal_getent): Don't set *errnop
to ENOENT if no entry is found.
* nis/nss_compat/compat-grp.c: Don't set errno in case of lookup
failure.
* nis/nss_compat/compat-initgroups.c: Likewise.
* nis/nss_compat/compat-pwd.c: Likewise.
* nis/nss_compat/compat-spwd.c: Likewise.
* nis/nss_nis/nis-alias.c: Likewise.
* nis/nss_nis/nis-ethers.c: Likewise.
* nis/nss_nis/nis-grp.c: Likewise.
* nis/nss_nis/nis-hosts.c: Likewise.
* nis/nss_nis/nis-initgroups.c: Likewise.
* nis/nss_nis/nis-netgrp.c: Likewise.
* nis/nss_nis/nis-network.c: Likewise.
* nis/nss_nis/nis-proto.c: Likewise.
* nis/nss_nis/nis-publickey.c: Likewise.
* nis/nss_nis/nis-pwd.c: Likewise.
* nis/nss_nis/nis-rpc.c: Likewise.
* nis/nss_nis/nis-service.c: Likewise.
* nis/nss_nis/nis-spwd.c: Likewise.
* resolv/nss_dns/dns-host.c: Likewise.
* resolv/nss_dns/dns-network.c: Likewise.
* nis/nss_nisplus/nisplus-alias.c: Save errno around NIS calls.
* nis/nss_nisplus/nisplus-ethers.c: Likewise.
* nis/nss_nisplus/nisplus-grp.c: Likewise.
* nis/nss_nisplus/nisplus-hosts.c: Likewise.
* nis/nss_nisplus/nisplus-network.c: Likewise.
* nis/nss_nisplus/nisplus-proto.c: Likewise.
* nis/nss_nisplus/nisplus-pwd.c: Likewise.
* nis/nss_nisplus/nisplus-rpc.c: Likewise.
* nis/nss_nisplus/nisplus-service.c: Likewise.
* nis/nss_nisplus/nisplus-spwd.c: Likewise.
* hesiod/nss_hesiod/hesiod-pwd.c (lookup): Preserve errno value.
* hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
* hesiod/nss_hesiod/hesiod-grp.c (lookup): Likewise.
* hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.

21 years agoUpdate.
Ulrich Drepper [Mon, 26 Aug 2002 03:50:15 +0000 (03:50 +0000)]
Update.

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

* sysdeps/unix/sysv/linux/i386/sigaction.c: Avoid warnings by
declaring __restore and __restore_rt as hidden (if possible).

21 years agoUpdate.
Ulrich Drepper [Mon, 26 Aug 2002 02:20:11 +0000 (02:20 +0000)]
Update.

* locale/programs/locale.c: Don't print aliases for non-existing
locales for 'locale -a'.
Patch by Noah Levitt <nlevitt@columbia.edu> [PR libc/4166].

2002-07-19  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/mips/bits/msq.h: New file.

2002-07-16  H.J. Lu  <hjl@gnu.org>

* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
sys/personality.h.
* sysdeps/unix/sysv/linux/sys/personality.h: New file.

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

21 years agoDefinitions for personality syscall.
Ulrich Drepper [Mon, 26 Aug 2002 01:43:44 +0000 (01:43 +0000)]
Definitions for personality syscall.

21 years ago* manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns.
Roland McGrath [Mon, 26 Aug 2002 01:42:01 +0000 (01:42 +0000)]
* manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns.

21 years ago2002-08-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Mon, 26 Aug 2002 01:41:48 +0000 (01:41 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* manual/llio.texi (Access Modes): Fix typos in O_READ/O_WRITE defns.

21 years ago(Setting an Alarm): Document that SA_RESTART must not be set when y sycall has to...
Ulrich Drepper [Mon, 26 Aug 2002 01:13:25 +0000 (01:13 +0000)]
(Setting an Alarm): Document that SA_RESTART must not be set when y sycall has to be interrupted.

21 years ago* sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl.
Roland McGrath [Sun, 25 Aug 2002 23:16:56 +0000 (23:16 +0000)]
* sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl.

(getutent_r_file, internal_getut_r): Updated all callers.
(getutline_r_file, pututline_file, updwtmp_file): Likewise.

21 years ago2002-08-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 25 Aug 2002 23:15:57 +0000 (23:15 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* sysdeps/generic/utmp_file.c (LOCK_FILE): Check for error from fcntl.
(getutent_r_file, internal_getut_r): Updated all callers.
(getutline_r_file, pututline_file, updwtmp_file): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 25 Aug 2002 22:34:57 +0000 (22:34 +0000)]
Update.

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

* elf/tst-tlsmod1.c (in_dso): Make sure the TLS variable access is
not moved ahead of the fputs call.
* elf/tst-tlsmod2.c (in_dso): Likewise.
* elf/tst-tlsmod3.c (in_dso2): Likewise.
* elf/tst-tlsmod4.c (in_dso): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 25 Aug 2002 22:01:27 +0000 (22:01 +0000)]
Update.

2002-08-25  Andreas Schwab  <schwab@suse.de>

* elf/dl-reloc.c (_dl_reloc_bad_type): Nul-terminate message.

* misc/Makefile (CFLAGS-init-misc.c): Variable removed.  It served to

21 years ago(_dl_reloc_bad_type): Nul-terminate message.
Ulrich Drepper [Sun, 25 Aug 2002 21:52:49 +0000 (21:52 +0000)]
(_dl_reloc_bad_type): Nul-terminate message.

21 years ago* sysdeps/generic/utmp_file.c (UNLOCK_FILE): Clear alarm before
Roland McGrath [Sun, 25 Aug 2002 20:14:50 +0000 (20:14 +0000)]
* sysdeps/generic/utmp_file.c (UNLOCK_FILE): Clear alarm before

resetting handler, to avoid the possibility of a spurious SIGALRM
delivered to the user's handler.
Reported by Amit D. Chaudhary <amitc@brocade.com>,

* misc/Makefile (CFLAGS-init-misc.c): Varaible removed.  It served to
set -fkeep-inline-functions, which is not needed for the current file.

* sysdeps/generic/ldsodefs.h: Add attribute_hidden to *_internal decls.
(_dl_setup_hash): Add attribute_hidden.
(_dl_sysdep_start, _dl_sysdep_start_cleanup): Likewise.
(_dl_sysdep_read_whole_file, _dl_dprintf): Likewise.
(_dl_new_object, _dl_map_object_deps): Likewise.
(_dl_map_object_deps_internal): Remove decl.
* elf/rtld.c (__mempcpy, _exit): Redeclare locally as hidden.

* sysdeps/i386/dl-machine.h [PI_STATIC_AND_HIDDEN
&& HAVE_VISIBILITY_ATTRIBUTE && HAVE_HIDDEN
&& !HAVE_BROKEN_VISIBILITY_ATTRIBUTE]
(elf_machine_dynamic, elf_machine_load_address): Rewritten without asm,
instead relying on the compiler to produce only GOTOFF variable refs.

21 years ago2002-08-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Sun, 25 Aug 2002 20:14:26 +0000 (20:14 +0000)]
2002-08-25  Roland McGrath  <roland@redhat.com>

* misc/Makefile (CFLAGS-init-misc.c): Varaible removed.  It served to
set -fkeep-inline-functions, which is not needed for the current file.

21 years agoUpdate.
Ulrich Drepper [Sun, 25 Aug 2002 19:34:42 +0000 (19:34 +0000)]
Update.

* elf/dl-load.c: Fix typo in comment.  Add a few more __builtin_expect.

21 years agoUpdate.
Ulrich Drepper [Sun, 25 Aug 2002 09:44:37 +0000 (09:44 +0000)]
Update.

* sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static
inline to avoid defining it in every file which includes this header.

21 years agoUpdate.
Ulrich Drepper [Sun, 25 Aug 2002 09:02:59 +0000 (09:02 +0000)]
Update.

* elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before
defining DONT_USE_BOOTSTRAP_MAP.

21 years agoUpdate.
Ulrich Drepper [Sun, 25 Aug 2002 08:44:43 +0000 (08:44 +0000)]
Update.

* libio/tst-freopen.c (main): Use correct formats for __LINE__.
* libio/tst-mmap-setvbuf.c (main): Likewise.
* libio/tst-widetext.c (main): Likewise.

* libio/tst-mmap-eofsync.c (do_test): Use correct format in error
message.
* libio/tst-mmap-fflushsync.c (do_test): Likewise.
* libio/tst-mmap2-eofsync.c (do_test): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 25 Aug 2002 07:22:45 +0000 (07:22 +0000)]
Update.

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

* sysdeps/i386/elf/configure.in: Unconditionally define
PI_STATIC_AND_HIDDEN.
* elf/rtld.c (DONT_USE_BOOTSTRAP_MAP): Define only if
PI_STATIC_AND_HIDDEN is defined as well.
* config.h.in: Add PI_STATIC_AND_HIDDEN entry.

* elf/rtld.c (dl_main): Likewise.

21 years agoUpdate.
Ulrich Drepper [Sun, 25 Aug 2002 05:27:13 +0000 (05:27 +0000)]
Update.

* sysdeps/ia64/bzero.S: Define __bzero as well.

21 years agoUpdate.
Ulrich Drepper [Sun, 25 Aug 2002 04:51:08 +0000 (04:51 +0000)]
Update.

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

* locale/programs/charmap.c (charmap_new_char): Don't use
ULONG_MAX as maximum UCS4 value.

* sysdeps/unix/sysv/linux/ia64/sys/user.h: New file.

* sysdeps/generic/strtol.c: We don't need the isascii test in glibc.

* malloc/hooks.c (public_sET_STATe): use size_t as type for i.
* malloc/malloc.c (mALLINFo): Likewise.

* libio/wstrops.c (_IO_wstr_pbackfail): Use WEOF in comparison.

* libio/wfileops.c (_IO_wfile_overflow): Use EOF not WEOF when
examining result of _IO_do_flush call.

* stdio-common/vfprintf.c (vfprintf): Use correct type in va_arg.
Use prec not spec when sizing buffers.

* catgets/open_catalog.c (__open_catalog): Add casts to avoid warnings.
* locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
* locale/loadlocale.c (_nl_intern_locale_data): Likewise.
* stdio-common/vfscanf.c (inchar): Likewise.
* misc/efgcvt_r.c (fcvt_r): Likewise.
* elf/dl-misc.c (_dl_debug_vdprintf): Likewise.
* elf/readlib.c (process_file): Likewise.
* elf/sprof.c (load_profdata): Likewise.
* sysdeps/ia64/hp-timing.h (HP_TIMING_PRINT): Likewise.
* locale/programs/linereader.c (get_toplvl_escape): Likewise.
* locale/programs/charmap.c (charmap_read): Likewise.
* libio/fileops.c: Likewise.
* libio/fmemopen.c: Likewise.
* stdlib/strtod.c: Likewise.
* elf/dl-load.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* iconv/iconv_prog.c (process_block): Likewise.

* sysdeps/unix/sysv/linux/ia64/Makefile: Define _ASM_IA64_CURRENT_H
macro to calm down the compiler.

* iconv/gconv_cache.c (__gconv_load_cache): Add cast to avoid warning.

* sysdeps/ia64/elf/initfini.c: Don't use newlines embedded in string.

* sysdeps/unix/sysv/linux/i386/sysdep.S: Update comment regarding
placement of errno definition.
* sysdeps/unix/sysv/linux/m68k/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/mips/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/x86_64/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
* sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.

* resolv/nss_dns/dns-host.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.

2002-08-16  Paul Eggert  <eggert@twinsun.com>

* resolv/gethnamaddr.c (MAXPACKET): Increase minimum value
from 1024 to 65536, to avoid buffer overrun.
* resolv/res_query.c (MAXPACKET): Likewise.

architectures.

21 years ago(MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.
Ulrich Drepper [Sat, 24 Aug 2002 22:29:11 +0000 (22:29 +0000)]
(MAXPACKET): Increase minimum value from 1024 to 65536, to avoid buffer overrun.

21 years agoUpdate.
Andreas Jaeger [Sat, 24 Aug 2002 06:48:07 +0000 (06:48 +0000)]
Update.

2002-08-24  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/i386/Versions: Remove *xattr syscalls.

21 years ago Remove *xattr syscalls.
Andreas Jaeger [Sat, 24 Aug 2002 06:47:55 +0000 (06:47 +0000)]
 Remove *xattr syscalls.

21 years agoUpdate.
Ulrich Drepper [Sat, 24 Aug 2002 03:35:35 +0000 (03:35 +0000)]
Update.

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

* pthread.c (__linuxthreads_version): New global constant.

21 years agoUpdate.
Ulrich Drepper [Sat, 24 Aug 2002 01:36:09 +0000 (01:36 +0000)]
Update.

* sysdeps/ieee754/dbl-64/e_pow.c (log1): Define and initialize
two52 locally.
(log2): Likewise.
* sysdeps/ieee754/dbl-64/upow.h: Remove definition of two52.
Patch by Simon Gee <simong@agile.tv>.

* sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs_conf):
Prefer reading /proc/stat since it is more uniform across
architectures.1

* manual/texinfo.tex: Update to latest official version.

21 years agoUpdate.
Ulrich Drepper [Fri, 23 Aug 2002 22:33:32 +0000 (22:33 +0000)]
Update.

* sysvipc/sys/shm.h: Remove SHMLBA definition.
* sysdeps/generic/bits/shm.h: Define SHMLBA here.
* sysdeps/gnu/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/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/sparc/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise.
* sysdeps/unix/sysv/linux/ia64/bits/shm.h: Define SHMLBA to 2^20
since this is what the kernel says.

21 years agoUpdate.
Ulrich Drepper [Fri, 23 Aug 2002 21:47:01 +0000 (21:47 +0000)]
Update.

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

* misc/sys/xattr.h: Include <sys/types.h> instead of <stddef.h>
since ssize_t is needed as well.  Replace const with __const.

21 years agoInclude <sys/types.h> instead of <stddef.h> since ssize_t is needed as well. Replace...
Ulrich Drepper [Fri, 23 Aug 2002 21:34:01 +0000 (21:34 +0000)]
Include <sys/types.h> instead of <stddef.h> since ssize_t is needed as well. Replace const with __const.

21 years ago* sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs
Andreas Jaeger [Fri, 23 Aug 2002 15:22:25 +0000 (15:22 +0000)]
* sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs

as thread specific register.
(testandset): Fix inline asm.
(THREAD_GETMEM): Fix inline asm.
2002-08-23  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/pt-machine.h: Use %fs instead of %gs
as thread specific register.
(testandset): Fix inline asm.
(THREAD_GETMEM): Fix inline asm.

21 years ago* malloc/hooks.c (__malloc_initialize_hook, __free_hook,
Roland McGrath [Fri, 23 Aug 2002 10:53:52 +0000 (10:53 +0000)]
* malloc/hooks.c (__malloc_initialize_hook, __free_hook,

__malloc_hook, __realloc_hook, __memalign_hook,
__after_morecore_hook): Variable definitions moved to ...
* malloc/malloc.c: ... here, so as to be before all references.

21 years ago* sysdeps/i386/dl-machine.h (elf_machine_load_address): Add a dummy
Roland McGrath [Fri, 23 Aug 2002 10:35:03 +0000 (10:35 +0000)]
* sysdeps/i386/dl-machine.h (elf_machine_load_address): Add a dummy

global variable reference in an unused asm parameter, to ensure the
compiler has set up the GOT register before we use it.

21 years ago* malloc/hooks.c: Move variable definitions ahead of uses.
Roland McGrath [Fri, 23 Aug 2002 09:46:50 +0000 (09:46 +0000)]
* malloc/hooks.c: Move variable definitions ahead of uses.

* libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t
initializers that make reference to variables they define.

* misc/sys/xattr.h: New file, contributed by Christoph Hellwig
<hch@lst.de>.

21 years ago2002-08-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Fri, 23 Aug 2002 09:46:36 +0000 (09:46 +0000)]
2002-08-23  Roland McGrath  <roland@redhat.com>

* malloc/hooks.c: Move variable definitions ahead of uses.
* libio/fileops.c: Move versioned_symbol defns ahead of _IO_jump_t
initializers that make reference to variables they define.

21 years agoUpdate.
Andreas Jaeger [Fri, 23 Aug 2002 09:29:27 +0000 (09:29 +0000)]
Update.

2002-08-23  Andreas Jaeger  <aj@suse.de>

* locale/loadarchive.c: Include <stdlib.h> for prototypes of
alloca, free, qsort.

* dlfcn/bug-dlsym1-lib1.c (foo): Add prototype to avoid warning.

* sysdeps/ieee754/flt-32/e_jnf.c: Remove unused variable.
* sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.

* sysdeps/generic/fgetxattr.c: New file.
* sysdeps/generic/flistxattr.c: New file.
* sysdeps/generic/fremovexattr.c: New file.
* sysdeps/generic/fsetxattr.c: New file.
* sysdeps/generic/getxattr.c: New file.
* sysdeps/generic/listxattr.c: New file.
* sysdeps/generic/lgetxattr.c: New file.
* sysdeps/generic/llistxattr.c: New file.
* sysdeps/generic/lremovexattr.c: New file.
* sysdeps/generic/lsetxattr.c: New file.
* sysdeps/generic/removexattr.c: New file.
* sysdeps/generic/setxattr.c: New file.

* misc/sys/xattr.h: New file, contributed by Christoph Hellwig
<hch@lst.de>.

* misc/Makefile (headers): Add sys/xattr.h.
(routines): Add *xattr calls.

* misc/Versions: Add *xattr calls with version 2.3.

* sysdeps/unix/sysv/linux/m68k/Versions: Remove *xattr syscalls.
* sysdeps/unix/sysv/linux/s390/s390-32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc32/Versions: Likewise.
* sysdeps/unix/sysv/linux/sparc/sparc64/Versions: Likewise.
* sysdeps/unix/sysv/linux/x86_64/Versions: Likewise.
* sysdeps/unix/sysv/linux/ia64/Versions: Likewise.
* sysdeps/unix/sysv/linux/alpha/Versions: Likewise.
* sysdeps/unix/sysv/linux/arm/Versions: Likewise.

* sysdeps/powerpc/elf/libc-start.c
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c

21 years ago(foo): Add prototype to avoid warning.
Andreas Jaeger [Fri, 23 Aug 2002 08:52:49 +0000 (08:52 +0000)]
(foo): Add prototype to avoid warning.

21 years ago* sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT]
Roland McGrath [Thu, 22 Aug 2002 23:47:28 +0000 (23:47 +0000)]
* sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT]

conditional.
(INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA.
(DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE
macro.  That chooses whether to reuse %gs value or let kernel set it.
[USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1.
[!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is
not constant 0.

21 years ago2002-08-22 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 22 Aug 2002 23:47:18 +0000 (23:47 +0000)]
2002-08-22  Roland McGrath  <roland@redhat.com>

* sysdeps/i386/useldt.h (INIT_THREAD_SELF): Remove [HAVE_TLS_SUPPORT]
conditional.
(INIT_THREAD_SELF): Pass second arg to DO_SET_THREAD_AREA.
(DO_SET_THREAD_AREA): Take second arg, pass to DO_SET_THREAD_AREA_REUSE
macro.  That chooses whether to reuse %gs value or let kernel set it.
[USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, always 1.
[!USE_TLS] (DO_SET_THREAD_AREA_REUSE): New macro, true if arg is
not constant 0.

21 years ago2002-08-22 Steven Munroe <sjmunroe@us.ibm.com>
Geoff Keating [Thu, 22 Aug 2002 19:07:46 +0000 (19:07 +0000)]
2002-08-22  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/elf/libc-start.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(__libc_start_main): Change type of `auxvec' parameter to
`ElfW(auxv_t) *'.  Correct walking of aux vector.  Call
__aux_init_cache.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(DL_PLATFORM_INIT): Define.
* sysdeps/powerpc/memset.S: Define __cache_line_size and use its
value to select the correct stride for dcbz.
2002-08-22  Steven Munroe  <sjmunroe@us.ibm.com>

* sysdeps/powerpc/elf/libc-start.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(__libc_start_main): Change type of `auxvec' parameter to
`ElfW(auxv_t) *'.  Correct walking of aux vector.  Call
__aux_init_cache.
* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
(__cache_line_size): Declare.
(__aux_init_cache): New.
(DL_PLATFORM_INIT): Define.
* sysdeps/powerpc/memset.S: Define __cache_line_size and use its
value to select the correct stride for dcbz.

21 years agoUpdate.
Andreas Jaeger [Thu, 22 Aug 2002 11:07:05 +0000 (11:07 +0000)]
Update.

2002-08-22  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/syscalls.list: Fix arguments of
shmat.

21 years agoFix arguments of shmat.
Andreas Jaeger [Thu, 22 Aug 2002 11:06:53 +0000 (11:06 +0000)]
Fix arguments of shmat.

21 years ago* locale/loadarchive.c (_nl_load_locale_from_archive): Check max file
Roland McGrath [Thu, 22 Aug 2002 08:11:48 +0000 (08:11 +0000)]
* locale/loadarchive.c (_nl_load_locale_from_archive): Check max file

position indicated by locrectab against file bounds before rounding to
page size.  In mapping loop, always set TO before breaking out of
contiguous range coalescing loop.

* locale/loadarchive.c (_nl_load_locale_from_archive): Use MAP_PRIVATE
(or MAP_COPY if available) instead of MAP_SHARED.

21 years ago* scripts/firstversions.awk: When encountering a version newer than
Roland McGrath [Thu, 22 Aug 2002 07:22:03 +0000 (07:22 +0000)]
* scripts/firstversions.awk: When encountering a version newer than

the specified earliest version, be sure to emit the specified earliest
version first if any renaming of an older version to that has been.

21 years ago* configure.in: Make GCC version check require 3.[2-9]* and no others.
Roland McGrath [Thu, 22 Aug 2002 00:13:04 +0000 (00:13 +0000)]
* configure.in: Make GCC version check require 3.[2-9]* and no others.

* configure: Regenerated.
* manual/install.texi (Tools for Compilation): Say 3.2 is required.
(Configuring and compiling): Don't mention older GCC versions any more.
* INSTALL: Regenerated.

* manual/install.texi (Configuring and compiling, Installation,
Running make install, Linux): Linux -> GNU/Linux where appropriate.

* elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can
be inlined.  Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP]
and with noinline otherwise.  Remove hack alloca use to prevent
inlining, we can ask for it explicitly nowadays.

21 years ago2002-08-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 22 Aug 2002 00:09:26 +0000 (00:09 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* elf/rtld.c (_dl_start_final): Move defn before _dl_start so it can
be inlined.  Declare it with always_inline if [DONT_USE_BOOTSTRAP_MAP]
and with noinline otherwise.  Remove hack alloca use to prevent
inlining, we can ask for it explicitly nowadays.

21 years agoUpdate.
Ulrich Drepper [Wed, 21 Aug 2002 23:28:24 +0000 (23:28 +0000)]
Update.

(_dl_start_final): Don't copy bootstrap_map if DONT_USE_BOOTSTRAP_MAP.
* sysdeps/x86_64/machine-gmon.h: New file.
* sysdeps/x86_64/_mcount.S: New file.

21 years ago* dlfcn/bug-dlsym1.c: New file.
Roland McGrath [Wed, 21 Aug 2002 23:04:01 +0000 (23:04 +0000)]
* dlfcn/bug-dlsym1.c: New file.

* dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files.
* dlfcn/Makefile (distribute): Add them.
(tests): Add bug-dlsym1 here.
(modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here.
($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets.
($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise.

21 years ago2002-08-21 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 21 Aug 2002 23:03:46 +0000 (23:03 +0000)]
2002-08-21  Roland McGrath  <roland@redhat.com>

* dlfcn/bug-dlsym1.c: New file.
* dlfcn/bug-dlsym1-lib1.c, dlfcn/bug-dlsym1-lib2.c: New files.
* dlfcn/Makefile (distribute): Add them.
(tests): Add bug-dlsym1 here.
(modules-names): Add bug-dlsym1-lib1 and bug-dlsym1-lib2 here.
($(objpfx)bug-dlsym1, $(objpfx)bug-dlsym1.out): New targets.
($(objpfx)bug-dlsym1-lib1.so, $(objpfx)bug-dlsym1-lib2.so): Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 21 Aug 2002 23:01:40 +0000 (23:01 +0000)]
Update.

* elf/rtld.c (start_time): New global variable.  Moved from _dl_start.
(DONT_USE_BOOTSTRAP_MAP): Define if we can use non-exported symbols
before relocation.
(_dl_start): Don't use local bootstrap_map variable if
DONT_USE_BOOTSTRAP_MAP is defined.  Use GL(dl_rtld_map).  Don't
pass bootstrap_map to _dl_start_final in this case either.  Don't
pass start_time to _dl_start_final ever.
(_dl_start_final): Don't copy bootstrap_map of DONT_USE_BOOTSTRAP_MAP.

* elf/dl-deps.c (_dl_map_object_deps): Revert patch from 2002-05-28.
This cripples the scope lists necessary to search for symbols in
dependencies which are not in the global scope.

21 years agoUpdate.
Ulrich Drepper [Wed, 21 Aug 2002 22:48:22 +0000 (22:48 +0000)]
Update.

* elf/dl-deps.c (_dl_map_object_deps): Revert patch from
2002-05-28.  This cripples the scope lists necessary to search for
symbols in dependencies which are not in the global scope.

21 years ago(_dl_map_object_deps): Revert patch from 2002-05-28. This cripples the scope lists...
Ulrich Drepper [Wed, 21 Aug 2002 22:36:32 +0000 (22:36 +0000)]
(_dl_map_object_deps): Revert patch from 2002-05-28.  This cripples the scope lists necessary to search for symbols in dependencies which are not in the global scope.

21 years agoUpdate.
Andreas Jaeger [Wed, 21 Aug 2002 12:44:11 +0000 (12:44 +0000)]
Update.

* sysdeps/x86_64/_mcount.S: Fix assembler.

21 years agoFix assembler
Andreas Jaeger [Wed, 21 Aug 2002 12:38:20 +0000 (12:38 +0000)]
Fix assembler

21 years agoUpdate.
Ulrich Drepper [Wed, 21 Aug 2002 11:04:22 +0000 (11:04 +0000)]
Update.

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

* sysdeps/i386/tls.h (TLS_SETUP_GS_SEGMENT): Add new parameter
also to the third definition of this macro.

21 years agoUpdate.
Ulrich Drepper [Wed, 21 Aug 2002 08:14:07 +0000 (08:14 +0000)]
Update.

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

* include/setjmp.h (__libc_longjmp): Add declaration.

21 years agoUpdate.
Andreas Jaeger [Wed, 21 Aug 2002 08:09:34 +0000 (08:09 +0000)]
Update.

* sysdeps/unix/sysv/linux/x86_64/Makefile: Generate bits/syscall.h
with biarch support.

2002-08-21  Andreas Jaeger  <aj@suse.de>

21 years ago(CFLAGS-pt-initfini.s): Set it.
Andreas Jaeger [Wed, 21 Aug 2002 08:09:20 +0000 (08:09 +0000)]
(CFLAGS-pt-initfini.s): Set it.

2002-06-17  Andreas Jaeger  <aj@suse.de>

* sysdeps/unix/sysv/linux/x86_64/Makefile (CFLAGS-pt-initfini.s):
Set it.

21 years ago(__libc_longjmp): Add declaration.
Ulrich Drepper [Wed, 21 Aug 2002 08:08:03 +0000 (08:08 +0000)]
(__libc_longjmp): Add declaration.

21 years agoGenerate bits/syscall.h with biarch support.
Andreas Jaeger [Wed, 21 Aug 2002 08:06:35 +0000 (08:06 +0000)]
Generate bits/syscall.h with biarch support.

21 years agoUpdate.
Andreas Jaeger [Wed, 21 Aug 2002 07:57:48 +0000 (07:57 +0000)]
Update.

2002-08-21  Andreas Jaeger  <aj@suse.de>

* sysdeps/x86_64/sysdep.h (CALL_MCOUNT): Fix it.

* sysdeps/x86_64/Makefile (sysdep_routines): Add _mcount.

* sysdeps/x86_64/machine-gmon.h: New.
* sysdeps/x86_64/_mcount.S: New.

21 years agox86-64 mcount implementation
Andreas Jaeger [Wed, 21 Aug 2002 07:52:27 +0000 (07:52 +0000)]
x86-64 mcount implementation

21 years agoUpdate.
Ulrich Drepper [Wed, 21 Aug 2002 02:35:30 +0000 (02:35 +0000)]
Update.

* sysdeps/i386/useldt.h: Go back to using 16-bit instructions when
loading/reading segment registers.  Some old hardware doesn't
handle the 32-bit instructions as expected.
* sysdeps/i386/tls.h: Likewise.

21 years agoUpdate.
Ulrich Drepper [Wed, 21 Aug 2002 00:17:09 +0000 (00:17 +0000)]
Update.

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

* elf/rtld.c (_dl_start): Pass zero to TLS_INIT_TP.  Set
bootstrap_map.l_tls_tp_initialized to 1 if TLS_INIT_TP was called.
(_dl_start_final): Copy l_tls_tp_initialized to GL(dl_rtld_map).
(dl_main): If HAVE___THREAD is not defined pass l_tls_tp_initialized
to TL_INIT_TP.  Otherwise pass 1.
* include/link.h (struct link_map): Add l_tls_tp_initialized.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass 0 to TL_INIT_TP.

2002-08-20  Brian Youmans  <3diff@gnu.org>
* manual/contrib.texi: Removed licenses, added acknowledgements
for contributions by Intel, IBM, Craig Metz.
* LICENSES: New file, contains the text of all non-FSF licenses in the
* sysdeps/mach/hurd/net/if_ppp.h: Replaced CMU license with a
new one modelled on the modern BSD license, per recent letter
of permission from CMU.
* sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.

* sysdeps/ieee754/dbl-64/MathLib.h: Changed the copyright holder
from IBM to FSF, per the recent Software Letter.  Changed the
distribution terms from GPL to LGPL.

* sysdeps/ieee754/dbl-64/asincos.tbl: Added FSF copyright and
copying permission notice (Lesser GPL), per recent IBM Software Letter.
* sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
* sysdeps/ieee754/dbl-64/root.tbl: Likewise.
* sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
* sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
* sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
* sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
* sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
* sysdeps/ieee754/dbl-64/utan.tbl: Likewise.

* sysdeps/ieee754/dbl-64/atnat.h: Changed the copyright holder
* sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
* sysdeps/ieee754/dbl-64/branred.h: Likewise.
* sysdeps/ieee754/dbl-64/dla.h: Likewise.
* sysdeps/ieee754/dbl-64/doasin.h: Likewise.
* sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
* sysdeps/ieee754/dbl-64/mpa.h: Likewise.
* sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
* sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
* sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
* sysdeps/ieee754/dbl-64/mplog.h: Likewise.
* sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
* sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
* sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
* sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
* sysdeps/ieee754/dbl-64/uexp.h: Likewise.
* sysdeps/ieee754/dbl-64/ulog.h: Likewise.
* sysdeps/ieee754/dbl-64/upow.h: Likewise.
* sysdeps/ieee754/dbl-64/urem.h: Likewise.
* sysdeps/ieee754/dbl-64/uroot.h: Likewise.
* sysdeps/ieee754/dbl-64/usncs.h: Likewise.
* sysdeps/ieee754/dbl-64/utan.h: Likewise.

* sysdeps/ieee754/dbl-64/branred.c: Corrected the text of the copying
* sysdeps/ieee754/dbl-64/doasin.c: Likewise.
* sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
* sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
* sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
* sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
* sysdeps/ieee754/dbl-64/e_log.c: Likewise.
* sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
* sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
* sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
* sysdeps/ieee754/dbl-64/mpa.c: Likewise.
* sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
* sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
* sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
* sysdeps/ieee754/dbl-64/mplog.c: Likewise.
* sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
* sysdeps/ieee754/dbl-64/mptan.c: Likewise.
* sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
* sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
* sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
* sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
* sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
* sysdeps/ieee754/dbl-64/slowpow.c:  Likewise.

21 years ago(TLS_DO_SET_THREAD_AREA): Second parameter is renamed to secondcall and use is negate...
Ulrich Drepper [Tue, 20 Aug 2002 23:54:49 +0000 (23:54 +0000)]
(TLS_DO_SET_THREAD_AREA): Second parameter is renamed to secondcall and use is negated. (TLS_SETUP_GS_SEGMENT): Likewise. (TLS_INIT_TP): Likewise.

21 years ago* locale/programs/localedef.c (add_to_readlist): Error about
Roland McGrath [Tue, 20 Aug 2002 23:10:34 +0000 (23:10 +0000)]
* locale/programs/localedef.c (add_to_readlist): Error about

circular dependencies only if the locale in question hasn't
been finished.
* locale/programs/linereader.c (get_string): Pass LC_CTYPE not
CTYPE_LOCALE to load_locale.
* locale/programs/locfile.c (locfile_read): Don't include
unneeded but available locales in locale_mask.

* locale/programs/locarchive.c (enlarge_archive): If quiet, don't
print any messages about enlarging archive.

21 years ago2002-08-20 Brian Youmans <3diff@gnu.org>
Roland McGrath [Tue, 20 Aug 2002 21:51:55 +0000 (21:51 +0000)]
2002-08-20 Brian Youmans <3diff@gnu.org>

        * manual/contrib.texi: Removed licenses, added acknowledgements
        for contributions by Intel, IBM, Craig Metz.
        * LICENSES: New file, contains the text of all non-FSF licenses in the
distribution that require putting the notice in the accompanying
documentation.
* README.template, README: Mention LICENSES.

        * sysdeps/mach/hurd/net/if_ppp.h: Replaced CMU license with a
        new one modelled on the modern BSD license, per recent letter
        of permission from CMU.
        * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.

        * sysdeps/ieee754/dbl-64/MathLib.h: Changed the copyright holder
        from IBM to FSF, per the recent Software Letter.  Changed the
        distribution terms from GPL to LGPL.

        * sysdeps/ieee754/dbl-64/asincos.tbl: Added FSF copyright and
        copying permission notice (Lesser GPL), per recent IBM Software Letter.
        * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/root.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/sincos.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/uatan.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/upow.tbl: Likewise.
        * sysdeps/ieee754/dbl-64/utan.tbl: Likewise.

        * sysdeps/ieee754/dbl-64/atnat.h: Changed the copyright holder
from IBM to FSF, per the recent Software Letter.  Corrected the
text of the copying permission notice to say Lesser GPL instead
of GPL in warranty disclaimer paragraph.
        * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
        * sysdeps/ieee754/dbl-64/branred.h: Likewise.
        * sysdeps/ieee754/dbl-64/dla.h: Likewise.
        * sysdeps/ieee754/dbl-64/doasin.h: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpa2.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.h: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
        * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.h: Likewise.
        * sysdeps/ieee754/dbl-64/uasncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/uexp.h: Likewise.
        * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
        * sysdeps/ieee754/dbl-64/upow.h: Likewise.
        * sysdeps/ieee754/dbl-64/urem.h: Likewise.
        * sysdeps/ieee754/dbl-64/uroot.h: Likewise.
        * sysdeps/ieee754/dbl-64/usncs.h: Likewise.
        * sysdeps/ieee754/dbl-64/utan.h: Likewise.

        * sysdeps/ieee754/dbl-64/branred.c: Corrected the text of the copying
permission notice to say Lesser GPL instead of GPL in warranty
disclaimer paragraph.
        * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
        * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
        * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
        * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
        * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
        * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
        * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
        * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
        * sysdeps/ieee754/dbl-64/slowpow.c:  Likewise.

21 years agoFix ABI compatibility with libc compiled with old tools on powerpc.
Roland McGrath [Tue, 20 Aug 2002 21:27:26 +0000 (21:27 +0000)]
Fix ABI compatibility with libc compiled with old tools on powerpc.

Changes contributed by Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
and Jack Howarth <howarth@bromo.med.uc.edu>.
* sysdeps/powerpc/Makefile [$(have-protected) = yes]
(CPPFLAGS-divdi3.c, CPPFLAGS-libgcc-compat.S): New variables,
pass -DHAVE_DOT_HIDDEN for these files.
* sysdeps/powerpc/Versions (libc: GLIBC_2.0): Added __floatdidf,
__floatdisf.
* sysdeps/powerpc/divdi3.c: New file.
* sysdeps/powerpc/libgcc-compat.S: New file, replacement for ...
* sysdeps/powerpc/libgcc-compat.c: ... this, file removed.

21 years ago* locale/loadarchive.c (_nl_load_locale_from_archive): Handle
Roland McGrath [Tue, 20 Aug 2002 19:40:17 +0000 (19:40 +0000)]
* locale/loadarchive.c (_nl_load_locale_from_archive): Handle

partially overlapping mappings.  Remove unneeded (char *) casts.
Never allow duplication of ranges in mapped areas.

2002-08-20  Roland McGrath  <roland@redhat.com>

* elf/Makefile ($(objpfx)ld.so): Separate commands in rule so errors
can be detected by make.  Reported by H.J. Lu <hjl@gnu.org>.

(dl_main): Pass extra argument 0 to TLS_INIT_TP.

21 years ago2002-08-20 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Tue, 20 Aug 2002 19:39:58 +0000 (19:39 +0000)]
2002-08-20  Jakub Jelinek  <jakub@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive): Handle
partially overlapping mappings.  Remove unneeded (char *) casts.
Never allow duplication of ranges in mapped areas.

21 years agoUpdate.
Ulrich Drepper [Tue, 20 Aug 2002 11:10:37 +0000 (11:10 +0000)]
Update.

* include/unistd.h: Don't hide _exit.

21 years agoUpdate.
Ulrich Drepper [Tue, 20 Aug 2002 10:14:15 +0000 (10:14 +0000)]
Update.

* elf/rtld.c (_dl_start): Pass extra argument 1 to TLS_INIT_TP.
(dl_main): Padd extra argument 0 to TLS_INIT_TP.
* sysdeps/generic/libc-tls.c (__libc_setup_tls): Pass extra
argument 1 to TLS_INIT_TP.
* sysdeps/generic/tls.h (TLS_INIT_TP): Describe new parameter.

* locale/loadarchive.c (_nl_load_locale_from_archive): Store strdup of

21 years agoUpdate.
Ulrich Drepper [Tue, 20 Aug 2002 08:12:32 +0000 (08:12 +0000)]
Update.

* sysdeps/generic/dl-tls.c (allocate_dtv): Optimize a bit.

21 years agoUpdate.
Ulrich Drepper [Tue, 20 Aug 2002 07:22:11 +0000 (07:22 +0000)]
Update.

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

* elf/Versions [ld] (GLIBC_PRIVATE): Add _dl_get_tls_static_info.
* sysdeps/generic/dl-tls.c (_dl_allocate_tls_storage): Move dtv
memory allocation to...
(allocate_dtv): ...here.  New function.
(_dl_allocate_tls): Change to take parameter.  If parameter is non-NULL
call allocate_dtv instead of _dl_allocate_tls_storage.
(_dl_deallocate_tls): New parameter.  Deallocate TCB only if true.
(_dl_get_tls_static_info): New function.
* sysdeps/generic/ldsodefs.h: Adjust prototypes of _dl_allocate_tls
and _dl_deallocate_tls.  Add prototype for _dl_get_tls_static_info.

21 years agoUpdate.
Ulrich Drepper [Tue, 20 Aug 2002 00:23:31 +0000 (00:23 +0000)]
Update.

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

* sysdeps/generic/dl-tls.c (_dl_allocate_tls_init): Return
immediately if result == NULL.

* locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix

21 years agoUpdate.
Ulrich Drepper [Mon, 19 Aug 2002 22:22:47 +0000 (22:22 +0000)]
Update.

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

* sysdeps/i386/useldt.h (DO_SET_THREAD_AREA): Use correct shift when
computing index from %gs value.

21 years ago(DO_SET_THREAD_AREA): Use correct shift when computing index from %gs value.
Ulrich Drepper [Mon, 19 Aug 2002 22:21:32 +0000 (22:21 +0000)]
(DO_SET_THREAD_AREA): Use correct shift when computing index from %gs value.

21 years agoUpdate.
Andreas Jaeger [Mon, 19 Aug 2002 07:42:11 +0000 (07:42 +0000)]
Update.

2002-08-16  Jakub Jelinek  <jakub@redhat.com>

* sysdeps/alpha/fpu/libm-test-ulps: Regenerate.

21 years agoRegenerate.
Andreas Jaeger [Mon, 19 Aug 2002 07:41:58 +0000 (07:41 +0000)]
Regenerate.

21 years ago* sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split
Roland McGrath [Sun, 18 Aug 2002 20:37:12 +0000 (20:37 +0000)]
* sysdeps/mach/hurd/mkdir.c (__mkdir): Use __directory_name_split

instead of __file_name_split.
* sysdeps/mach/hurd/unlink.c (__unlink): Likewise.

21 years ago* sysdeps/mach/hurd/dl-sysdep.c
Roland McGrath [Sun, 18 Aug 2002 19:56:27 +0000 (19:56 +0000)]
* sysdeps/mach/hurd/dl-sysdep.c

[HP_TIMING_AVAIL] (_dl_cpuclock_offset): New variable.
[HP_TIMING_AVAIL] (_dl_sysdep_start): Set it with HP_TIMING_NOW.

21 years ago* sysdeps/i386/tls.h (TLS_DO_SET_THREAD_AREA): Calculate segment
Roland McGrath [Sat, 17 Aug 2002 06:54:04 +0000 (06:54 +0000)]
* sysdeps/i386/tls.h (TLS_DO_SET_THREAD_AREA): Calculate segment

register value from entry number properly.

21 years ago* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Rewrite asm to use %ebx
Roland McGrath [Fri, 16 Aug 2002 20:16:38 +0000 (20:16 +0000)]
* sysdeps/i386/tls.h (TLS_DO_MODIFY_LDT): Rewrite asm to use %ebx

optimally conditional on [__PIC__].
(TLS_DO_SET_THREAD_AREA): New macro, implement inline syscall
without touching errno, and use latest modify_ldt-like interface.
(TLS_SETUP_GS_SEGMENT): Use that instead of INLINE_SYSCALL.
* sysdeps/i386/useldt.h (DO_MODIFY_LDT): Set %gs in this macro.
(DO_SET_THREAD_AREA): New macro, uses current syscall interface with
existing %gs value as the segment to set.
(INIT_THREAD_SELF): Rewritten using those.  Use set_thread_area only
under [HAVE_TLS_SUPPORT] so we can rely on the initialization done
by the first thread's early TLS setup.

21 years ago2002-08-16 Jakub Jelinek <jakub@redhat.com>
Roland McGrath [Fri, 16 Aug 2002 00:08:47 +0000 (00:08 +0000)]
2002-08-16  Jakub Jelinek  <jakub@redhat.com>

        * locale/loadarchive.c (_nl_load_locale_from_archive): Braino fix
in change before last: MAX -> MIN.

21 years ago* libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF
Roland McGrath [Thu, 15 Aug 2002 23:57:00 +0000 (23:57 +0000)]
* libio/fileops.c (_IO_file_seekoff_mmap): Leave read pointers at EOF

if seek would go past it.
(mmap_remap_check): If file position is at or past EOF after check,
leave read pointers at EOF and don't seek.

* libio/tst-mmap-offend.c: New file.
* libio/Makefile (tests): Add it.

21 years ago* locale/loadarchive.c (_nl_load_locale_from_archive) Store strdup of
Roland McGrath [Thu, 15 Aug 2002 22:00:12 +0000 (22:00 +0000)]
* locale/loadarchive.c (_nl_load_locale_from_archive) Store strdup of

the name as passed, rather than the name in the archive dictionary.

* elf/rtld.c (_dl_start): Allow TLS_INIT_TP to fail, and stop in that
(TLS_INIT_HELPER): If defined, use it.

21 years ago2002-08-15 Roland McGrath <roland@redhat.com>
Roland McGrath [Thu, 15 Aug 2002 21:58:11 +0000 (21:58 +0000)]
2002-08-15  Roland McGrath  <roland@redhat.com>

* locale/loadarchive.c (_nl_load_locale_from_archive) Store strdup of
the name as passed, rather than the name in the archive dictionary.

21 years agoUpdate.
Ulrich Drepper [Thu, 15 Aug 2002 13:04:07 +0000 (13:04 +0000)]
Update.

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

* csu/Makefile: Define elide-routines.os not static-only-routines.

* include/sched.h (__clone): Add varargs at the end.

* elf/rtld.c (_dl_start): All TLS_INIT_TP to fail and stop in that
case.
(TLS_INIT_HELPER): If defined use it.
* sysdeps/generic/libc-tls.c (TLS_INIT_HELPER): Likewise.

* locale/loadarchive.c (archfname): Add missing slash.
* sysdeps/generic/strtold.c (__strtold_internal): Add libc_hidden_def.
* wcsmbs/wcstold.c (__wcstold_internal): Add libc_hidden_def.

21 years ago(TLS_INIT_TP): Convert to statement expression returning 0.
Ulrich Drepper [Thu, 15 Aug 2002 12:12:51 +0000 (12:12 +0000)]
(TLS_INIT_TP): Convert to statement expression returning 0.