aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-02-01Dummy dl-procinfo.c file for platforms which don't have one.Ulrich Drepper
2002-02-01* sysdeps/m68k/dl-machine.h: Don't use multi-line string literals.Andreas Schwab
2002-02-01Don't use multi-line string literals.Andreas Schwab
2002-02-01Update.Ulrich Drepper
2002-02-01 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (_dl_start): Mark as internal_function. * sysdeps/i386/dl-machine.h (RTLD_START): Pass parameter for _dl_start in register. (elf_machine_rel): Cleanup and minor optimization for RTLD_BOOTSTRAP. General pretty printing.
2002-02-01Update.Ulrich Drepper
* elf/dl-minimal.c: Define _itoa for 32-bit machines with HP timing. * elf/dl-reloc.c: Pretty printing. * sysdeps/generic/ldsodefs.h: Move _dl_hp_timing_overhead and procinfo-related variables in rtld_global struct. * elf/dl-support.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/i386/i686/Makefile: Likewise. * sysdeps/i386/i686/hp-timing.c: Likewise. * sysdeps/i386/i686/hp-timing.h: Likewise. * sysdeps/ia64/Makefile: Likewise. * sysdeps/ia64/hp-timing.c: Likewise. * sysdeps/sparc/sparc32/sparcv9/Makefile: Likewise. * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Likewise. * sysdeps/unix/sysv/linux/arm/dl-procinfo.c: Likewise. * sysdeps/unix/sysv/linux/arm/dl-procinfo.h: Likewise. * sysdeps/unix/sysv/linux/i386/Makefile: Likewise. * sysdeps/unix/sysv/linux/i386/dl-procinfo.c: Likewise. * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise. * sysdeps/x86_64/Makefile: Likewise.
2002-02-01Update.Ulrich Drepper
* sysdeps/generic/ldsodefs.h: Add _dl_load_lock, _dl_lazy, _dl_dynamic_weak, _dl_fpu_control, _dl_cpuclock_offset, and _dl_debug_fd to rtld_global. * elf/Versions: Likewise. * elf/dl-close.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-misc.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-support.c: Likewise. * elf/do-lookup.h: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise. * sysdeps/ia64/Versions: Likewise. * sysdeps/unix/clock_gettime.c: Likewise. * sysdeps/unix/clock_settime.c: Likewise. * sysdeps/unix/sysv/linux/init-first.c: Likewise. * sysdeps/sparc/Versions: Removed. * sysdeps/i386/i686/Versions : Removed. * sysdeps/x86_64/Versions: Removed. * configure.in: Define HAVE_PROTECTED if .protected is available. * config.h.in: Add entry for HAVE_PROTECTED. 2002-01-31 Jakub Jelinek <jakub@redhat.com. * sysdeps/alpha/dl-machine.h: Move global variables for SHARED code in struct _rtld_global. Export this struct, remove all exports for the signal variables. * sysdeps/arm/dl-machine: Likewise. * sysdeps/generic/dl-origin: Likewise. * sysdeps/generic/dl-sysdep: Likewise. * sysdeps/generic/dl-cache: Likewise. * sysdeps/hppa/dl-fptr: Likewise. * sysdeps/hppa/dl-machine: Likewise. * sysdeps/cris/dl-machine: Likewise. * sysdeps/i386/dl-machine: Likewise. * sysdeps/ia64/dl-machine: Likewise. * sysdeps/m68k/dl-machine: Likewise. * sysdeps/mach/hurd/dl-sysdep: Likewise. * sysdeps/mips/mips64/dl-machine: Likewise. * sysdeps/mips/dl-machine: Likewise. * sysdeps/powerpc/elf/libc-start: Likewise. * sysdeps/powerpc/dl-machine: Likewise. * sysdeps/powerpc/dl-start: Likewise. * sysdeps/sparc/sparc32/dl-machine: Likewise. * sysdeps/sparc/sparc64/dl-machine: Likewise. * sysdeps/sh/dl-machine: Likewise. * sysdeps/s390/s390-32/dl-machine: Likewise. * sysdeps/s390/s390-64/dl-machine: Likewise. * sysdeps/unix/sysv/aix/libc-start: Likewise. * sysdeps/unix/sysv/aix/start-libc: Likewise. * sysdeps/unix/sysv/linux/ia64/dl-static: Likewise. * sysdeps/unix/sysv/linux/m68k/getpagesize: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize: Likewise. * sysdeps/x86_64/dl-machine: Likewise. 2002-01-31 Ulrich Drepper <drepper@redhat.com>
2002-01-31Update.Ulrich Drepper
2002-01-31 Ulrich Drepper <drepper@redhat.com> * sysdeps/posix/readv.c: Don't use alloca if the memory requirements are too high. 2002-01-31 Andreas Schwab <schwab@suse.de> * sysdeps/posix/readv.c: Check for ssize_t overflow. 2002-01-31 Andreas Schwab <schwab@suse.de> * sysdeps/generic/dl-sysdep.c (_dl_sysdep_start): Fix leftover reference to _dl_pagesize.
2002-01-31Update.Ulrich Drepper
2002-01-30 Ulrich Drepper <drepper@redhat.com> * Versions.def [ld]: Add GLIBC_2.3. * elf/dl-addr.c: Move global variables for SHARED code in struct _rtld_global. Export this struct, remove all exports for the signal variables. * elf/dl-close.c: Likewise. * elf/dl-conflict.c: Likewise. * elf/dl-debug.c: Likewise. * elf/dl-deps.c: Likewise. * elf/dl-dst.h: Likewise. * elf/dl-error.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-init.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-libc.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-minimal.c: Likewise. * elf/dl-object.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-profile.c: Likewise. * elf/dl-profstub.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-sym.c: Likewise. * elf/dl-version.c: Likewise. * elf/do-lookup.h: Likewise. * elf/do-rel.h: Likewise. * elf/dynamic-link.h: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/dl-cache.c: Likewise. * sysdeps/generic/dl-sysdep.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/generic/libc-start.c: Likewise. * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/ia64/dl-fptr.c: Likewise. * sysdeps/ia64/dl-machine.h: Likewise. * sysdeps/unix/sysv/linux/dl-librecon.h: Likewise. * sysdeps/unix/sysv/linux/dl-origin.c: Likewise. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * sysdeps/unix/sysv/linux/getclktck.c: Likewise. * sysdeps/unix/sysv/linux/getpagesize.c: Likewise. * sysdeps/unix/sysv/linux/i386/dl-librecon.h: Likewise. * sysdeps/unix/sysv/linux/ia64/dl-static.c: Likewise. * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Likewise. * malloc/thread-m.h: Spinlock definitions for x86/x86_64.
2002-01-30Update.Ulrich Drepper
* sysdeps/ia64/dl-lookupcfg.h (DL_AUTO_FUNCTION_ADDRESS): Add cast to avoid warning (DL_STATIC_FUNCTION_ADDRESS): Likewise.
2002-01-29Update.Ulrich Drepper
* elf/dl-lookup.c: Only define or handle _dl_num_relocations for the SHARED version. * elf/dl-reloc.c: Likewise for _dl_num_cache_relocations.
2002-01-29Update.Ulrich Drepper
2002-01-29 Ulrich Drepper <drepper@redhat.com> * elf/rtld.c (_dl_start): Use __builtin_memset if available.
2002-01-29Update.Ulrich Drepper
2002-01-29 Ben Collins <bcollins@debian.org> * string/bits/string2.h (__mempcpy): Protect size arg for addition when using __builtin_memcpy.
2002-01-29Update.Ulrich Drepper
* stdlib/Makefile (tests): Add tst-qsort. * stdlib/tst-qsort.c: New file. Written by Paul Eggert.
2002-01-29Update.Ulrich Drepper
* manual/signal.texi (Process Signal Mask): Document that pthread_sigmask, not sigprocmask, must be used in MT programs. Patch by Bertold Kolics <Bertold.Kolics@Sun.COM>.
2002-01-29Update.Ulrich Drepper
2002-01-29 Ulrich Drepper <drepper@redhat.com> * misc/hsearch_r.c (hsearch_r): Don't insert anything if entry is found. * misc/Makefile (tests): Add tst-hsearch. * misc/tst-hsearch.c: New file.
2002-01-29Update.Ulrich Drepper
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].
2002-01-29Update.Ulrich Drepper
* elf/dl-load.c (_dl_map_object): Remove incorrect optimization for SHARED code. Reported by Ben Collins <bcollins@debian.org>.
2002-01-29Update.Ulrich Drepper
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.
2002-01-29Update.Ulrich Drepper
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.
2002-01-29(ELF_MACHINE_BEFORE_RTLD_RELOC): Don't use label at end of compound statement.Ulrich Drepper
2002-01-28(__pthread_spin_init): Clear *LOCK to 0.Andreas Jaeger
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.
2002-01-28Update.Andreas Jaeger
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.
2002-01-28(__ieee754_lgammal_r): Remove test for negative integer arg; sin_pi does it ↵Andreas Jaeger
correctly.
2002-01-21Update.Ulrich Drepper
2002-01-20 Ulrich Drepper <drepper@redhat.com> * nscd/Makefile (distribute): Filter out xmalloc.c. * manual/syslog.texi (openlog): Describe possible problems with
2002-01-19Update.Ulrich Drepper
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.
2002-01-18Update.Ulrich Drepper
* 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.
2002-01-18Update.Ulrich Drepper
2002-01-18 Ulrich Drepper <drepper@redhat.com> * iconvdata/tcvn5712-1.c: Minor cleanups.
2002-01-18Update.Ulrich Drepper
* nscd/Makefile (nscd-modules): Add xmalloc for nscd.
2002-01-18(nscd-modules): Add xmalloc for nscd.Ulrich Drepper
2002-01-18* sysdeps/unix/sysv/linux/configure.inAndreas Schwab
(libc_cv_gcc_unwind_find_fde): Set for m68k, too.
2002-01-18(libc_cv_gcc_unwind_find_fde): Set for m68k, too.Andreas Schwab
2002-01-18Update.Ulrich Drepper
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>.
2002-01-18Update.Ulrich Drepper
Patch by Christopher Allen Wing <wingc@engin.umich.edu>.
2002-01-18Update.Ulrich Drepper
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'.
2002-01-17Update.Ulrich Drepper
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.
2002-01-17Use 64 bit instructions for pointer operations.Ulrich Drepper
2002-01-17Update.Andreas Jaeger
* sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: GCC 3.1 has __uint128_t build-in.
2002-01-17Update.Andreas Jaeger
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.
2002-01-17* sysdeps/unix/sysv/linux/configure.in: Fix check for S390 and Andreas Jaeger
PowerPC, sync with 2.2 branch.
2002-01-17Update.Ulrich Drepper
* 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>
2002-01-17Update.Ulrich Drepper
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.
2002-01-17Update.Ulrich Drepper
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.
2002-01-17Update.Ulrich Drepper
* Makefile (CFLAGS-tst-cancel.c): Add -fno-inline-functions to prevent automatic inline.
2002-01-17Update.Ulrich Drepper
2002-01-14 Martin Schwidefsky <schwidefsky@de.ibm.com> * linuxthreads/Makefile (CFLAGS-tst-cancel.c): Add -fno-inline-functions to prevent automatic inline.
2002-01-16Update.Ulrich Drepper
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.
2002-01-16Test for handling initial signal handler setting correctly.Ulrich Drepper
2002-01-14* sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.Andreas Jaeger
2002-01-14 Andreas Jaeger <aj@suse.de> * sysdeps/x86_64/pt-machine.h (INIT_THREAD_SELF): Avoid warning.
2002-01-12(sighandler): Initialize all elements to SIG_ERR. (__sigaction): Don't use ↵Ulrich Drepper
value from sighandler if it is SIG_ERR.
2002-01-12Update.Ulrich Drepper
2002-01-11 Ulrich Drepper <drepper@redhat.com> * elf/elf.h: Update x86 relocations.
2002-01-11Update.Ulrich Drepper
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.