aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-08-15Updated to fedora-glibc-20070815T2049cvs/fedora-glibc-2_6_90-10Jakub Jelinek41-230/+7634
2007-08-14Updated to fedora-glibc-20070814T0725cvs/fedora-glibc-2_6_90-9Jakub Jelinek112-705/+2332
2007-08-102.6.90-7cvs/fedora-glibc-2_6_90-7Roland McGrath1-1/+5
2007-08-10Updated to fedora-glibc-20070810T2152Roland McGrath9-922/+947
2007-08-10Update import stuff for new Fedora systemsRoland McGrath1-13/+12
2007-08-09Updated to fedora-glibc-20070809T0939cvs/fedora-glibc-2_6_90-5Roland McGrath20-3877/+4697
2007-08-09spec file revamp for new find-debuginfo.shRoland McGrath1-111/+72
2007-08-042.6.90-3cvs/fedora-glibc-2_6_90-3Jakub Jelinek1-2/+13
2007-08-04Updated to fedora-glibc-20070804T2027Jakub Jelinek51-3982/+3862
2007-08-01Updated to fedora-glibc-20070801T1703cvs/fedora-glibc-2_6_90-2Jakub Jelinek120-2567/+2671
2007-08-01 * sysdeps/unix/sysv/linux/kaio_misc.h (AIO_MISC_NOTIFY,Jakub Jelinek2-2/+8
AIO_MISC_WAIT): Add LLL_PRIVATE as last argument to lll_futex_*wait.
2007-07-31Updated to fedora-glibc-20070731T1624cvs/fedora-glibc-2_6_90-1Jakub Jelinek548-7077/+19404
2007-07-08 * math/test-misc.c (main): Don't run last batch of tests withJakub Jelinek2-1/+11
IBM long double format.
2007-07-082.6-4cvs/fedora-glibc-2_6-4Jakub Jelinek1-0/+17
2007-07-08 [BZ #4745]Jakub Jelinek7-4/+141
* stdio-common/vfscanf.c (_IO_vfscanf): Add additional test for EOF in loop to look for conversion specifier to avoid testing of wrong errno value. * stdio-common/Makefile (tests): Add bug18, bug18a, bug19, bug19a. * stdio-common/bug18.c: New file. * stdio-common/bug18a.c: New file. * stdio-common/bug19.c: New file. * stdio-common/bug19a.c: New file.
2007-07-07Update Copyright lines.Jakub Jelinek22-22/+22
2007-07-07 [BZ #4586]Jakub Jelinek4-2/+19
* sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Treat pseudo-zeros as zero. * sysdeps/x86_64/ldbl2mpn.c: New file. * sysdeps/ia64/ldbl2mpn.c: New file.
2007-07-07 * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.Jakub Jelinek3-7/+43
* elf/dl-minimal.c (__libc_memalign): Likewise. Handle malloc (0). Return NULL if mmap failed instead of asserting it does not. (calloc): Check for integer overflow. * elf/dl-minimal.c (__strtoul_internal): Fix parsing of numbers bigger than LONG_MAX / 10.
2007-07-07 [BZ #4702]Jakub Jelinek2-0/+9
* nis/nss-default.c: Include errno.h. (init): Preserve errno.
2007-07-07 * pthread_getattr_np.c (pthread_getattr_np): Clear cpuset andJakub Jelinek2-2/+11
cpusetsize if pthread_getaffinity_np failed with ENOSYS.
2007-07-07 * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elementsJakub Jelinek9-38/+90
to fill in holes (rtld_global_ro): Likewise. * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. Move PT_LOAD checking to... (_dl_addr_inside_object): ... here, new function. * elf/dl-sym.c (do_sym): If not l_contiguous, call _dl_addr_inside_object. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. * dlfcn/dlinfo.c (dlinfo_doit): Likewise. * elf/dl-open.c (dl_open_worker): Likewise. (_dl_addr_inside_object): New function if IS_IN_rtld. * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no holes are present or are PROT_NONE protected. * include/link.h (struct link_map): Add l_contiguous field. * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype.
2007-07-07 * elf/rtld.c (dl_main): Don't call init_tls more than once.Jakub Jelinek2-5/+9
2007-07-07 * elf/dl-close.c (free_mem): Free _dl_scope_free_list.Jakub Jelinek10-83/+126
* include/link.h: Don't include rtld-lowlevel.h. (struct link_map): Remove l_scope_lock. * sysdeps/generic/ldsodefs.h: Don't include rtld-lowlevel.h. (_dl_scope_free_list): New field (variable) in _rtld_global. (DL_LOOKUP_SCOPE_LOCK): Remove. (_dl_scope_free): New prototype. * elf/dl-runtime.c (_dl_fixup): Don't use __rtld_mrlock_*lock. Don't pass DL_LOOKUP_SCOPE_LOCK to _dl_lookup_symbol_x. (_dl_profile_fixup): Likewise. * elf/dl-sym.c (do_sym): Likewise. Use wrapped _dl_lookup_symbol_x whenever !RTLD_SINGLE_THREAD_P, use THREAD_GSCOPE_SET_FLAG and THREAD_GSCOPE_RESET_FLAG around it. * elf/dl-close.c (_dl_close_worker): Don't use __rtld_mrlock_{change,done}. Call _dl_scope_free on the old scope. Make sure THREAD_GSCOPE_WAIT () happens if any old scopes were queued or if l_scope_mem has been abandoned. * elf/dl-open.c (_dl_scope_free): New function. (dl_open_worker): Use it. Don't use __rtld_mrlock_{change,done}. * elf/dl-support.c (_dl_scope_free_list): New variable. * elf/dl-lookup.c (add_dependency): Remove flags argument. Remove DL_LOOKUP_SCOPE_LOCK handling. (_dl_lookup_symbol_x): Adjust caller. Remove DL_LOOKUP_SCOPE_LOCK handling. * elf/dl-object.c (_dl_new_object): Don't use __rtld_mrlock_initialize.
2007-07-072007-06-09 Ulrich Drepper <drepper@redhat.com>Jakub Jelinek22-76/+445
* elf/do-lookup.h (do_lookup_x): Read r_nlist before r_list and make sure gcc doesn't mess around with this. 2007-06-08 Ulrich Drepper <drepper@redhat.com> * elf/dl-lookup.c (_dl_lookup_symbol_x): Remove use of r_nlist. 2007-06-08 Jakub Jelinek <jakub@redhat.com> * elf/dl-close.c (_dl_close_worker): Remove all to be removed libraries from the global scope at once and call THREAD_GSCOPE_WAIT 2007-05-18 Ulrich Drepper <drepper@redhat.com> * elf/dl-close.c (_dl_close_worker): When removing object from global scope, wait for all lookups to finish afterwards. * elf/dl-open.c (add_to_global): When global scope array must grow, allocate a new one and free old array only after all lookups finish. * elf/dl-runtime.c (_dl_fixup): Protect using global scope. (_dl_lookup_symbol_x): Likewise. * elf/dl-support.c: Define _dl_wait_lookup_done. * sysdeps/generic/ldsodefs.h (struct rtld_global): Add _dl_wait_lookup_done. nptl/ 2007-05-28 Jakub Jelinek <jakub@redhat.com> * sysdeps/i386/tls.h (THREAD_GSCOPE_RESET_FLAG): Use explicit insn suffix. (THREAD_GSCOPE_GET_FLAG): Remove. * sysdeps/x86_64/tls.h (THREAD_GSCOPE_GET_FLAG): Remove. * allocatestack.c (__wait_lookup_done): Revert 2007-05-24 changes. * sysdeps/powerpc/tls.h (tcbhead_t): Remove gscope_flag. (THREAD_GSCOPE_GET_FLAG): Remove. (THREAD_GSCOPE_RESET_FLAG): Use THREAD_SELF->header.gscope_flag instead of THREAD_GSCOPE_GET_FLAG. (THREAD_GSCOPE_SET_FLAG): Likewise. Add atomic_write_barrier after it. * sysdeps/s390/tls.h (THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT, THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT): Define. * sysdeps/sparc/tls.h (THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT, THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT): Define. * sysdeps/sh/tls.h (THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT, THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT): Define. * sysdeps/ia64/tls.h (THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT, THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT): Define. 2007-05-24 Richard Henderson <rth@redhat.com> * descr.h (struct pthread): Add header.gscope_flag. * sysdeps/alpha/tls.h (THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT, THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_WAIT): Define. 2007-05-26 Ulrich Drepper <drepper@redhat.com> * allocatestack.c: Revert last change. * init.c: Likewise. * sysdeps/i386/tls.h: Likewise. * sysdeps/x86_64/tls.h: Likewise. 2007-05-24 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/tls.h (tcbhead_t): Add gscope_flag. (THREAD_GSCOPE_FLAG_UNUSED, THREAD_GSCOPE_FLAG_USED, THREAD_GSCOPE_FLAG_WAIT): Define. (THREAD_GSCOPE_GET_FLAG, THREAD_GSCOPE_SET_FLAG, THREAD_GSCOPE_RESET_FLAG, THREAD_GSCOPE_WAIT): Define. * sysdeps/i386/tls.h (THREAD_GSCOPE_WAIT): Don't use PTR_DEMANGLE. (THREAD_GSCOPE_GET_FLAG): Define. * sysdeps/x86_64/tls.h (THREAD_GSCOPE_GET_FLAG): Define. * allocatestack.c (__wait_lookup_done): Use THREAD_GSCOPE_GET_FLAG instead of ->header.gscope_flag directly. 2007-05-21 Ulrich Drepper <drepper@redhat.com> * sysdeps/pthread/pthread-functions.h (struct pthread_functions): Remove ptr_wait_lookup_done again. * init.c (pthread_functions): Don't add .ptr_wait_lookup_done here. (__pthread_initialize_minimal_internal): Initialize _dl_wait_lookup_done pointer in _rtld_global directly. * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): Remove code to code _dl_wait_lookup_done. * sysdeps/x86_64/tls.h (THREAD_GSCOPE_WAIT): The pointer is not encrypted for now. 2007-05-19 Ulrich Drepper <drepper@redhat.com> * allocatestack.c (__wait_lookup_done): New function. * sysdeps/pthread/pthread-functions.h (struct pthread_functions): Add ptr_wait_lookup_done. * init.c (pthread_functions): Initialize .ptr_wait_lookup_done. * pthreadP.h: Declare __wait_lookup_done. * sysdeps/i386/tls.h (tcbhead_t): Add gscope_flag. Define macros to implement reference handling of global scope. * sysdeps/x86_64/tls.h: Likewise. * sysdeps/unix/sysv/linux/libc_pthread_init.c (__libc_pthread_init): Initialize GL(dl_wait_lookup_done).
2007-07-07 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.cJakub Jelinek5-28/+183
(__mpn_construct_long_double): Fix conversion where result ought to be smaller than __LDBL_MIN__, or the low double should be denormal. Fix decision where to negate low double - honor round to even rules. * stdio-common/tst-sprintf2.c: Include string.h. (COMPARE_LDBL): Define. (TEST): Also test whether a string hexadecimal float representation can be parsed back to the number. (main): Add a couple of further tests. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c (PRINT_FPHEX_LONG_DOUBLE): Fix printing numbers where lower double is non-zero, but smaller than 2 * __DBL_MIN__. * stdio-common/tst-sprintf2.c: New test. * stdio-common/Makefile (tests): Add tst-sprintf2.
2007-07-07 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): RemoveJakub Jelinek3-54/+93
unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf. Remove unreachable code at the end. * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Correct description of ldbl-128ibm in comment. (fpclassifyl): Correct classification of denormals. * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Correct return value for MIN denormal. Rewrite using long double math too correctly handle denormals and canonicalize the results.
2007-07-07 * nscd/nscd_helper.c (get_mapping): Handle short replies insteadJakub Jelinek2-4/+13
of crashing. When this is the case or if the reply is malformed, don't try to close the new file descriptor since it does not exist. Patch in part by Guillaume Chazarain <guichaz@yahoo.fr>.
2007-07-07 * Makefile (tests): Add tst-sem10.Jakub Jelinek5-9/+111
* tst-sem10.c: New file. * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S (sem_timedwait): Move __pthread_enable_asynccancel right before futex syscall. * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S (sem_timedwait): Likewise.
2007-07-07Filter out <built-in> from debuginfo sources.Jakub Jelinek1-3/+5
2007-07-07 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Pass correct valueJakub Jelinek6-364/+996
as second parameter to handle_intel. * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Move cache information handling to ... * sysdeps/x86_64/cacheinfo.c: ... here. New file. * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add cacheinfo. * sysdeps/x86_64/memcpy.S: Complete rewrite. * sysdeps/x86_64/mempcpy.S: Adjust appropriately. Patch by Evandro Menezes <evandro.menezes@amd.com>.
2007-07-07 * tst-robust9.c (do_test): Don't fail if ENABLE_PI andJakub Jelinek2-0/+12
pthread_mutex_init failed with ENOTSUP.
2007-05-242.6-3cvs/fedora-glibc-2_6-3Jakub Jelinek6-6/+52
2007-05-21Backported selected fixes from 2007-05-{17,18,21}.cvs/fedora-glibc-2_6-2Jakub Jelinek27-70/+422
2007-05-15Build 2.6-1cvs/fedora-glibc-2_6-1Roland McGrath1-1/+4
2007-05-15Updated to fedora-glibc-20070515T2025Roland McGrath23-113/+306
2007-05-10Updated to fedora-glibc-20070510T2308cvs/fedora-glibc-2_5_90-24Jakub Jelinek24-19/+392
2007-05-10 * nscd/connections.c (sighup_pending): New variable.Jakub Jelinek2-12/+41
(nscd_run): If sighup_pending, prune all 3 caches. (sighup_handler): Don't prune caches here, rather just set sighup_pending flag.
2007-05-10Updated to fedora-glibc-20070510T0634cvs/fedora-glibc-2_5_90-23Jakub Jelinek46-215/+817
2007-05-04Updated to fedora-glibc-20070504T0917cvs/fedora-glibc-2_5_90-22Jakub Jelinek62-3191/+29286
2007-04-172.5.90-21 fixesJakub Jelinek1-4/+8
2007-04-16Updated to fedora-glibc-20070416T2350cvs/fedora-glibc-2_5_90-21Jakub Jelinek59-435/+1541
2007-04-16New approach to including locale data in the rpm.Jakub Jelinek4-33/+519
2007-03-31Updated to fedora-glibc-20070331T1609cvs/fedora-glibc-2_5_90-20Jakub Jelinek48-406/+972
2007-03-17Updated to fedora-glibc-20070317T2130cvs/fedora-glibc-2_5_90-19Jakub Jelinek147-733/+2470
2007-02-21Updated to fedora-glibc-20070221T1011cvs/fedora-glibc-2_5_90-18Jakub Jelinek81-18159/+14602
2007-02-11Updated to fedora-glibc-20070211T1607cvs/fedora-glibc-2_5_90-17Jakub Jelinek23-70/+416
2007-02-02Updated to fedora-glibc-20070202T0923cvs/fedora-glibc-2_5_90-16Jakub Jelinek51-441/+1046
2007-01-17Updated to fedora-glibc-20070117T1043cvs/fedora-glibc-2_5_90-15Jakub Jelinek3-3/+19
2007-01-17Updated to fedora-glibc-20070117T0857Jakub Jelinek88-582/+2254
2006-12-19Updated to fedora-glibc-20061219T1804cvs/fedora-glibc-2_5_90-14Jakub Jelinek18-106/+328