about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Update.Ulrich Drepper2002-01-299-4268/+5705
| | | | | | | | | | | | | | | | | | | | | | | | 2002-01-18 Wolfram Gloger <wg@malloc.de> * malloc/malloc.c: Rewrite, adapted from Doug Lea's malloc-2.7.0.c. * malloc/malloc.h: Likewise. * malloc/arena.c: New file. * malloc/hooks.c: New file. * malloc/tst-mallocstate.c: New file. * malloc/Makefile: Add new testcase tst-mallocstate. Add arena.c and hooks.c to distribute. Fix commented CPPFLAGS. 2002-01-28 Ulrich Drepper <drepper@redhat.com> * stdlib/msort.c: Remove last patch. The optimization violates the same rule which qsort.c had problems with. 2002-01-27 Paul Eggert <eggert@twinsun.com> * stdlib/qsort.c (_quicksort): Do not apply the comparison function to a pivot element that lies outside the array to be sorted, as ISO C99 requires that the comparison function be called only with addresses of array elements [PR libc/2880].
* Update.Ulrich Drepper2002-01-292-9/+6
| | | | | * elf/dl-load.c (_dl_map_object): Remove incorrect optimization for SHARED code. Reported by Ben Collins <bcollins@debian.org>.
* Update.Ulrich Drepper2002-01-299-90/+193
| | | | | | | | | | | | 2002-01-28 Ulrich Drepper <drepper@redhat.com> * timezone/asia: Update from tzdata2002b. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/leapseconds: Likewise. * timezone/iso3166.tab: Likewise. * timezone/zone.tab: Likewise.
* Update.Ulrich Drepper2002-01-298-31/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-01-23 Richard Henderson <rth@redhat.com> * sysdeps/alpha/Makefile (pic-ccflag): New variable. 2002-01-28 Ulrich Drepper <drepper@redhat.com> * string/strxfrm.c: Allocate one more byte for rulearr and clear this element [PR libc/2855]. * string/strcoll.c: Handle zero-length arguments specially [PR libc/2856]. 2002-01-23 Jakub Jelinek <jakub@redhat.com> * string/bits/string2.h (__mempcpy): For gcc 3.0+, don't use __mempcpy_small but instead use __builtin_memcpy ( , , n) + n for short lengths and constant src. (strcpy): Don't optimize for gcc 3.0+. (__stpcpy): For gcc 3.0+, don't use __stpcpy_small but instead use __builtin_strcpy (, src) + strlen (src) for short string literal src. 2002-01-23 Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> * sysdeps/unix/sysv/linux/configure.in (libc_cv_gcc_unwind_find_fde): Set for arm, too. 2001-01-22 Paul Eggert <eggert@twinsun.com> * manual/llio.texi (Linked Channels, Cleaning Streams): Make it clearer that a just-opened input stream might need cleaning. 2002-01-21 H.J. Lu <hjl@gnu.org> * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC): Don't use label at end of compound statement.
* (ELF_MACHINE_BEFORE_RTLD_RELOC): Don't use label at end of compound statement.Ulrich Drepper2002-01-291-3/+2
|
* (__pthread_spin_init): Clear *LOCK to 0.Andreas Jaeger2002-01-282-5/+10
| | | | | | | | | | | 2002-01-28 Andreas Jaeger <aj@suse.de> * sysdeps/mips/pspinlock.c (__pthread_spin_init): Clear *LOCK to 0. Patch by Machida Hiroyuki <machida@sm.sony.co.jp>. * sysdeps/s390/s390-32/pt-machine.h (MEMORY_BARRIER): Define. (CURRENT_STACK_FRAME): Remove duplicate definition. * sysdeps/s390/s390-64/pt-machine.h: Likewise.
* Update.Andreas Jaeger2002-01-281-0/+5
| | | | | | | 2002-01-28 Stephen L Moshier <moshier@mediaone.net> * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r): Remove test for negative integer arg; sin_pi does it correctly.
* (__ieee754_lgammal_r): Remove test for negative integer arg; sin_pi does it ↵Andreas Jaeger2002-01-281-10/+8
| | | | correctly.
* Update.Ulrich Drepper2002-01-212-4/+9
| | | | | | | | 2002-01-20 Ulrich Drepper <drepper@redhat.com> * nscd/Makefile (distribute): Filter out xmalloc.c. * manual/syslog.texi (openlog): Describe possible problems with
* Update.Ulrich Drepper2002-01-197-68/+158
| | | | | | | | | | | | | | | | | 2002-01-19 Ulrich Drepper <drepper@redhat.com> * libio/fileops.c (_IO_file_underflow_mmap): Don't define as static. Set offset if read end wasn't the buffer end. (_IO_file_seekoff_mmap): New function. (_IO_file_xsgetn_mmap): New function. (_IO_file_jumps_mmap): Use the two new functions. * libio/wfileops.c (_IO_wfile_underflow_mmap): Handle end read buffer != end buffer. * libio/libioP.h: Declare _IO_file_seekoff_mmap and _IO_file_underflow_mmap. * libio/iofopen.c: Don't position file descriptor at end of file. * libio/tst-widetext.c: Improve error messages. * stdio-common/tst-rndseek.c: Likewise.
* Update.Ulrich Drepper2002-01-186-12/+27
| | | | | | | | | | * sysdeps/unix/sysv/linux/bits/statvfs.h: Avoid warning about comma at end of enum for !_GNU_SOURCE. * sysdeps/unix/sysv/linux/alpha/bits/statvfs.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/statvfs.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/statvfs.h: Likewise. * sysdeps/mach/hurd/bits/statvfs.h: Don't define non-standard ST_* values unless _GNU_SOURCE.
* Update.Ulrich Drepper2002-01-182-3/+9
| | | | | | 2002-01-18 Ulrich Drepper <drepper@redhat.com> * iconvdata/tcvn5712-1.c: Minor cleanups.
* Update.Ulrich Drepper2002-01-181-0/+1
| | | | * nscd/Makefile (nscd-modules): Add xmalloc for nscd.
* (nscd-modules): Add xmalloc for nscd.Ulrich Drepper2002-01-181-1/+4
|
* * sysdeps/unix/sysv/linux/configure.inAndreas Schwab2002-01-181-0/+5
| | | | (libc_cv_gcc_unwind_find_fde): Set for m68k, too.
* (libc_cv_gcc_unwind_find_fde): Set for m68k, too.Andreas Schwab2002-01-182-3/+11
|
* Update.Ulrich Drepper2002-01-185-62/+431
| | | | | | | | | | | | | 2002-01-16 Roger Sayle <roger@eyesopen.com> * stdlib/msort.c (msort_with_tmp): Replace implementation with more efficient "Towers of Hanoi" mergesort. (hanoi_sort, hanoi_sort_int, hanoi_sort_long): New functions, for generic, sizeof(int) and sizeof(long) variants respectively. * manial/syslog.texi (openlog): Describe possible problems with first parameter. Patch by Christopher Allen Wing <wingc@engin.umich.edu>.
* Update.Ulrich Drepper2002-01-181-0/+1
| | | | Patch by Christopher Allen Wing <wingc@engin.umich.edu>.
* Update.Ulrich Drepper2002-01-184-44/+119
| | | | | | | | | | | | | | | 2002-01-17 Ulrich Drepper <drepper@redhat.com> * nscd/nscd.c (drop_privileges): Removed. Adjust caller. * nscd/connections.c (begin_drop_privileges): New function. (finish_drop_privileges): New function. (nscd_init): Call the new functions which also install all groups for the server user. 2002-01-17 H.J. Lu <hjl@gnu.org> * sysdeps/mips/dl-machine.h (__dl_runtime_resolve): Remove `const' from `got'.
* Update.Ulrich Drepper2002-01-172-81424/+69759
| | | | | | | | 2002-01-17 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Use 64 bit instructions for pointer operations. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
* Use 64 bit instructions for pointer operations.Ulrich Drepper2002-01-172-6/+6
|
* Update.Andreas Jaeger2002-01-172-5/+6
| | | | | * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has __uint128_t build-in.
* Update.Andreas Jaeger2002-01-171-0/+5
| | | | | | | 2002-01-17 Andreas Jaeger <aj@suse.de> * sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and PowerPC, sync with 2.2 branch.
* * sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and Andreas Jaeger2002-01-172-5/+21
| | | | PowerPC, sync with 2.2 branch.
* Update.Ulrich Drepper2002-01-1720-21922/+29462
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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. 2002-01-16 Andreas Schwab <schwab@suse.de> * sysdeps/unix/sysv/linux/ia64/ldd-rewrite.sed: Fix regexp to reliably remove "-ia64" from rtld name. 2002-01-16 Ulrich Drepper <drepper@redhat.com>
* Update.Ulrich Drepper2002-01-172-0/+20
| | | | | | | | | | | | | | | | | 2002-01-16 Ulrich Drepper <drepper@redhat.com> * iconvdata/gb18030.c: Bug fixes and support for more characters. Patch by Yu Shao <yshao@redhat.com>. 2002-01-16 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/unix/sysv/linux/s390/swapcontext.c: Remove. * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: New file. * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: New file. 2002-01-14 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/fpu/libm-test-ulps: Update.
* Update.Ulrich Drepper2002-01-177-124/+262
| | | | | | | | 2002-01-16 Martin Schwidefsky <schwidefsky@de.ibm.com> * sysdeps/s390/s390-32/pt-machine.h (MEMORY_BARRIER): Define. (CURRENT_STACK_FRAME): Remove duplicate definition. * sysdeps/s390/s390-64/pt-machine.h: Likewise.
* Update.Ulrich Drepper2002-01-171-2/+2
| | | | | * Makefile (CFLAGS-tst-cancel.c): Add -fno-inline-functions to prevent automatic inline.
* Update.Ulrich Drepper2002-01-172-1/+6
| | | | | | | 2002-01-14 Martin Schwidefsky <schwidefsky@de.ibm.com> * linuxthreads/Makefile (CFLAGS-tst-cancel.c): Add -fno-inline-functions to prevent automatic inline.
* Update.Ulrich Drepper2002-01-162-3/+19
| | | | | | | | | 2002-01-12 Andreas Schwab <schwab@suse.de> * Makefile (test-srcs): Add tst-signal. (tests): Run tst-signal. (distribute): Add tst-signal.sh. * tst-signal.c, tst-signal.sh: New files.
* Test for handling initial signal handler setting correctly.Ulrich Drepper2002-01-162-0/+92
|
* * sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.Andreas Jaeger2002-01-142-2/+6
| | | | | | 2002-01-14 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
* (sighandler): Initialize all elements to SIG_ERR. (__sigaction): Don't use ↵Ulrich Drepper2002-01-121-3/+7
| | | | value from sighandler if it is SIG_ERR.
* Update.Ulrich Drepper2002-01-123-16/+30
| | | | | | 2002-01-11 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Update x86 relocations.
* Update.Ulrich Drepper2002-01-112-1/+16
| | | | | | | 2002-01-10 Ulrich Drepper <drepper@redhat.com> * locale/programs/charmap.c (new_width): Check whether byte sequences for both ends of range have the same length.
* Update.Ulrich Drepper2002-01-114-105/+117
| | | | | | | | | | | | | | | | | 2002-01-09 Jakub Jelinek <jakub@redhat.com> * elf/elf.h (SHN_UNDEF): Remove duplicate definition. 2002-01-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/alpha/fpu/e_sqrt.c (__ieee754_sqrt): Don't use multi-line string literals. (__full_ieee754_sqrt): Add __attribute_used__. 2002-01-10 Ulrich Drepper <drepper@redhat.com> * sysdeps/generic/group_member.c (__group_member): Also check groups[0] [PR libc/2781].
* Update.Ulrich Drepper2002-01-085-4/+22
| | | | | | | | | | | | | 2002-01-08 Ulrich Drepper <drepper@redhat.com> * Makefile (distribute): Add scripts/cpp. * elf/Makefile (distribute): Add reldep6mod[01234].c, unwind-dw2.c, unwind-dw2-fde.c, unwind.h, unwind-pe.h, unwind-dw2-fde.h, and dwarf2.h. * sysdeps/unix/bsd/bsd4.4/Dist: New file. * sysdeps/unix/sysv/aix/Dist: Add sysv_termio.h and start-libc.c. * sysdeps/unix/sysv/linux/ia64/Dist: Add ldd-rewrite.sed. * sysdeps/unix/sysv/linux/s390/Dist: Likewise.
* Add ldd-rewrite.sed.Ulrich Drepper2002-01-082-0/+2
|
* * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): UseRoland McGrath2002-01-081-0/+5
| | | | volatile on type of ARGC so the compiler doesn't get clever.
* 2002-01-07 Roland McGrath <roland@frob.com>Roland McGrath2002-01-081-4/+4
| | | | | * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Use volatile on type of ARGC so the compiler doesn't get clever.
* Update.Andreas Jaeger2002-01-081-0/+9
| | | | | | | | | | | 2002-01-07 Andreas Jaeger <aj@suse.de> * sysdeps/generic/bits/byteswap.h: Prevent double inclusion. * sysdeps/i386/bits/byteswap.h: Likewise. * sysdeps/ia64/bits/byteswap.h: Likewise. * sysdeps/m68k/bits/byteswap.h: Likewise. * sysdeps/s390/s390-32/bits/byteswap.h: Likewise. * sysdeps/s390/s390-64/bits/byteswap.h: Likewise.
* Prevent double inclusion.Andreas Jaeger2002-01-087-9/+42
|
* Update.Ulrich Drepper2002-01-083-3/+12
| | | | | | 2002-01-02 Bruno Haible <bruno@clisp.org> * intl/plural.y: Fix %expect count.
* Update.Ulrich Drepper2002-01-086-9/+318
| | | | | | | | | | | | | | | | | 2002-01-03 Jakub Jelinek <jakub@redhat.com> * elf/Makefile (routines, shared-only-routines): Add unwind-dw2-fde-glibc instead of unwind-dw2-fde. * elf/elf.h (PT_GNU_EH_FRAME): Define. * sysdeps/generic/unwind-dw2-fde-glibc.c: New file. * sysdeps/generic/unwind-dw2-fde.c (__register_frame_info_bases): Optimize if .eh_frame section contains no FDEs. (__register_frame, __deregister_frame_info_bases, __deregister_frame): Likewise. * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Fix DW_CFA_restore handling. 2002-01-07 Stephen L Moshier <moshier@mediaone.net>
* Update.Ulrich Drepper2002-01-073-119/+333
| | | | | | | | 2002-01-06 Richard Henderson <rth@redhat.com> * sysdeps/alpha/elf/pt-initfini.c: New file. 2001-12-12 NIIBE Yutaka <gniibe@m17n.org>
* Special init/fini sections for Alpha when using linuxthreads.Ulrich Drepper2002-01-071-0/+96
|
* Update.Andreas Jaeger2002-01-072-7/+27
| | | | | | | | | | 2002-01-07 Stephen L Moshier <moshier@mediaone.net> * sysdeps/ieee754/ldbl-96/s_erfl.c (erfcl): Fix K&R header. * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Fix typo in test for x < 0.25 and restore original range reduction method. (__ieee754_lgammal_r): Make sure signgam is set before returning.
* (erfcl): Fix K&R header.Andreas Jaeger2002-01-071-3/+2
|
* Update.Ulrich Drepper2002-01-0711-35/+271
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-01-07 Ulrich Drepper <drepper@redhat.com> * libio/fileops.c (_IO_file_underflow_mmap): New function. (_IO_file_close_mmap): New function. (_IO_file_jumps_mmap): New variable. * libio/wfileops.c (_IO_wfile_underflow): Reset read pointer before trying to convert rest of byte buffer. (_IO_wfile_underflow_mmap): New function. (_IO_wfile_jumps_mmap): New variable. * libio/iofopen.c (__fopen_maybe_mmap): New function. (__fopen_internal): New function. Split out from _IO_new_fopen. (_IO_new_fopen): Call __fopen_internal. * libio/iofopen64.c: Just call __fopen_internal. * libio/iofdopen.c: Call __fopen_maybe_mmap before returning successfully. * libio/iolibio.h: Declare __fopen_internal and __fopen_maybe_mmap. * libio/libioP.h: Declare _IO_file_jumps_mmap, _IO_wfile_jumps_mmap, _IO_file_close_mmap. * sysdeps/gnu/_G_config.h: Define _G_MMAP64. * sysdeps/unix/sysv/linux/cris/_G_config.h: Likewise. * stdio-common/Makefile (tests): Add tst-rndseek. * stdio-common/tst-rndseek.c: New file.
* Test for fseek on input stream.Ulrich Drepper2002-01-071-0/+143
|