about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/unix/sysv/linux/x86_64/init-first.cUlrich Drepper2007-08-242-2/+8
| | | | | (_libc_vdso_platform_setup): Avoid using exported variable by using alias.
* * resolv/arpa/nameser.h (NS_OPT_DNSSEC_OK): Define.Ulrich Drepper2007-08-242-0/+7
|
* * sysdeps/unix/sysv/linux/i386/syscalls.list: No reason to markUlrich Drepper2007-08-242-1/+7
| | | | | fallocate64 as EXTRA< it is not referenced if the symbol isn't defined.
* * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): CorrectlyUlrich Drepper2007-08-242-3/+7
| | | | align stack for call if pltexit is to be used.
* [BZ #3924]Ulrich Drepper2007-08-242-1/+6
| | | | | * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Correctly align for function call in case pltexit has to be called later.
* * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): AvoidUlrich Drepper2007-08-242-8/+14
| | | | | implicit atomic operation when storing function pointer. (_dl_runtime_profile): Likewise.
* * nis/nis_table.c (nis_list): Don't fail if __follow_path returnedUlrich Drepper2007-08-223-5/+15
| | | | NIS_NOTFOUND.
* [BZ #4566]Ulrich Drepper2007-08-224-0/+188
| | | | * string/strtok.c: Fix typo in comment.
* [BZ #4582]Ulrich Drepper2007-08-225-6/+15
| | | | * debug/segfault.c: Fix typos in comments.
* [BZ #4588]Ulrich Drepper2007-08-222-7/+11
| | | | | * stdio-common/tempnam.c: Fix comment, it is not checked that TMPDIR points to a writable directory.
* [BZ #4726]Ulrich Drepper2007-08-222-3/+10
| | | | | * resolv/res_send.c (__libc_res_nsend): Initialize all of the memory allocated for the name server address.
* [BZ #4946]Ulrich Drepper2007-08-222-1/+6
| | | | | | * nscd/connections.c (handle_request): Using sendfile always requires that mmap is used for the database. Patch by Petr Baudis <pasky@suse.cz>.
* [BZ #4905]Ulrich Drepper2007-08-222-13/+24
| | | | | | * nscd/hstcache.c (cache_addhst): When reloading an entry which suddenly has two or more addresses, ignore it and remove the old entry.
* [BZ #4814]Ulrich Drepper2007-08-227-5/+31
| | | | | | | | | * resolv/res_hconf.c: Prepare for compiling outside libc. * nscd/res_hconf.c: New file. * nscd/Makefile (nscd-modules): Add res_hconf. Add rules to build the new file. * nscd/gethstbynm2_r.c (NEED__RES_HCONF): Define. * nscd/gethstbyad_r.c (NEED__RES_HCONF): Likewise.
* * nscd/hstcache.c (cache_addhst): Minimal optimization.Ulrich Drepper2007-08-222-1/+3
|
* [BZ #4938]Ulrich Drepper2007-08-214-1/+118
| | | | | | | | | 2007-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #4938] * allocatestack.c (__reclaim_stacks): Clear the TSD in the reclaimed stack if necessary. * Makefile (tests): Add tst-tsd6. * tst-tsd6.c: New file.
* [BZ #4925]Ulrich Drepper2007-08-212-6/+15
| | | | | * debug/pcprofiledump.c: Turn on internationalization by calling setlocale. Patch mostly by Benno Schulenberg.
* [BZ #4896, BZ #4936]Ulrich Drepper2007-08-214-7/+79
| | | | | | | | | | | 2007-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #4936] * iconv/gconv.c (__gconv): If flush was successful, clear rest of the state. * iconvdata/Makefile: Add rules to build and run bug-iconv5. * iconvdata/bug-iconv5.c: New file. [BZ #4896]
* * elf/elf.h: Define R_PARISC_PLABEL21L, R_PARISC_PLABEL14R,Ulrich Drepper2007-08-212-1/+33
| | | | | | | | | | R_PARISC_GNU_VTENTRY, R_PARISC_GNU_VTINHERIT, R_PARISC_TLS_GD21L, R_PARISC_TLS_GD14R, R_PARISC_TLS_GDCALL, R_PARISC_TLS_LDM21L, R_PARISC_TLS_LDM14R, R_PARISC_TLS_LDMCALL, R_PARISC_TLS_LDO21L, R_PARISC_TLS_LDO14R, R_PARISC_TLS_DTPMOD32, R_PARISC_TLS_DTPMOD64, R_PARISC_TLS_DTPOFF32, R_PARISC_TLS_DTPOFF64, R_PARISC_TLS_LE21L, R_PARISC_TLS_LE14R, R_PARISC_TLS_IE21L, R_PARISC_TLS_IE14R, R_PARISC_TLS_TPREL32, R_PARISC_TLS_TPREL64.
* [BZ #4937]Ulrich Drepper2007-08-211-0/+7
| | | | | | | 2007-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #4937] * elf/do-lookup.h (do_lookup_x): Minimal improvement in hash lookup loop. Suggested by John Reiser.
* (do_lookup_x): Minimal improvement in hash lookup loop.Ulrich Drepper2007-08-211-1/+1
|
* * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h.Jakub Jelinek2007-08-212-1/+7
| | | | | | 2007-08-21 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include tls.h.
* * sysdeps/unix/sysv/linux/alpha/lowlevellock.h (lll_robust_dead): Jakub Jelinek2007-08-212-2/+7
| | | | | | | | Add private argument. 2007-08-21 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/lowlevellock.h (lll_robust_dead): Add private argument.
* * csu/libc-start.c: Don't handle VDSO_SETUP here.Ulrich Drepper2007-08-208-38/+78
| | | | | | | | | * sysdeps/unix/sysv/linux/init-first.c: Handle it here instead. * sysdeps/unix/sysv/linux/x86_64/libc-start.c: Renamed to... * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...this. New file. * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Move VDSO_SETUP code to... * sysdeps/unix/sysv/linux/x86_64/init-first.c: ...here. New file.
* * po/nl.po: Update from translation team.Ulrich Drepper2007-08-181-0/+4
|
* Update from translation team.Ulrich Drepper2007-08-181-25/+38
|
* Update.Andreas Jaeger2007-08-171-0/+5
| | | | | | | 2007-08-16 Andreas Jaeger <aj@suse.de> * locale/localeinfo.h: Make _nl_category_name_idxs extern. Reported by Peter Festner <peter.festner@ewetel.net>.
* Make _nl_category_name_idxs extern.Andreas Jaeger2007-08-171-2/+2
|
* * login/tst-grantpt.c (test_einval): Add 3rd argument to open.Jakub Jelinek2007-08-172-1/+5
| | | | | | 2007-08-17 Jakub Jelinek <jakub@redhat.com> * login/tst-grantpt.c (test_einval): Add 3rd argument to open.
* * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u cvs/fedora-glibc-20070816T2121Jakub Jelinek2007-08-162-1/+5
| | | | | | to check for undefined symbols. * elf/Makefile ($(objpfx)ld.so): Use readelf -s and awk instead of nm -u to check for undefined symbols.
* * sysdeps/unix/sysv/linux/alpha/lowlevellock.h Jakub Jelinek2007-08-162-2/+9
| | | | | | | | | | | | (__lll_robust_timedlock): Pass private as last argument to __lll_robust_timedlock_wait. (__lll_unlock): Fix a pasto. 2007-08-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/alpha/lowlevellock.h (__lll_robust_timedlock): Pass private as last argument to __lll_robust_timedlock_wait. (__lll_unlock): Fix a pasto.
* * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Jakub Jelinek2007-08-163-24/+16
| | | | | | | | | | | | | | If the syscall fails, set errno to the actual returned error number rather than EINVAL. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If arguments are incorrect, set errno to EINVAL, if the syscall fails, set errno to the actual returned error number. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): If the syscall fails, set errno to the actual returned error number rather than EINVAL. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): If arguments are incorrect, set errno to EINVAL, if the syscall fails, set errno to the actual returned error number.
* * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove. Jakub Jelinek2007-08-163-6/+5
| | | | | | * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove. * stdlib/bits/stdlib-ldbl.h (__strtold_internal): Remove. * wcsmbs/bits/wchar-ldbl.h (__wcstold_internal): Remove.
* * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to... Jakub Jelinek2007-08-164-2/+13
| | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New file. (ASI_PNF, ASI_BLK_P): Don't define. * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to... * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New file. * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to... * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New file. 2007-08-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/sparc32/sparcv9b/memcpy.S: Moved to... * sysdeps/sparc/sparc32/sparcv9/sparcv9b/memcpy.S: ... here. New file. (ASI_PNF, ASI_BLK_P): Don't define. * sysdeps/sparc/sparc32/sparcv9v/memcpy.S: Moved to... * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memcpy.S: ... here. New file. * sysdeps/sparc/sparc32/sparcv9v/memset.S: Moved to... * sysdeps/sparc/sparc32/sparcv9/sparcv9v/memset.S: ... here. New file.
* * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising cvs/fedora-glibc-20070815T2049Jakub Jelinek2007-08-1517-94/+638
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FE_UNDERFLOW on Niagara CPUs. * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions. * sysdeps/unix/sysv/linux/sparc/internaltypes.h (sparc_new_sem, sparc_old_sem): New structs. * sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c (__sem_wait_cleanup): New function. (__new_sem_wait): Use sparc_new_sem structure. Bump and afterwards decrease nwaiters. Register __sem_wait_cleanup as cleanup handler. Pass isem->private ^ FUTEX_PRIVATE_FLAG as last argument to lll_futex_wait. (__old_sem_wait): New function. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c: Include nptl/sysdeps/unix/sysv/linux/sparc version. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c (__new_sem_trywait): Use sparc_old_sem structure. * sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c (sem_timedwait): Use sparc_new_sem structure. Bump and afterwards decrease nwaiters. Register __sem_wait_cleanup as cleanup handler. Pass isem->private ^ FUTEX_PRIVATE_FLAG as last argument to lll_futex_timed_wait. * sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c (__new_sem_post): Use sparc_new_sem structure. Only wake if nwaiters > 0. Pass isem->private ^ FUTEX_PRIVATE_FLAG as last argument to lll_futex_wake. (__old_sem_post): New function. * sysdeps/unix/sysv/linux/sparc/sem_wait.c: New file. * sysdeps/unix/sysv/linux/sparc/sem_init.c: New file. * sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: New file. * sysdeps/unix/sysv/linux/sparc/sem_post.c: New file. * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_init.c: Remove. * sysdeps/unix/sysv/linux/sparc/sparc32/sem_init.c: Remove. 2007-08-15 Jakub Jelinek <jakub@redhat.com> * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Fix raising FE_UNDERFLOW on Niagara CPUs. * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Clear all exceptions.
* * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.SUlrich Drepper2007-08-1510-42/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | (__pthread_cond_broadcast): Pass LLL_PRIVATE to lll_* and or FUTEX_PRIVATE_FLAG into SYS_futex op if cv is process private. Don't use FUTEX_CMP_REQUEUE if dep_mutex is not process private. * sysdeps/unix/sysv/linux/shpthread_cond_signal.S (__pthread_cond_signal): Pass LLL_PRIVATE to lll_* and or FUTEX_PRIVATE_FLAG into SYS_futex op if cv is process private. Use FUTEX_WAKE_OP. * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Include kernel-features.h and tcb-offsets.h. (__pthread_cond_wait, __condvar_w_cleanup): Pass LLL_PRIVATE to lll_* and or FUTEX_PRIVATE_FLAG into SYS_futex op if cv is process private. * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Include tcb-offsets.h. (__pthread_cond_timedwait, __condvar_tw_cleanup): Pass LLL_PRIVATE to lll_* and or FUTEX_PRIVATE_FLAG into SYS_futex op if cv is process private. * sysdeps/unix/sysv/linux/sh/pthread_once.S: Use #ifdef __ASSUME_PRIVATE_FUTEX instead of #if __ASSUME_PRIVATE_FUTEX. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise. * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
* (__pthread_cond_broadcast): Pass LLL_PRIVATE to lll_* and or ↵Ulrich Drepper2007-08-151-4/+50
| | | | FUTEX_PRIVATE_FLAG into SYS_futex op if cv is process private. Don't use FUTEX_CMP_REQUEUE if dep_mutex is not process private.
* * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No Jakub Jelinek2007-08-148-30/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. (sparc_fixup_plt): Add do_flush argument instead of figuring whether flush should be used or not inside of the function. (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, __thread_start): Use HIDDEN_JUMPTARGET. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, __thread_start): Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define. nptl/ * sysdeps/unix/sysv/linux/lowlevellock.c: Comment fix. * sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid): Pass LLL_SHARED as 4th argument to lll_futex_timed_wait. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_runtime_setup): No need to check GLRO(dl_hwcap) & HWCAP_SPARC_FLUSH on sparcv9. (sparc_fixup_plt): Add do_flush argument instead of figuring whether flush should be used or not inside of the function. (elf_machine_fixup_plt, elf_machine_rela): Adjust caller. * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone, __thread_start): Use HIDDEN_JUMPTARGET. * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone, __thread_start): Likewise. * sysdeps/unix/sysv/linux/sparc/sysdep.h (JUMPTARGET): Define.
* * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare. Jakub Jelinek2007-08-145-48/+67
| | | | | | | | | | | | | | | | | | | | Add libc_hidden_proto. (STRTOF): Add libc_hidden_proto. (___new_strtold_l, ___new_wcstold_l): New weak aliases. (strtold_l, wcstold_l): Use them as second argument for long_double_symbol. nptl/ * sysdeps/unix/sysv/linux/alpha/lowlevellock.h (__lll_unlock, __lll_robust_unlock): Rewrite as macros instead of inline functions. * sysdeps/unix/sysv/linux/s390/lowlevellock.h (__lll_unlock, __lll_robust_unlock, __lll_wait_tid): Likewise. 2007-08-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/ieee754/ldbl-64-128/strtold_l.c (__STRTOF): Declare. Add libc_hidden_proto. (STRTOF): Add libc_hidden_proto. (___new_strtold_l, ___new_wcstold_l): New weak aliases. (strtold_l, wcstold_l): Use them as second argument for long_double_symbol.
* * elf/dl-misc.c: Undo last change. The kernel won't allow it.Ulrich Drepper2007-08-142-6/+6
|
* * stdlib/strtold_l.c: Include wchar.h if needed. Add libc_hidden_def.Ulrich Drepper2007-08-142-1/+13
|
* * po/bg.po: New file. From the translation team.Ulrich Drepper2007-08-142-0/+6468
|
* * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PSELECT, cvs/fedora-glibc-20070814T0725 cvs/fedora-glibc-20070814T0643Ulrich Drepper2007-08-1421-103/+465
| | | | | | | | | | | | | | | | | | | | | | __ASSUME_PPOLL, __ASSUME_ATFCTS, __ASSUME_SET_ROBUST_LIST, __ASSUME_UTIMENSAT, __ASSUME_FALLOCATE): Update per-arch conditions when each feature was introduced. * sysdeps/unix/sysv/linux/dl-vdso.c: Don't include dl-hash.h. * sysdeps/unix/sysv/linux/dl-vdso.h: Don't include dl-hash.h if NDEBUG. (CHECK_HASH): New macro. (PREPARE_VERSION): Use it. * sysdeps/unix/sysv/linux/pselect.c (__generic_pselect): Only provide prototype if not __ASSUME_PSELECT. * sysdeps/unix/sysv/linux/ppoll.c (__generic_ppoll): Only provide prototype if not __ASSUME_PPOLL. * sysdeps/unix/sysv/linux/dl-osinfo.h (ROUND): #undef after use. * sysdeps/unix/clock_settime.c (freq, __pthread_clock_settime, hp_timing_settime): Don't define or declare if HANDLED_CPUTIME is defined.
* * sysdeps/unix/sysv/linux/i386/i786/Implies: New file.Ulrich Drepper2007-08-132-0/+6
|
* * sysdeps/unix/sysv/linux/x86_64/libc-start.cUlrich Drepper2007-08-134-1/+40
| | | | | | | (_libc_vdso_platform_setup): If vDSO is not available point __vdso_gettimeofday to the vsyscall. * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S [SHARED]: Use __vdso_gettimeofday instead of vsyscall.
* * nscd/servicescache.c: Include kernel-features.h.Ulrich Drepper2007-08-1329-7/+53
| | | | | | | | | | | | | * nscd/gai.c: Likewise. * sysdeps/unix/sysv/linux/statfs64.c: Likewise. * sysdeps/unix/sysv/linux/fstatfs64.c: Likewise. * sysdeps/unix/sysv/linux/fxstatat.c: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise. * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise. * sysdeps/unix/sysv/linux/xstatconv.c: Likewise. * sysdeps/unix/sysv/linux/if_index.c: Likewise. * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Likewise. * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
* * elf/dl-dst.h: No need for _dl_dst_count, _dl_dst_substitute,Ulrich Drepper2007-08-132-8/+3
| | | | and _dl_get_origin defines anymore.
* * sysdeps/unix/sysv/linux/clock_gettime.c (maybe_syscall_gettime_cpu):Ulrich Drepper2007-08-132-1/+12
| | | | Build fix for systems which might lack POSIX timer support.
* * sysdeps/unix/sysv/linux/x86_64/libc-start.cUlrich Drepper2007-08-134-7/+27
| | | | | | | | | | | (_libc_vdso_platform_setup): Mangle function pointers before storing them. * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL): Demangle vdso pointer before use. (INTERNAL_VSYSCALL): Likewise. * elf/cache.c (primes): Mark as const. Noted by Roland McGrath.
* * sysdeps/unix/sysv/linux/powerpc/libc-start.cUlrich Drepper2007-08-122-1/+25
|