about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #3451] cvs/fedora-glibc-20061110T2049 cvs/fedora-glibc-20061110T1956Ulrich Drepper2006-11-102-15/+34
| | | | | | | | 2006-11-10 Ulrich Drepper <drepper@redhat.com> [BZ #3451] * sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode change atomic. (ceil): Likewise.
* * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimizationUlrich Drepper2006-11-103-6/+55
| | | | | | | | if N is one bigger than return value. * string/tst-strxfrm2.c (do_test): Also test strxfrm with l1 + 1 and l1 last arguments, if buf is defined, verify the return value equals to strlen (buf) and verify no byte beyond passed length is modified.
* * po/sv.po: Update from translation team.Ulrich Drepper2006-11-102-7/+17
|
* * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): AddUlrich Drepper2006-11-104-3/+23
| | | | | | | | | | | | | | | | | noinline attribute. 2006-11-10 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add noinline attribute. * sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev): Use __new_sys_siglist instead of _sys_siglist_internal as second macro argument. (_old_sys_siglist): Use declare_symbol_alias macro instead of strong_alias. 2006-11-09 Ulrich Drepper <drepper@redhat.com>
* [BZ #3493]Ulrich Drepper2006-11-092-1/+4
| | | | * posix/unistd.h (sysconf): Remove const attribute.
* * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for cvs/fedora-glibc-20061109T2048Ulrich Drepper2006-11-092-3/+9
| | | | | temporary or deprecated addresses. Patch by Sridhar Samudrala <sri@us.ibm.com>.
* * string/Makefile (tests): Add tst-strxfrm2.Ulrich Drepper2006-11-094-5/+59
| | | | | | | * string/tst-strxfrm2.c: New file. * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal optimization even if needed > n.
* * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0 cvs/fedora-glibc-20061109T1949Ulrich Drepper2006-11-097-51/+84
| | | | | | | | | | | | | | | | | | | | | rather than r->r_brk. 2006-11-08 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (decompose_rpath): Return bool rather than void. If l->l_name is on inhibit_rpath list, set sps->dirs to -1 and return false, otherwise return true. (cache_rpath): Return decompose_rpath return value. 2006-11-07 Jakub Jelinek <jakub@redhat.com> * include/libc-symbols.h (declare_symbol): Rename to... (declare_symbol_alias): ... this. Add ORIGINAL argument, imply strong_alias (ORIGINAL, SYMBOL) in asm to make sure it preceedes .size directive. * sysdeps/gnu/errlist-compat.awk: Adjust for declare_symbol_alias changes. * sysdeps/gnu/siglist.c: Likewise.
* * sysdeps/powerpc/fpu/bits/mathinline.hUlrich Drepper2006-11-063-58/+89
| | | | | [__LIBC_INTERNAL_MATH_INLINES]: Moved to ... * sysdeps/powerpc/fpu/math_private.h: ...here. New file.
* * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):Ulrich Drepper2006-11-063-2/+63
| | | | | | Update handling of cache descriptor 0x49 for new models. * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Likewise.
* * malloc/memusage.c (dest): Reset not_me back to false afterUlrich Drepper2006-11-032-0/+11
| | | | printing statistics.
* * locales/mai_IN: New file. cvs/fedora-glibc-20061103T1610Ulrich Drepper2006-11-034-9/+101
| | | | | | Provided by Rajesh Ranjan <rajeshkajha@yahoo.com>. * SUPPORTED: Add mai_IN/UTF-8.
* * configure.in: Work around ld --help change and avoid -z relroUlrich Drepper2006-11-022-12/+17
| | | | test completely if the architecture doesn't care about security.
* * po/sv.po: Update from translation team.Ulrich Drepper2006-11-012-10/+14
|
* * stdlib/atexit.c (atexit): Don't mark as hidden when used toUlrich Drepper2006-10-312-0/+7
| | | | generate compatibility version.
* * nptl_db/db_info.c [TLS_DTV_AT_TP]: Fixed size init for dtvpUlrich Drepper2006-10-312-1/+6
| | | | to sizeof a pointer, instead of sizeof the union.
* * sysdeps/ia64/pthread_spin_unlock.c (pthread_spin_unlock): UseUlrich Drepper2006-10-304-4/+11
| | | | __sync_lock_release instead of __sync_lock_release_si.
* * configure.in: Relax -z relro requirement a bit. cvs/fedora-glibc-20061029T2155Ulrich Drepper2006-10-294-2/+30
|
* * po/sv.po: Update from translation team.Ulrich Drepper2006-10-2913-83/+90
|
* * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P.Ulrich Drepper2006-10-296-7/+16
| | | | | | | * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise. * elf/dl-close.c (_dl_close_worker): Likewise. * elf/dl-open.c (_dl_open_worker): Likewise. * sysdeps/generic/sysdep-cancel.h (RTLD_SINGLE_THREAD_P): Define.
* * configure.in: Require assembler support for visibility, compilerUlrich Drepper2006-10-2835-288/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support for visibility and aliases, linker support for various -z options. * Makeconfig: Remove conditional code which now is unnecessary. * config.h.in: Likewise. * config.make.in: Likewise. * dlfcn/Makefile: Likewise. * elf/Makefile: Likewise. * elf/dl-load.c: Likewise. * elf/rtld.c: Likewise. * include/libc-symbols.h: Likewise. * include/stdio.h: Likewise. * io/Makefile: Likewise. * io/fstat.c: Likewise. * io/fstat64.c: Likewise. * io/fstatat.c: Likewise. * io/fstatat64.c: Likewise. * io/lstat.c: Likewise. * io/lstat64.c: Likewise. * io/mknod.c: Likewise. * io/mknodat.c: Likewise. * io/stat.c: Likewise. * io/stat64.c: Likewise. * libio/stdio.c: Likewise. * nscd/Makefile: Likewise. * stdlib/Makefile: Likewise. * stdlib/atexit.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/i386/sysdep.h: Likewise. * sysdeps/i386/i686/memcmp.S: Likewise. * sysdeps/powerpc/powerpc32/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
* * sysdeps/pthread/pthread_barrier_wait.c: Move to...Ulrich Drepper2006-10-2817-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * pthread_barrier_wait.c: ...here. * sysdeps/pthread/pthread_cond_broadcast.c: Move to... * pthread_cond_broadcast.c: ...here. * sysdeps/pthread/pthread_cond_signal.c: Move to... * pthread_cond_signal.c: ...here. * sysdeps/pthread/pthread_cond_timedwait.c: Move to... * pthread_cond_timedwait.c: ...here. * sysdeps/pthread/pthread_cond_wait.c: Move to... * pthread_cond_wait.c: ...here. * sysdeps/pthread/pthread_once.c: Move to... * pthread_once.c: ...here. * sysdeps/pthread/pthread_rwlock_rdlock.c: Move to... * pthread_rwlock_rdlock.c: ...here. * sysdeps/pthread/pthread_rwlock_timedrdlock.c: Move to... * pthread_rwlock_timedrdlock.c: ...here. * sysdeps/pthread/pthread_rwlock_timedwrlock.c: Move to... * pthread_rwlock_timedwrlock.c: ...here. * sysdeps/pthread/pthread_rwlock_unlock.c: Move to... * pthread_rwlock_unlock.c: ...here. * sysdeps/pthread/pthread_rwlock_wrlock.c: Move to... * pthread_rwlock_wrlock.c: ...here. * sysdeps/pthread/pthread_spin_destroy.c: Move to... * pthread_spin_destroy.c: ...here. * sysdeps/pthread/pthread_spin_init.c: Move to... * pthread_spin_init.c: ...here. * sysdeps/pthread/pthread_spin_unlock.c: Move to... * pthread_spin_unlock.c: ...here. * sysdeps/pthread/pthread_getcpuclockid.c: Move to... * pthread_getcpuclockid.c: ...here.
* * sysdeps/x86_64/tls.h: Likewise.Ulrich Drepper2006-10-282-29/+3
| | | | 2006-10-27 Jakub Jelinek <jakub@redhat.com>
* * Makerules: USE_TLS support is now default.Ulrich Drepper2006-10-274-8/+8
| | | | * tls.make.c: Likewise.
* USE_TLS support is now default.Ulrich Drepper2006-10-2784-492/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tls.make.c: USE_TLS support is now default. * csu/Versions: Likewise. * csu/libc-start.c: Likewise. * csu/libc-tls.c: Likewise. * csu/version.c: Likewise. * dlfcn/dlinfo.c: Likewise. * elf/dl-addr.c: Likewise. * elf/dl-cache.c: Likewise. * elf/dl-close.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/dl-object.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-reloc.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-sym.c: Likewise. * elf/dl-sysdep.c: Likewise. * elf/dl-tls.c: Likewise. * elf/ldconfig.c: Likewise. * elf/rtld.c: Likewise. * elf/tst-tls-dlinfo.c: Likewise. * elf/tst-tls1.c: Likewise. * elf/tst-tls10.h: Likewise. * elf/tst-tls14.c: Likewise. * elf/tst-tls2.c: Likewise. * elf/tst-tls3.c: Likewise. * elf/tst-tls4.c: Likewise. * elf/tst-tls5.c: Likewise. * elf/tst-tls6.c: Likewise. * elf/tst-tls7.c: Likewise. * elf/tst-tls8.c: Likewise. * elf/tst-tls9.c: Likewise. * elf/tst-tlsmod1.c: Likewise. * elf/tst-tlsmod13.c: Likewise. * elf/tst-tlsmod13a.c: Likewise. * elf/tst-tlsmod14a.c: Likewise. * elf/tst-tlsmod2.c: Likewise. * elf/tst-tlsmod3.c: Likewise. * elf/tst-tlsmod4.c: Likewise. * elf/tst-tlsmod5.c: Likewise. * elf/tst-tlsmod6.c: Likewise. * include/errno.h: Likewise. * include/link.h: Likewise. * include/tls.h: Likewise. * locale/global-locale.c: Likewise. * locale/localeinfo.h: Likewise. * malloc/arena.c: Likewise. * malloc/hooks.c: Likewise. * malloc/malloc.c: Likewise. * resolv/Versions: Likewise. * sysdeps/alpha/dl-machine.h: Likewise. * sysdeps/alpha/libc-tls.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise. * sysdeps/generic/tls.h: Likewise. * sysdeps/i386/dl-machine.h: Likewise. * sysdeps/ia64/dl-machine.h: Likewise. * sysdeps/ia64/libc-tls.c: Likewise. * sysdeps/mach/hurd/fork.c: Likewise. * sysdeps/mach/hurd/i386/tls.h: Likewise. * sysdeps/powerpc/powerpc32/dl-machine.c: Likwise. * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise. * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise. * sysdeps/s390/libc-tls.c: Likewise. * sysdeps/s390/s390-32/dl-machine.h: Likewise. * sysdeps/s390/s390-64/dl-machine.h: Likewise. * sysdeps/sh/dl-machine.h: Likewise. * sysdeps/sparc/sparc32/dl-machine.h: Likewise. * sysdeps/sparc/sparc64/dl-machine.h: Likewise. * sysdeps/x86_64/dl-machine.h: Likewise.
* * elf/Makefile: Add rules to build and run tst-thrlock.Ulrich Drepper2006-10-274-7/+62
| | | | * elf/tst-thrlock.c: New file.
* * elf/dl-close.c (_dl_close_worker): Renamed from _dl_close andUlrich Drepper2006-10-273-14/+34
| | | | | | | | | | split out locking and parameter checking. (_dl_close): Call _dl_close_worker after locking and checking. * elf/dl-open.c (_dl_open): Call _dl_close_worker instead of _dl_close. we are sure we do not need it anymore for _dl_close. Also move * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope
* [BZ #3426] cvs/fedora-glibc-20061027T1902Ulrich Drepper2006-10-272-2/+5
| | | | | * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to reality.
* [BZ #3429]Ulrich Drepper2006-10-272-10/+19
| | | | | | | | | 2006-10-27 Ulrich Drepper <drepper@redhat.com> [BZ #3429] * elf/dl-open.c (dl_open_worker): Keep holding dl_load_lock until we are sure we do not need it anymore for _dl_close. ALso move the asserts inside the lock region. Patch mostly by Suzuki <suzuki@in.ibm.com>.
* * elf/dl-lookup.c (_dl_debug_bindings): Remove unised symbol_scopeUlrich Drepper2006-10-2725-201/+229
| | | | | | | | | | | | | | | | | | | | | | | | | argument. (_dl_lookup_symbol_x): Adjust caller. * sysdeps/generic/ldsodefs.h (struct link_namespaces): Remove _ns_global_scope. * elf/rtld.c (dl_main): Don't initialize _ns_global_scope. * elf/dl-libc.c: Revert l_scope name changes. * elf/dl-load.c: Likewise. * elf/dl-object.c: Likewise. * elf/rtld.c: Likewise. * elf/dl-close.c (_dl_close): Likewise. * elf/dl-open.c (dl_open_worker): Likewise. If not SINGLE_THREAD_P, always use __rtld_mrlock_{change,done}. Always free old scope list here if not l_scope_mem. * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Revert l_scope name change. Never free scope list here. Just __rtld_mrlock_lock before the lookup and __rtld_mrlock_unlock it after the lookup. * elf/dl-sym.c: Likewise. * include/link.h (struct r_scoperec): Remove. (struct link_map): Replace l_scoperec with l_scope, l_scoperec_mem with l_scope_mem and l_scoperec_lock with l_scope_lock.
* * pthread_attr_setstacksize.c (NEW_VERNUM): Define to GLIBC_2_3_3Ulrich Drepper2006-10-262-1/+6
| | | | by default rather than 2_3_3.
* * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION.Ulrich Drepper2006-10-253-5/+5
|
* * configure.in: Disable building profile libraries by default. cvs/fedora-glibc-20061025T1857Ulrich Drepper2006-10-183-4/+8
|
* [BZ #3313]Ulrich Drepper2006-10-1816-193/+491
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2006-10-17 Jakub Jelinek <jakub@redhat.com> * sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses as signed longs, check for x_base + pos overflow. * sunrpc/Makefile (tests): Add tst-xdrmem2. * sunrpc/tst-xdrmem2.c: New test. 2006-10-18 Ulrich Drepper <drepper@redhat.com> * elf/dl-lookup.c (_dl_lookup_symbol_x): Add warning to _dl_lookup_symbol_x code. 2006-10-17 Jakub Jelinek <jakub@redhat.com> * elf/dl-runtime.c: Include sysdep-cancel.h. (_dl_fixup, _dl_profile_fixup): Use __rtld_mrlock_* and scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. * elf/dl-sym.c: Include sysdep-cancel.h. (do_sym): Use __rtld_mrlock_* and scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. * elf/dl-close.c: Include sysdep-cancel.h. (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. * elf/dl-open.c: Include sysdep-cancel.h. (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only if !SINGLE_THREAD_P. Use atomic_* instead of catomic_* macros. 2006-10-17 Jakub Jelinek <jakub@redhat.com> [BZ #3313] * malloc/malloc.c (malloc_consolidate): Set maxfb to address of last fastbin rather than end of fastbin array. 2006-10-18 Ulrich Drepper <drepper@redhat.com> * sysdeps/i386/i486/bits/atomic.h (catomic_decrement): Use correct body macro. * sysdeps/x86_64/bits/atomic.h (__arch_c_compare_and_exchange_val_64_acq): Add missing casts. (catomic_decrement): Use correct body macro. 2006-10-17 Jakub Jelinek <jakub@redhat.com> * include/atomic.h: Add a unique prefix to all local variables in macros. * csu/tst-atomic.c (do_test): Test also catomic_* macros. * include/link.h: Include <rtld-lowlevel.h>. Define struct
* [BZ #3369]Ulrich Drepper2006-10-162-5/+11
| | | | | | | 2006-10-16 Ulrich Drepper <drepper@redhat.com> [BZ #3369] * sysdeps/posix/getaddrinfo.c (rfc3484_sort): Fix typos in rules 4 and 7.
* * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated.Ulrich Drepper2006-10-142-1/+5
|
* [BZ #3313]Ulrich Drepper2006-10-132-2/+14
| | | | | | | | * malloc/malloc.c (malloc_consolidate): Don't use get_fast_max to determine highest fast bin to consolidate, always look into all of them. (do_check_malloc_state): Only require for empty bins for large sizes in main arena.
* * malloc/malloc.c (do_check_malloc_state): Only require for emptyUlrich Drepper2006-10-132-1/+15
| | | | bins for large sizes in main arena.
* * libio/stdio.h: Add more __wur attributes.Ulrich Drepper2006-10-132-19/+24
|
* * elf/dl-minimal.c (realloc): Optimize last patch.Ulrich Drepper2006-10-132-5/+8
|
* [BZ #3352]Ulrich Drepper2006-10-1213-29/+35
| | | | | | | | 2006-10-12 Richard Sandiford <richard@codesourcery.com> [BZ #3352] * elf/dl-minimal.c (realloc): Let malloc() return a new pointer, and use memcpy() if it does.
* Add SEM_VALUE_MAX.Ulrich Drepper2006-10-125-0/+15
|
* [BZ #2510, BZ #2830]Andreas Jaeger2006-10-122-7/+21
| | | | | | | | | | | | | | | | | | | Update. 2006-11-12 Andreas Jaeger <aj@suse.de> [BZ #2510] * manual/search.texi (Hash Search Function): Clarify. (Array Search Function): Clarify. 2006-11-12 Joseph Myers <joseph@codesourcery.com> [BZ #2830] * math/atest-exp.c (main): Cast hex value to mp_limb_t before shifting. * math/atest-exp2.c (read_mpn_hex): Likewise. * math/atest-sincos.c (main): Likewise. Ulrich Drepper <drepper@redhat.com>
* 2006-11-12 Joseph Myers <joseph@codesourcery.com>Andreas Jaeger2006-10-123-10/+15
| | | | | | | * math/atest-exp.c (main): Cast hex value to mp_limb_t before shifting. * math/atest-exp2.c (read_mpn_hex): Likewise. * math/atest-sincos.c (main): Likewise.
* * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait.Ulrich Drepper2006-10-119-4/+53
| | | | | | | | | * sysdeps/unix/sysv/linux/sys/epoll.h: Declare epoll_pwait. * sysdeps/unix/sysv/linux/Versions (libc): Add epoll_pwait for version GLIBC_2.6. * Versions.def: Add GLIBC_2.6 for libc. * sysdeps/unix/sysv/linux/i386/sysdep.h (DOARGS_6): Fix offset.
* * sysdeps/i386/i486/bits/atomic.h: Add catomic_* support.Ulrich Drepper2006-10-112-39/+171
|
* * malloc/malloc.c (_int_malloc): Remove unused any_larger variable.Ulrich Drepper2006-10-115-5/+12
| | | | | | | * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice. * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv. * sysdeps/generic/unsecvars.h: Add NIS_PATH.
* * include/atomic.c: Define catomic_* operations.Ulrich Drepper2006-10-1115-148/+415
| | | | | | | | | | | | | | * sysdeps/x86_64/bits/atomic.h: Likewise. Fix a few minor problems. * stdlib/cxa_finalize.c: Use catomic_* operations instead of atomic_*. * malloc/memusage.c: Likewise. * gmon/mcount.c: Likewise. * elf/dl-close.c: Likewise. * elf/dl-open.c: Likewise. * elf/dl-profile.c: Likewise. * elf/dl-sym.c: Likewise. * elf/dl-runtime.c: Likewise. * elf/dl-fptr.c: Likewise. * resolv/res_libc.c: Likewise.
* * nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATHUlrich Drepper2006-10-112-3/+15
| | | | | | | | components which lack them. * nis/nis_subr.c (nis_getnames): Make sure that we always return at least one entry consisting of the parameter concatenated with the domain.
* (nis_getnames): Make sure that we always return at least one entry ↵Ulrich Drepper2006-10-111-0/+7
| | | | consisting of the parameter concatenated with the domain.