aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2006-10-27USE_TLS support is now default.Ulrich Drepper84-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.
2006-10-27* elf/Makefile: Add rules to build and run tst-thrlock.Ulrich Drepper4-7/+62
* elf/tst-thrlock.c: New file.
2006-10-27* elf/dl-close.c (_dl_close_worker): Renamed from _dl_close andUlrich Drepper3-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
2006-10-27[BZ #3426]cvs/fedora-glibc-20061027T1902Ulrich Drepper2-2/+5
* stdlib/stdlib.h: Adjust comment for canonicalize_file_name to reality.
2006-10-27[BZ #3429]Ulrich Drepper2-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>.
2006-10-27* elf/dl-lookup.c (_dl_debug_bindings): Remove unised symbol_scopeUlrich Drepper25-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.
2006-10-26* pthread_attr_setstacksize.c (NEW_VERNUM): Define to GLIBC_2_3_3Ulrich Drepper2-1/+6
by default rather than 2_3_3.
2006-10-25* sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION.Ulrich Drepper3-5/+5
2006-10-18* configure.in: Disable building profile libraries by default.cvs/fedora-glibc-20061025T1857Ulrich Drepper3-4/+8
2006-10-18[BZ #3313]Ulrich Drepper16-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
2006-10-16[BZ #3369]Ulrich Drepper2-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.
2006-10-14* resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated.Ulrich Drepper2-1/+5
2006-10-13[BZ #3313]Ulrich Drepper2-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.
2006-10-13* malloc/malloc.c (do_check_malloc_state): Only require for emptyUlrich Drepper2-1/+15
bins for large sizes in main arena.
2006-10-13* libio/stdio.h: Add more __wur attributes.Ulrich Drepper2-19/+24
2006-10-13* elf/dl-minimal.c (realloc): Optimize last patch.Ulrich Drepper2-5/+8
2006-10-12[BZ #3352]Ulrich Drepper13-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.
2006-10-12Add SEM_VALUE_MAX.Ulrich Drepper5-0/+15
2006-10-12[BZ #2510, BZ #2830]Andreas Jaeger2-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-10-122006-11-12 Joseph Myers <joseph@codesourcery.com>Andreas Jaeger3-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.
2006-10-11* sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait.Ulrich Drepper9-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.
2006-10-11* sysdeps/i386/i486/bits/atomic.h: Add catomic_* support.Ulrich Drepper2-39/+171
2006-10-11* malloc/malloc.c (_int_malloc): Remove unused any_larger variable.Ulrich Drepper5-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.
2006-10-11* include/atomic.c: Define catomic_* operations.Ulrich Drepper15-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.
2006-10-11* nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATHUlrich Drepper2-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.
2006-10-11(nis_getnames): Make sure that we always return at least one entry ↵Ulrich Drepper1-0/+7
consisting of the parameter concatenated with the domain.
2006-10-10* sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast.Roland McGrath1-0/+6
* sysdeps/mach/hurd/futimes.c: Likewise. * sysdeps/mach/hurd/lutimes.c: Likewise.
2006-10-102006-10-10 Roland McGrath <roland@frob.com>Roland McGrath3-20/+34
* sysdeps/mach/hurd/utimes.c: Use a union to avoid an improper cast. * sysdeps/mach/hurd/futimes.c: Likewise. * sysdeps/mach/hurd/lutimes.c: Likewise.
2006-10-10 Jakub Jelinek <jakub@redhat.com>Ulrich Drepper18-4153/+5222
Implement reference counting of scope records. * elf/dl-close.c (_dl_close): Remove all scopes from removed objects from the list in objects which remain. Always allocate new scope record. * elf/dl-open.c (dl_open_worker): When growing array for scopes, don't resize, allocate a new one. * elf/dl-runtime.c: Update reference counters before using a scope array. * elf/dl-sym.c: Likewise. * elf/dl-libc.c: Adjust for l_scope name change. * elf/dl-load.c: Likewise. * elf/dl-object.c: Likewise. * elf/rtld.c: Likewise. * include/link.h: Inlcude <rtld-lowlevel.h>. Define struct r_scoperec. Replace r_scope with pointer to r_scoperec structure. Add l_scoperec_lock. * sysdeps/generic/ldsodefs.h: Include <rtld-lowlevel.h>. * sysdeps/generic/rtld-lowlevel.h: New file. * include/atomic.h: Rename atomic_and to atomic_and_val and atomic_or to atomic_or_val. Define new macros atomic_and and atomic_or which do not return values. * sysdeps/x86_64/bits/atomic.h: Define atomic_and and atomic_or. Various cleanups. * sysdeps/i386/i486/bits/atomic.h: Likewise.
2006-10-09* po/sv.po: Update from translation team.Ulrich Drepper1-0/+4
2006-10-07* Versions.def: Add GLIBC_2.6 to libpthread.Ulrich Drepper9-8/+142
2006-10-07* include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use.Ulrich Drepper2-5/+15
(versioned_symbol): Likewise. (compat_symbol): Likewise.
2006-10-07* po/tr.po: Update from translation team.Ulrich Drepper2-3556/+4362
2006-10-06* libio/Banner: Likewise.Ulrich Drepper3-2/+1
2006-10-06* nis/Banner: Removed. It's been integral part forever and theUlrich Drepper1-0/+3
author info is incomplete anyway.
2006-10-06* nis/nis_table.c (nis_list): If __follow_path fails in the newUlrich Drepper3-3604/+4135
code, make sure the nis_freeresult call doesn't crash and that the result is reported correctly.
2006-10-06* nis/nis_table.c (nis_list): Handle FOLLOW_PATH | ALL_RESULTSUlrich Drepper6-29/+249
when callback is NULL. * nis/Versions (libnss_nisplus): Add _nss_nisplus_initgroups_dyn@@GLIBC_PRIVATE. * nis/Makefile (libnss_nisplus-routines): Add nisplus-initgroups. * nis/nss_nisplus/nisplus-grp.c (tablename_val, tablename_len, _nss_create_tablename): Rename to... (grp_tablename_val, grp_tablename_len, _nss_grp_create_tablename): ... these. No longer static. (internal_setgrent): Adjust users. (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise. Don't use locking around _nss_grp_create_tablename call. * nis/nss_nisplus/nisplus-initgroups.c: New file.
2006-10-06* version.h (VERSION): Bump to 2.5.90 for new development tree.cvs/fedora-glibc-2_5-20061008T1257cvs/fedora-glibc-2_5-20061008T1253Ulrich Drepper3-2/+10
2006-10-06* include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now.cvs/glibc-2_5-baseUlrich Drepper5-7/+19
2006-10-06 Ulrich Drepper <drepper@redhat.com> * po/pl.po: Update from translation team. * nscd/nscd.c (main): Fix typo in message. Patch by Jakub Bogsz <qboosh@pld-linux.org>.
2006-10-05* locales/pa_IN (abday): Fix spelling of Sunday.Ulrich Drepper2-1/+6
Patch by Mayank Jain <majain@redhat.com>.
2006-10-02[BZ #3291]cvs/fedora-glibc-20061002T1858Ulrich Drepper2-0/+15
2006-10-02 Jakub Jelinek <jakub@redhat.com> [BZ #3291] * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Include errno.h, signal.h, unistd.h and sysdep-cancel.h. (__sigprocmask): Define.
2006-10-02* elf/rtld.c (dl_main): Don't use prelinking if LD_DYNAMIC_WEAK isUlrich Drepper4-15/+7
used.
2006-10-02* sysdeps/posix/getaddrinfo.c (match_prefix): Make mask and valUlrich Drepper2-2/+5
variables const to avoid compiler warnings.
2006-10-02* nscd/mem.c (mempool_alloc): Round array size to 16 bytesUlrich Drepper4-9/+27
in oldtotal and newtotal calculation. * nscd/nscd-client.h (struct mapped_database): Add datasize field. * nscd/nscd_helper.c (get_mapping): Initialize datasize field. (__nscd_get_map_ref): Get a new mapping even if mapping's data_size increased. (__nscd_cache_search): Add checks to make sure we never reference data beyond the current mapping.
2006-10-02* io/fts.c (fts_close): Remove redundant checks.Ulrich Drepper3-10/+14
(fts_build): Likewise. (fts_palloc): Likewise. * manual/message.texi (Advanced gettext functions, Using gettextized software): Fix typos.
2006-10-01* locales/en_GB: Use more complete en_US data in LC_NAME.Ulrich Drepper2-2/+5
2006-09-30* posix/glob.c (glob_in_dir): Add some comments and asserts toUlrich Drepper6-2/+27
explain why there are no leaks.
2006-09-30* libio/wmemstream.c: Include <wchar.h>.Ulrich Drepper1-0/+5
* libio/bug-wmemstream1.c: Likewise. * libio/tst-wmemstream1.c: Likewise. * libio/tst-wmemstream2.c: Likewise.
2006-09-29* version.h (RELEASE): Bump to 2.5.glibc-2.5cvs/glibc-2_5cvs/fedora-glibc-20060929T2037Ulrich Drepper8-448/+634
* README: Regenerated.
2006-09-29* locale/iso-3166.def: Add Aaland Islands and Montenegro.Ulrich Drepper2-0/+4