about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/i386/add_n.S: Add call frame information. cvs/fedora-glibc-20050504T0728Ulrich Drepper2005-05-0448-142/+990
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/i386/addmul_1.S: Likewise. * sysdeps/i386/bsd-setjmp.S: Likewise. * sysdeps/i386/lshift.S: Likewise. * sysdeps/i386/memchr.S: Likewise. * sysdeps/i386/memcmp.S: Likewise. * sysdeps/i386/mul_1.S: Likewise. * sysdeps/i386/rawmemchr.S: Likewise. * sysdeps/i386/rshift.S: Likewise. * sysdeps/i386/stpncpy.S: Likewise. * sysdeps/i386/strchr.S: Likewise. * sysdeps/i386/strchrnul.S: Likewise. * sysdeps/i386/strcspn.S: Likewise. * sysdeps/i386/strpbrk.S: Likewise. * sysdeps/i386/strrchr.S: Likewise. * sysdeps/i386/strspn.S: Likewise. * sysdeps/i386/strtok.S: Likewise. * sysdeps/i386/sub_n.S: Likewise. * sysdeps/i386/submul_1.S: Likewise. * sysdeps/i386/elf/bsd-setjmp.S: Likewise. * sysdeps/i386/i486/strcat.S: Likewise. * sysdeps/i386/i586/add_n.S: Likewise. * sysdeps/i386/i586/addmul_1.S: Likewise. * sysdeps/i386/i586/lshift.S: Likewise. * sysdeps/i386/i586/memcpy.S: Likewise. * sysdeps/i386/i586/memset.S: Likewise. * sysdeps/i386/i586/mul_1.S: Likewise. * sysdeps/i386/i586/rshift.S: Likewise. * sysdeps/i386/i586/strchr.S: Likewise. * sysdeps/i386/i586/strcpy.S: Likewise. * sysdeps/i386/i586/sub_n.S: Likewise. * sysdeps/i386/i586/submul_1.S: Likewise. * sysdeps/i386/i686/add_n.S: Likewise. * sysdeps/i386/i686/memcmp.S: Likewise. * sysdeps/i386/i686/memmove.S: Likewise. * sysdeps/i386/i686/mempcpy.S: Likewise. * sysdeps/i386/i686/memset.S: Likewise. * sysdeps/i386/i686/strtok.S: Likewise. * sysdeps/unix/sysv/linux/i386/clone.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise. * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise. * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise. * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise. * sysdeps/i386/fpu/libm-test-ulps: Adjust for gcc 4.
* * sysdeps/unix/sysv/linux/kernel-features.h: waitid is availableUlrich Drepper2005-05-034-265/+36
| | | | on ppc in 2.6.12.
* * sysdeps/posix/posix_fallocate.c (posix_fallocate): If len == 0,Ulrich Drepper2005-05-031-0/+9
| | | | | | | | call ftruncate if offset is bigger than current size. Make sure the file is offset + len bytes long if that is more than current size. Don't overwrite previous content of the file. * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64): Likewise.
* (posix_fallocate): If len == 0, call ftruncate if offset is bigger than ↵Ulrich Drepper2005-05-032-20/+66
| | | | current size. Make sure the file is offset + len bytes long if that is more than current size. Don't overwrite previous content of the file.
* [BZ #924] cvs/fedora-glibc-20050503T0852Roland McGrath2005-05-022-2/+8
| | | | | | 2005-05-02 Roland McGrath <roland@redhat.com> [BZ #924] * crypt/md5.c [! HAVE_MEMCPY] (memcpy): Yield proper expression value.
* * timezone/africa: Update from tzdata2005i.Roland McGrath2005-04-305-38/+108
| | | | | | * timezone/asia: Likewise. * timezone/northamerica: Likewise. * timezone/yearistype: Likewise.
* * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.Roland McGrath2005-04-291-0/+4
|
* 2005-04-29 Roland McGrath <roland@redhat.com>Roland McGrath2005-04-291-1/+1
| | | | * sysdeps/i386/sysdep.h (CALL_MCOUNT): Fix typo in last change.
* * nis/nis_table.c: Fix realloc handling.Ulrich Drepper2005-04-293-7/+17
| | | | * nis/nis_removemember.c: Likewise.
* [BZ #798]Ulrich Drepper2005-04-291-0/+5
| | | | | | 2005-04-28 Ulrich Drepper <drepper@redhat.com> [BZ #798] * nscd/Makefile: Help losers who use --with-headers.
* Help losers who use --with-headers.Ulrich Drepper2005-04-291-0/+8
|
* [BZ #781, BZ #796]Roland McGrath2005-04-287-70/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-04-28 Roland McGrath <roland@redhat.com> [BZ #796] * sysdeps/unix/sysv/linux/dl-sysdep.h: New file. Define NEED_DL_SYSINFO_DSO for all platforms. * sysdeps/generic/dl-sysdep.h: Remove multiple inclusion protection. * sysdeps/alpha/dl-sysdep.h: Likewise. Use #include_next instead of duplicating generic file's contents. * sysdeps/ia64/dl-sysdep.h: Likewise. * sysdeps/sparc/dl-sysdep.h: Likewise. 2005-03-22 Steven Munroe <sjmunroe@us.ibm.com> * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local. 2005-03-07 Steven Munroe <sjmunroe@us.ibm.com> [BZ #781] * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL): Define for powerpc32/64 starting with 2.6.1. (__ASSUME_UTIMES): Define for powerpc32/64 starting with 2.6.1. (__ASSUME_FADVISE64_64_SYSCALL): Define for powerpc32 only starting with 2.6.1. (__ASSUME_WAITID_SYSCALL): Don't define for powerpc32/64.
* 2005-03-22 Steven Munroe <sjmunroe@us.ibm.com>Roland McGrath2005-04-281-4/+3
| | | | * sysdeps/powerpc/powerpc64/memset.S (memset): Make ___memset local.
* * sysdeps/i386/sysdep.h: Add cfi instrumentation to asm fragments.Ulrich Drepper2005-04-285-15/+38
| | | | | | * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/socket.S: Remove now duplicate cfi_startproc and cfi_endproc.
* * configure.in: Remove ultrasparc names.Ulrich Drepper2005-04-282-2/+4
|
* * sysdeps/i386/i686/memcmp.S: Move misplaced END.Ulrich Drepper2005-04-2811-12/+7296
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2005-03-27 Bruno Haible <bruno@clisp.org> Make it possible for multiple threads to use gettext() in different locales. * intl/dcigettext.c (HAVE_PER_THREAD_LOCALE): New macro. (struct known_translation_t): If HAVE_PER_THREAD_LOCALE, add localename field. (transcmp): If HAVE_PER_THREAD_LOCALE, compare localename fields. (DCIGETTEXT): If HAVE_PER_THREAD_LOCALE, fill the localename field in search and newp. * intl/tst-gettext4.c: New file. * intl/tst-gettext4.sh: New file. * intl/tst-gettext4-de.po: New file. * intl/tst-gettext4-fr.po: New file. * intl/tst-gettext5.c: New file. * intl/tst-gettext5.sh: New file. * intl/Makefile (distribute): Add tst-gettext4.sh, tst-gettext4-de.po, tst-gettext4-fr.po, tst-gettext5.sh. (multithread-test-srcs): New variable. (test-srcs): Add its contents. (tests): Depend on tst-gettext4.out, tst-gettext5.out. (tst-gettext4.out, tst-gettext5.out): New rules. (CFLAGS-tst-gettext4.c, CFLAGS-tst-gettext5.c): New variables. Add rule for linking the multithread-test-srcs with the appropriate thread-library. 2005-04-28 Ulrich Drepper <drepper@redhat.com> * po/rw.po: New file. From translation team.
* * scripts/config.guess: Update from upstream.Ulrich Drepper2005-04-283-5/+17
| | | | * scripts/config.sub: Likewise.
* * SUPPORTED: Add UTF-8 locales where UTF-8 was not already supported.Ulrich Drepper2005-04-282-0/+22
|
* * nscd/connections.c (nscd_run): Use time() value in prune_cache cvs/fedora-glibc-20050428T0846Ulrich Drepper2005-04-282-2/+6
| | | | call, not timeout value, since the latter might be from another clock.
* * sysdeps/pthread/getcpuclockid.c: Include spinlock.h. cvs/fedora-glibc-20050427T1912Ulrich Drepper2005-04-273-5/+18
| | | | | | Fix a typo in kernel-posix-cpy-timers.h include name, use <> instead of "" includes. (pthread_getcpuclockid): Fix 2 typos.
* Use <> instead of "" includes.Ulrich Drepper2005-04-271-3/+3
|
* [BZ #877] cvs/fedora-glibc-2_3-20050704T1133 cvs/fedora-glibc-20050427T1043Roland McGrath2005-04-273-2/+7
| | | | * posix/unistd.h: Remove __nonnull from acct decl.
* [BZ #877]Roland McGrath2005-04-271-2/+2
| | | | | | 2005-04-27 Roland McGrath <roland@redhat.com> [BZ #877] * posix/unistd.h: Remove __nonnull from acct decl.
* * tst-cancel17.c (do_test): Add arbitrary factor to make sureUlrich Drepper2005-04-271-0/+5
| | | | aio_write blocks.
* (do_test): Add arbitrary factor to make sure aio_write blocks.Ulrich Drepper2005-04-271-2/+2
|
* * rt/tst-cpuclock1.c: New file.Roland McGrath2005-04-2712-5/+1174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * rt/tst-cpuclock2.c: New file. * rt/tst-cputimer1.c: New file. * rt/tst-cputimer2.c: New file. * rt/tst-cputimer3.c: New file. * rt/Makefile (tests): Add them. * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c (HAS_CPUCLOCK): New macro. (clock_getcpuclockid): Function removed. #include the new linux file to define it instead. * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime): New function, broken out of ... (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it. (realtime_gettime): New function, broken out of ... (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it. (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case. * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro. (SYSDEP_GETTIME_CPUTIME): New macro. (SYSDEP_GETTIME): Use both. [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken out of ... (SYSDEP_GETTIME): ... here. Use it. [__NR_clock_gettime] (HANDLED_CPUTIME): Define it. (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying kernel support and falling back to hp-timing code. * sysdeps/posix/clock_getres.c [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ... (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it. (realtime_getres): New function, broken out of ... (clock_getres) [! HANDLED_REALTIME]: ... here. Call it. (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case. * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro. (SYSDEP_GETRES_CPUTIME): New macro. (SYSDEP_GETRES): Use both. [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken out of ... (SYSDEP_GETRES): ... here. Use it. [__NR_clock_getres] (HANDLED_CPUTIME): Define it. (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying kernel support and falling back to hp-timing code. * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially, translating to the kernel clockid_t for our own process/thread clock.
* 2005-04-27 Roland McGrath <roland@redhat.com>Roland McGrath2005-04-278-195/+549
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/kernel-posix-cpu-timers.h: New file. * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: New file. * sysdeps/unix/sysv/linux/ia64/clock_getcpuclockid.c (HAS_CPUCLOCK): New macro. (clock_getcpuclockid): Function removed. #include the new linux file to define it instead. * sysdeps/unix/clock_gettime.c [HP_TIMING_AVAIL] (hp_timing_gettime): New function, broken out of ... (clock_gettime) [HP_TIMING_AVAIL]: ... here. Call it. (realtime_gettime): New function, broken out of ... (clock_gettime) [! HANDLED_REALTIME]: ... here. Call it. (clock_gettime) [SYSDEP_GETTIME_CPU]: Use new macro in default case. * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): New macro. (SYSDEP_GETTIME_CPUTIME): New macro. (SYSDEP_GETTIME): Use both. [! __ASSUME_POSIX_TIMERS] (maybe_syscall_gettime): New function, broken out of ... (SYSDEP_GETTIME): ... here. Use it. [__NR_clock_gettime] (HANDLED_CPUTIME): Define it. (SYSDEP_GETTIME_CPUTIME): New macro. Handle CPU timers by trying kernel support and falling back to hp-timing code. * sysdeps/posix/clock_getres.c [HP_TIMING_AVAIL] (hp_timing_getres): New function, broken out of ... (clock_getres) [HP_TIMING_AVAIL]: ... here. Call it. (realtime_getres): New function, broken out of ... (clock_getres) [! HANDLED_REALTIME]: ... here. Call it. (clock_getres) [SYSDEP_GETRES_CPU]: Use new macro in default case. * sysdeps/unix/sysv/linux/clock_getres.c (SYSCALL_GETRES): New macro. (SYSDEP_GETRES_CPUTIME): New macro. (SYSDEP_GETRES): Use both. [! __ASSUME_POSIX_TIMERS] (maybe_syscall_getres): New function, broken out of ... (SYSDEP_GETRES): ... here. Use it. [__NR_clock_getres] (HANDLED_CPUTIME): Define it. (SYSDEP_GETRES_CPUTIME): New macro. Handle CPU timers by trying kernel support and falling back to hp-timing code. * sysdeps/unix/sysv/linux/clock_nanosleep.c: Handle CLOCK_PROCESS_CPUTIME_ID and CLOCK_PROCESS_THREAD_ID specially, translating to the kernel clockid_t for our own process/thread clock.
* * stdlib/test-canon.c: Make doesExist a directory and add more testsUlrich Drepper2005-04-273-6/+31
| | | | | | | | | | | for the new error case. 2004-06-02 Dmitry V. Levin <ldv@altlinux.org> Ranjani Murthy <ranmur@gmail.com> * stdlib/canonicalize.c (__realpath): Change realpath(3) to return NULL and set errno to ENOTDIR for such pathnames like "/path/to/existing-non-directory/".
* * time/strptime_l.c (__strptime_internal): Handle 'z' to setUlrich Drepper2005-04-276-59/+264
| | | | | | tm_gmtoff. * time/Makefile (tests): Add tst-strptime2. * time/tst-strptime2.c: New file.
* * elf/dl-close.c: Include stddef.h.Ulrich Drepper2005-04-2710-26/+302
| | | | | | | | | | | | | | | | | | | | | | | | | (_dl_close): If called recursively, just remember GC needs to be rerun and decrease l_direct_opencount. Avoid GC if l_direct_opencount decreased to 1. Rerun GC at the end if any destructor unloaded some additional libraries. * elf/Makefile: Add rules to build and run unload6 test. * elf/unload6.c: New test. * elf/unload6mod1.c: New file. * elf/unload6mod2.c: New file. * elf/unload6mod3.c: New file. * malloc/hooks.c (mem2chunk_check): Add magic_p argument, set *magic_p if magic_p is not NULL. (top_check): Invoke MALLOC_FAILURE_ACTION if MORECORE failed. (malloc_check): Fail if sz == -1. (free_check): Adjust mem2chunk_check caller. (realloc_check): Likewise. Fail if bytes == -1. If bytes == 0 and oldmem != NULL, call free_check and return NULL. If reallocating and returning NULL, invert magic byte again to make oldmem valid region for further checking. (memalign_check): Fail if bytes == -1. * malloc/Makefile: Add rules to build and run tst-mcheck. * malloc/tst-mcheck.c: New test.
* * stdio-common/vfscanf.c: Correctly account for characters ofUlrich Drepper2005-04-261-0/+5
| | | | decimal points right after +-.
* Correctly account for characters of decimal points right after +-.Ulrich Drepper2005-04-261-3/+2
|
* * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead ofRoland McGrath2005-04-261-0/+5
| | | | ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
* 2005-04-26 Roland McGrath <roland@redhat.com>Roland McGrath2005-04-261-2/+9
| | | | | * elf/rtld-Rules (rtld-all): Test ifndef rtld-modules instead of ifeq ($(subdir),elf) to distinguish main driver from subdir runs.
* Fix typo.Ulrich Drepper2005-04-261-1/+1
|
* * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.hRoland McGrath2005-04-263-3/+18
| | | | | | | | (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change. * sunrpc/xdr.c (xdr_u_int): Use `long' for L and cast where needed. * elf/dl-load.c: Revert last change.
* 2005-04-25 Roland McGrath <roland@redhat.com>Roland McGrath2005-04-261-1/+1
| | | | | * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h (INTERNAL_SYSCALL_ERROR_P): Fix typo in last change.
* * stdio-common/vfscanf.c: Fix parsing of decimal point after +-.Ulrich Drepper2005-04-241-0/+5
| | | | Patch by Hamed Malek <hamed@bamdad.org>.
* Fix parsing of decimal point after +-.Ulrich Drepper2005-04-241-1/+13
|
* * elf/dl-load.c (_dl_map_object_from_fd): Don't use MAP_DENYWRITE,Roland McGrath2005-04-212-7/+6
| | | | since Linux ignores it in user mmap calls.
* * sysdeps/sparc/sparc32/elf/start.S: Define __data_start.Roland McGrath2005-04-173-0/+17
| | | | * sysdeps/sparc/sparc64/elf/start.S: Likewise.
* [BZ #823]Roland McGrath2005-04-161-0/+1
| | | | | bz tag [BZ #823]
* * old_pthread_cond_init.c: Include <errno.h>.Roland McGrath2005-04-153-7/+16
| | | | | | (__pthread_cond_init_2_0): Fail with EINVAL if COND_ATTR is process shared or uses clock other than CLOCK_REALTIME. * pthread_cond_init.c (__pthread_cond_init): Remove bogus comment.
* * timezone/Makefile (zic-deps): New variable.Roland McGrath2005-04-152-17/+24
| | | | | | | | | | ($(testdata)/America/New_York): Use it instead of explicit deps. ($(testdata)/Etc/UTC, $(testdata)/Australia/Melbourne): Likewise. ($(testdata)/America/Sao_Paulo, $(testdata)/Asia/Tokyo): Likewise. (%/UTC %/Universal): New pattern rule, replaces ... ($(testdata)/UTC, $(testdata)/Universal): ... these removed targets. ($(testdata)/%/Berlin $(testdata)/%/London): New pattern rule. ($(testdata)/Europe/London, $(testdata)/Europe/Berlin): Removed.
* [BZ #253] cvs/fedora-glibc-20050415T0909Roland McGrath2005-04-153-5/+20
| | | | | | | | | | | | | | 2005-04-14 Roland McGrath <roland@redhat.com> * MakeTAGS ($P/$(domain).pot): Depend on distinfo file as well. (extract): Filter-out distinfo file name. [BZ #253] * MakeTAGS (text-srcs): Match %.bash.in files too. [BZ #253] * nscd/Makefile (all-nscd-modules): New variable, include selinux module regardless of configuration. (distribute): Use that instead of $(nscd-modules).
* [BZ #851]Roland McGrath2005-04-151-0/+1
| | | | | bz tag [BZ #851]
* Add sparc64 TLS and NPTL support.Ulrich Drepper2005-04-1412-253/+596
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/tls-macros.h: Add Sparc64 defines. * sysdeps/sparc/sparc64/dl-machine.h (sparc64_fixup_plt): Mark as always_inline. (elf_machine_fixup_plt): Likewise. (elf_machine_rela): Handle TLS relocations. (elf_machine_type_cleaa): Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h (SYSCALL_ERROR_HANDLER_ENTRY): Use sethi/or for GOT reloc. It does not always fit in R_SPARC_GOT13 when building -fPIC. Also, add TLS handling. * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Increase it to 2.4.21 for sparc64. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: NULL terminate backtrace by zero'ing out %fp. Store away flags, func_ptr, and func_arg in global registers not local registers. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Handle PTID, TLS, and CTID arguments properly. Add RESET_PID handling. * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Rework so that we do not invoke __sigprocmask(). We can always assume rt signals are present on sparc64, so just do an inline syscall. 2005-04-13 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc64/dl-machine.h: Add dl_machine_h multiple inclusion guard for the first half of the header. (elf_machine_type_class, ELF_MACHINE_JMP_SLOT, ELF_MACHINE_NO_REL, ELF_MACHINE_PLTREL_OVERLAP, elf_machine_runtime_setup, elf_machine_relplt, DL_STACK_END, RTLD_START): Move into the #ifndef dl_machine_h guarded part of the header.
* * posix/execvp.c (execvp): Use file name including path whenUlrich Drepper2005-04-144-3/+54
| | | | | | trying to run it with shell. * posix/Makefile: Add rules to build and run tst-execvp3. * posix/tst-execvp3.c: New file.
* * stdlib/random_r.c (__initstate_r): Don't use non-existing state.Ulrich Drepper2005-04-123-2/+23
| | | | | * string/tst-strfry.c: New file. * string/Makefile (tests): Add tst-strfry.
* (__initstate_r): Don't use non-existing state.Ulrich Drepper2005-04-121-18/+15
|