summaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog1622
1 files changed, 641 insertions, 981 deletions
diff --git a/ChangeLog b/ChangeLog
index 3ad38a2b31..285667b599 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,881 +1,3 @@
-2007-07-31 Jakub Jelinek <jakub@redhat.com>
-
- * NEWS, version.h (VERSION): 2.5.1.
-
- * stdio-common/tfformat.c (sprint_doubles): Add 12 new tests.
-
-2007-07-28 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4858]
- * stdio-common/printf_fp.c (___printf_fp): Fix special case of
- #.0g and value rounded to 1.0.
- * stdio-common/tfformat.c (sprint_doubles): Add two new tests.
-
-2007-07-03 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4702]
- * nis/nss-default.c: Include errno.h.
- (init): Preserve errno.
-
-2007-07-01 Jakub Jelinek <jakub@redhat.com>
-
- * elf/dl-sysdep.c (_dl_important_hwcaps): Add integer overflow check.
- * 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-06-19 Ulrich Drepper <drepper@redhat.com>
-
- * sysdeps/generic/ldsodefs.h (rtld_global): Reorder some elements
- to fill in holes
- (rtld_global_ro): Likewise.
-
-2007-06-18 Jakub Jelinek <jakub@redhat.com>
-
- * 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-06-18 Jakub Jelinek <jakub@redhat.com>
-
- * elf/rtld.c (dl_main): Don't call init_tls more than once.
-
-2007-06-19 Ulrich Drepper <drepper@redhat.com>
-
- * elf/dl-close.c (free_mem): Free _dl_scope_free_list.
-
-2007-06-13 Jakub Jelinek <jakub@redhat.com>
-
- * 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-06-09 Ulrich Drepper <drepper@redhat.com>
-
- * 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
- at most once per _dl_close_worker.
-
-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.
-
-2007-05-11 Ulrich Drepper <drepper@redhat.com>
-
- * elf/dl-close.c (_dl_close_worker): Help gcc to optimize by
- adding new variables.
-
- * elf/dl-open.c (add_to_global): Introduce variable ns to help gcc
- optimize. Completely extend global scope array before making the
- new entries visible.
-
-2007-01-15 Ulrich Drepper <drepper@redhat.com>
-
- * sysdeps/generic/ldsodefs.h: Define DL_LOOKUP_SCOPE_LOCK.
- * elf/dl-lookup.c (add_dependency): If scope map is locked, unlock
- it before getting dl_load_lock and then relock.
- (_dl_lookup_symbol_x): Pass flags to add_dependency.
- When rerunning _dl_lookup_symbol_x, compute symbol_scope again in
- case we unlocked the scope.
- * elf/dl-runtime.c (_dl_fixup): Pass DL_LOOKUP_SCOPE_LOCK to
- _dl_lookup_symbol_x in case we locked the scope.
- (_dl_profile_fixup): Likewise.
- * elf/dl-sym.c (do_sym): In flags passed to call_dl_lookup, also
- set DL_LOOKUP_SCOPE_LOCK.
-
-2006-10-29 Jakub Jelinek <jakub@redhat.com>
-
- * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P.
- * 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.
-
-2006-10-27 Jakub Jelinek <jakub@redhat.com>
-
- * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope
- 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-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.
- * elf/dl-sym.c: Include sysdep-cancel.h.
- (do_sym): Use __rtld_mrlock_* and scoperec->nusers only
- if !SINGLE_THREAD_P.
- * elf/dl-close.c: Include sysdep-cancel.h.
- (_dl_close): Use __rtld_mrlock_* and scoperec->nusers only
- if !SINGLE_THREAD_P.
- * elf/dl-open.c: Include sysdep-cancel.h.
- (dl_open_worker): Use __rtld_mrlock_* and scoperec->nusers only
- if !SINGLE_THREAD_P.
-
-2006-10-09 Ulrich Drepper <drepper@redhat.com>
- Jakub Jelinek <jakub@redhat.com>
-
- 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: Include <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.
-
-2007-06-06 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4586]
- * 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-06-05 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
- (__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.
-
-2007-06-04 Jakub Jelinek <jakub@redhat.com>
-
- * 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-06-04 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (nextafterl): Remove
- unused ily variable. Fix nextafterl on +-__LDBL_MAX__ and +-Inf.
- Remove unreachable code at the end.
-
-2007-06-01 Steven Munroe <sjmunroe@us.ibm.com>
-
- * 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-05-29 Ulrich Drepper <drepper@redhat.com>
-
- * nscd/nscd_helper.c (get_mapping): Handle short replies instead
- 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-05-21 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4514]
- * stdio-common/vfprintf.c (vfprintf): Don't shadow workstart variable,
- reinitialize workend at the start of each do_positional format spec
- loop, free workstart before do_positional loops.
- (printf_unknown): Fix size of work_buffer.
- * stdio-common/tst-sprintf.c (main): Add 3 new testcases.
-
-2007-05-10 Ulrich Drepper <drepper@redhat.com>
-
- * include/sys/cdefs.h: Redefine __nonnull so that test for
- incorrect parameters in the libc code itself are not omitted.
-
-2007-05-07 Ulrich Drepper <drepper@redhat.com>
- Jakub Jelinek <jakub@redhat.com>
-
- * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad.
- (new_heap): Initialize mprotect_size.
- (grow_heap): When growing, only mprotect from mprotect_size till
- new_size if mprotect_size is smaller. When shrinking, use PROT_NONE
- MMAP for __libc_enable_secure only, otherwise use MADV_DONTNEED.
-
-2007-05-06 Ulrich Drepper <drepper@redhat.com>
-
- * stdio-common/vfprintf.c (process_string_arg): Optimize
- ridiculous precision in wide char code printing multi-byte string.
- Reported by Jim Meyering <jim@meyering.net>.
-
-2007-05-06 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4465]
- * posix/unistd.h: Remove __THROW from fdatasync.
-
-2007-05-06 Mike Frysinger <vapier@gentoo.org>
-
- [BZ #4465]
- * sysdeps/unix/sysv/linux/syscalls.list (fdatasync): Add "C" to args.
-
-2007-05-06 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4131]
- * elf/dl-addr.c (_dl_addr): Compare address with actual segment
- boundaries to work around systems with overlapping binary loading.
- Based on a patch by Suzuki <suzuki@in.ibm.com>.
-
-2007-05-04 Ulrich Drepper <drepper@redhat.com>
-
- * stdio-common/vfprintf.c (process_string_arg): Adjust call to
- __mbsnrtowcs after last change.
-
-2007-05-02 Jakub Jelinek <jakub@redhat.com>
-
- * stdio-common/vfprintf.c (process_string_arg): Use a VLA rather than
- fixed length array for ignore.
-
-2007-04-30 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4438]
- * stdio-common/vfprintf.c (process_string_arg): Don't overflow the
- stack for large precisions.
- * stdio-common/test-vfprintf.c (main): Add test for large
- precision.
-
-2007-04-30 Jakub Jelinek <jakub@redhat.com>
-
- * stdio-common/printf_fp.c (___printf_fp): Don't print negative sign
- for exponent 0.
- * stdio-common/tfformat.c (sprint_doubles): Add a new test.
-
-2007-04-30 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4439]
- * resolv/inet_ntop.c (inet_ntop4): Take terminating '\0' into
- account in the size check.
- * resolv/tst-inet_ntop.c: New test.
- * resolv/Makefile (tests): Add tst-inet_ntop.
-
-2007-04-28 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4102]
- * sysdeps/posix/getaddrinfo.c (default_labels): Assign separate
- label to Teredo tunnel addresses 2001://32.
-
-2007-04-27 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4342]
- * stdio-common/vfscanf.c (_IO_vfscanf_internal): Allow
- hexa-decimal floats without exponent.
- * stdio-common/tstscanf.c (main): Adjust Test 8 test for success.
-
-2007-04-27 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #3213]
- * locale/C-translit.h.in: Add entry for U2044.
-
-2007-04-25 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/unix/sysv/linux/check_pf.c (make_request): Return -1 instead
- of 0 after the out_fail label.
-
-2007-03-18 Jakub Jelinek <jakub@redhat.com>
-
- * nscd/gai.c: Include alloca.h.
- (__libc_use_alloca): Define.
-
-2007-03-15 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Never
- reallocate the buffer, instead fail for MSG_TRUNC or for EBUSY
- NLMSG_ERR. Instead use a page sized buffer.
- * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use page sized
- buffer.
-
-2007-03-02 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Retry with
- a new netlink socket if NLMSG_ERR -EBUSY is seen after some MSG_TRUNC
- message.
-
-2007-02-27 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Fix
- memory reallocation.
-
-2007-04-25 Jakub Jelinek <jakub@redhat.com>
-
- * libio/bits/stdio.h (fgetc_unlocked): Add extern inline optimized
- version.
-
-2007-04-25 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4406]
- * iconv/gconv_charset.h (strip): Allow ':'
- * iconv/iconv_open.c (iconv_open): Adjust comment.
-
-2007-04-23 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4405]
- * iconvdata/gconv-modules (E13B): Add a missing slash to the alias
- name. Patch by Aurelien Jarno <aurelien@aurel32.net>.
-
-2007-04-23 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4381]
- * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Ensure sufficient
- alignment of buffer and tmp_buffer.
- * nis/nss_nis/nis-hosts.c (internal_nis_gethostent_r,
- internal_gethostbyname2_r, _nss_nis_gethostbyaddr_r): Ensure sufficient
- alignment of buffer.
- * resolv/nss_dns/dns-hosts.c (getanswer_r): Likewise. Handle buflen
- bigger than INT_MAX.
- * resolv/nss_dns/dns-network.c (getanswer_r): Likewise. Add errnop and
- h_errnop arguments. Fail if buflen is too small.
- (_nss_dns_getnetbyname_r, _nss_dns_getnetbyaddr_r): Adjust callers.
-
-2007-04-19 Ulrich Drepper <drepper@redhat.com>
-
- * include/sys/mman.h: Mark madvise hidden.
- * misc/madvise.c: Add libc_hidden_def.
-
-2007-04-17 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4368]
- * stdlib/stdlib.h: Remove obsolete part of comment for realpath.
-
-2007-04-16 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4364]
- * posix/unistd.h (_XOPEN_VERSION): Define appropriately for SUSv3.
-
-2007-04-13 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4344]
- * elf/ldconfig.c (search_dir): Fix 2 off-by-2 errors.
- Reported by David Anderson <davea42@earthlink.net>.
-
-2007-04-13 Jakub Jelinek <jakub@redhat.com>
-
- * stdio-common/printf_fp.c (___printf_fp): Fix exponent -4
- special case handling when wcp == wstartp + 1. Fix a comment typo.
- * stdio-common/tfformat.c (sprint_doubles): Add a new testcase.
-
-2007-02-21 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4070]
- * stdio-common/printf_fp.c (___printf_fp): Handle a few more
- special cases.
- * stdio-common/tfformat.c (sprint_doubles): Some more tests.
-
-2007-02-19 Ulrich Drepper <drepper@redhat.com>
-
- * stdio-common/printf_fp.c (___printf_fp): Cleanups and minor
- optimization.
-
-2007-04-06 Jakub Jelinek <jakub@redhat.com>
-
- * nis/nis_domain_of.c (__nis_domain_of): New function.
- * include/rpcsvc/nislib.h (__nis_domain_of): New prototype.
- * nis/nis_lookup.c (nis_lookup): Use __nis_domain_of.
- * nis/nis_call.c (rec_dirsearch): Likewise.
- (first_shoot): Likewise. Remove search_parent_first argument.
- (struct nis_server_cache): Rename search_parent_first field
- to search_parent.
- (nis_server_cache_search, nis_server_cache_add): Rename
- search_parent_first argument to search_parent.
- (__nisfind_server): Likewise. If search_parent, call
- __nis_domain_of.
-
-2007-04-05 Jakub Jelinek <jakub@redhat.com>
-
- * nis/nis_call.c (__nisfind_server): Replace (*dir)->do_servers
- with obj->do_servers after first_shoot.
-
-2007-03-21 Jakub Jelinek <jakub@redhat.com>
-
- * nis/nis_call.c: Include bits/libc-lock.h, sys/stat.h, unistd.h.
- (nis_server_cache, nis_server_cache_lock, nis_cold_start_mtime): New
- variables.
- (nis_server_cache_search, nis_server_cache_add): New functions.
- (__nisfind_server): Use them. Add dbp and flags argument, if
- call __nisbind_create.
- (__nisbind_create): Add server_used and current_ep arguments,
- only call __nis_findfastest if server_used is ~0.
- (__do_niscall2, __prepare_niscall): Adjust callers.
- (ckey_cache, ckey_cache_size, ckey_cache_allocated, ckey_cache_pid,
- ckey_cache_euid, ckey_cache_lock): New variables.
- (get_ckey): New function.
- (__nisbind_connect): If not dbp->use_udp, pass IPPROTO_TCP to
- __pmap_getnisport. Save __pmap_getnisport result in
- dbp->addr.sin_port if non-zero. Use get_ckey to create conversation
- key.
- * nis/nis_lookup.c (nis_lookup): Likewise.
- * nis/nis_table.c (nis_list): Likewise.
- * nis/rpcsvc/nislib.h (__nisbind_create, __nisfind_server): Adjust
- prototypes.
-
- * nis/nss_nisplus/nisplus-pwd.c (_nss_nisplus_getpwnam_r,
- _nss_nisplus_getpwuid_r): Pass USE_DGRAM flag to nis_list.
- * nis/nss_nisplus/nisplus-service.c (_nss_nisplus_getservbyname_r,
- _nss_nisplus_getservbyport_r): Likewise.
- * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
- _nss_nisplus_getnetbyaddr_r): Likewise.
- * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_getspnam_r): Likewise.
- * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
- _nss_nisplus_getntohost_r): Likewise.
- * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r,
- _nss_nisplus_getrpcbynumber_r): Likewise.
-
-2007-04-01 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/ia64/fpu/fesetround.c (fesetround): Return 0 on success
- and 1 on failure.
-
-2007-04-01 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Use
- math_opt_barrier and math_force_eval macros.
-
-2007-03-27 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #3306]
- * math/math_private.h (math_opt_barrier, math_force_eval): Define.
- * sysdeps/i386/fpu/math_private.h: New file.
- * sysdeps/x86_64/fpu/math_private.h: New file.
- * math/s_nexttowardf.c (__nexttowardf): Use math_opt_barrier and
- math_force_eval macros. Use "+m" constraint on asm rather than
- "=m" and "m".
- * math/s_nextafter.c (__nextafter): Likewise.
- * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
- Likewise.
- * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
- * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Likewise.
- * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
- * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Use
- math_opt_barrier and math_force_eval macros.
- * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl): Likewise.
- * sysdeps/ieee754/ldbl-96/s_nextafterl.c (__nextafterl): Likewise.
- * sysdeps/i386/fpu/s_nexttoward.c: Include float.h.
- (__nexttoward): Use math_opt_barrier and
- math_force_eval macros. Use "+m" constraint on asm rather than
- "=m" and "m". Only use asm to force double result if
- FLT_EVAL_METHOD is 2.
- * sysdeps/i386/fpu/s_nexttowardf.c: Include float.h.
- (__nexttowardf): Use math_opt_barrier and
- math_force_eval macros. Use "+m" constraint on asm rather than
- "=m" and "m". Only use asm to force double result if
- FLT_EVAL_METHOD is not 0.
- * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include float.h.
- (__nexttowardf): Use math_opt_barrier and
- math_force_eval macros. If FLT_EVAL_METHOD is not 0, force
- x to float using asm.
- * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include float.h.
- (__nldbl_nexttowardf): Use math_opt_barrier and
- math_force_eval macros. If FLT_EVAL_METHOD is not 0, force
- x to float using asm.
- * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include float.h.
- (__nexttowardf): Use math_opt_barrier and math_force_eval
- macros. If FLT_EVAL_METHOD is not 0, force x to float using asm.
- * math/bug-nextafter.c (zero, inf): New variables.
- (main): Add new tests.
- * math/bug-nexttoward.c (zero, inf): New variables.
- (main): Add new tests.
-
-2007-03-30 Jakub Jelinek <jakub@redhat.com>
-
- * libio/libio.h (__underflow, __uflow, __overflow, __wunderflow,
- __wuflow, __woverflow, _IO_getc, _IO_putc, _IO_peekc_locked, _IO_padn,
- _IO_sgetn, _IO_seekoff, _IO_seekpos, _IO_getwc, _IO_putwc, _IO_wpadn):
- Remove __THROW.
- * libio/fileops.c (new_do_write, _IO_file_xsgetn_mmap,
- _IO_file_xsgetn_maybe_mmap): Likewise.
- * libio/oldfileops.c (old_do_write): Likewise.
- * libio/libioP.h (_IO_switch_to_get_mode, _IO_switch_to_wget_mode,
- _IO_init_marker, _IO_init_wmarker, _IO_default_uflow,
- _IO_wdefault_uflow, _IO_default_setbuf, _IO_default_seekpos,
- _IO_do_write, _IO_new_do_write, _IO_old_do_write, _IO_wdo_write,
- _IO_flush_all_lockp, _IO_flush_all, _IO_cleanup,
- _IO_flush_all_linebuffered, _IO_new_fgetpos, _IO_old_fgetpos,
- _IO_new_fsetpos, _IO_old_fsetpos, _IO_new_fgetpos64,
- _IO_old_fgetpos64, _IO_new_fsetpos64, _IO_old_fsetpos64,
- _IO_file_setbuf, _IO_file_seekoff, _IO_file_xsputn, _IO_file_xsgetn,
- _IO_file_underflow, _IO_file_underflow_mmap,
- _IO_file_underflow_maybe_mmap, _IO_file_overflow, _IO_file_attach,
- _IO_file_open, _IO_file_fopen, _IO_file_write, _IO_file_read,
- _IO_file_sync, _IO_file_close_it, _IO_file_finish,
- _IO_new_file_attach, _IO_new_file_close_it, _IO_new_file_finish,
- _IO_new_file_fopen, _IO_new_file_setbuf, _IO_file_setbuf_mmap,
- _IO_new_file_sync, _IO_new_file_underflow, _IO_new_file_overflow,
- _IO_new_file_seekoff, _IO_new_file_write, _IO_new_file_xsputn,
- _IO_old_file_setbuf, _IO_old_file_seekoff, _IO_old_file_xsputn,
- _IO_old_file_underflow, _IO_old_file_overflow, _IO_old_file_attach,
- _IO_old_file_fopen, _IO_old_file_write, _IO_old_file_sync,
- _IO_old_file_close_it, _IO_old_file_finish, _IO_wfile_xsputn,
- _IO_wfile_setbuf, _IO_wfile_sync, _IO_wfile_underflow,
- _IO_wfile_overflow, _IO_wfile_seekoff, _IO_old_proc_open,
- _IO_old_proc_close, _IO_getdelim, _IO_flush_all_internal,
- _IO_adjust_column_internal, _IO_default_uflow_internal,
- _IO_default_xsgetn_internal, _IO_wdefault_xsputn_internal,
- _IO_wdefault_xsgetn_internal, _IO_wdefault_uflow_internal,
- _IO_file_setbuf_internal, _IO_file_seekoff_internal,
- _IO_file_xsputn_internal, _IO_file_xsgetn_internal,
- _IO_file_close_it_internal, _IO_file_underflow_internal,
- _IO_file_overflow_internal, _IO_file_attach_internal,
- _IO_file_fopen_internal, _IO_file_sync_internal,
- _IO_file_finish_internal, _IO_wfile_xsputn_internal,
- _IO_wfile_seekoff_internal, _IO_wfile_sync_internal,
- _IO_switch_to_wget_mode_internal, _IO_padn_internal,
- _IO_switch_to_get_mode_internal, _IO_seekoff_unlocked,
- _IO_seekpos_unlocked): Likewise.
- (_IO_strtod, _IO_dtoa, _IO_outfloat, _IO_read, _IO_write,
- _IO_lseek, _IO_close, _IO_fstat): Remove unused prototypes.
-
-2007-03-23 Jakub Jelinek <jakub@redhat.com>
-
- * scripts/check-local-headers.sh: Filter out sys/capability.h.
-
-2007-03-22 Jakub Jelinek <jakub@redhat.com>
-
- * config.h.in (HAVE_LIBCAP): Add.
- * nscd/selinux.h: Include sys/capability.h rather than non-existent
- sys/capabilities.h.
- * nscd/selinux.c (preserve_capabilities): Use cap_free instead of
- free_caps. Cast away const from 4th cap_set_flag argument.
-
-2007-03-16 Jakub Jelinek <jakub@redhat.com>
-
- * elf/dl-open.c (dl_open_worker): Declare l in 2 different
- smaller scopes.
- * elf/dl-dst.h (DL_DST_REQ_STATIC): Add l as macro argument.
- (DL_DST_REQUIRED): Adjust user.
-
-2007-03-15 Jakub Jelinek <jakub@redhat.com>
-
- * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is
- NULL.
-
-2007-03-15 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4181]
- * inet/inet6_opt.c (add_padding): Only insert padding if npad > 0.
- (inet6_opt_append): Don't check extlen is big enough if extbuf
- is NULL.
- (inet6_opt_finish): Likewise.
- * inet/Makefile (tests): Add test-inet6_opt.
- * inet/test-inet6_opt.c: New test.
-
-2007-03-15 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4130]
- * login/utmp_file.c (setutent_file): Use O_LARGEFILE for
- open_not_cancel_2.
- (updwtmp_file): Likewise.
-
-2007-03-15 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4101]
- * argp/argp-help.c (hol_cluster_cmp): Fix comparisons used to find
- ancestors with the same depths.
- Patch by Niels Moeller <nisse@lysator.liu.se>.
- (filter_doc): Don't crash if argp is NULL.
- * argp/Makefile (tests): Add tst-argp2.
- * argp/tst-argp2.c: New test.
-
-2007-03-15 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #3919]
- * math/libm-test.inc (log_test): Test -Inf and NaN.
- (log10_test, log1p_test, log2_test): Test -Inf.
- * sysdeps/i386/fpu/e_log.S (__ieee754_log): Don't raise
- FE_INVALID when argument is qNaN.
- * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
- * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
- * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
- * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Replace
- andb $1, %ah with testb $1, %ah, don't test for parity, instead
- testb $4, %ah and jump if non-zero.
- * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
- * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
-
-2007-03-06 Ulrich Drepper <drepper@redhat.com>
-
- * sysdeps/posix/getaddrinfo.c (get_scope): Correct test for
- 172.16/12 address range.
-
-2007-03-01 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #4069]
- * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Check for NaN
- earlier.
- * math/libm-test.inc (pow_test): Add more tests involving NaNs.
-
- * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Avoid invalid exception
- for x qNaN and y either +-inf or non-integer value.
- * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Likewise.
- * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
- * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
-
-2007-02-21 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #4076]
- * io/ftw.c (ftw_startup): Handle special case of FTW_CHDIR in /.
- (open_dir_stream): Likewise.
- * io/Makefile (tests): Add bug-ftw5.
- * io/bug-ftw5.c: New file.
-
-2007-02-21 Ulrich Drepper <drepper@redhat.com>
-
- * nscd/grpcache.c (cache_addgr): In case a record changed on
- refresh, adjust key_copy.
-
- [BZ #4074]
- * nscd/pwdcache.c (cache_addpw): In case a record changed on
- refresh, adjust key_copy.
-
-2007-02-21 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #3458]
- * sysdeps/unix/sysv/linux/posix_madvise.c: New file.
- * sysdeps/unix/sysv/linux/syscalls.list: Remove posix_madvise entry.
-
-2007-02-17 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #3842]
- * sysdeps/posix/euidaccess.c [_LIBC] (euidaccess): Remove shortcut
- using __libc_enable_secure.
-
-2007-02-17 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #3348]
- * malloc/memusage.sh: Cleanups.
- * debug/xtrace.sh: Quoting and trap changes.
-
-2007-02-16 Ulrich Drepper <drepper@redhat.com>
-
- * locale/iso-3166.def: Add entry for Serbia.
- * locale/iso-4217.def: Define RSD.
-
-2007-02-15 Ulrich Drepper <drepper@redhat.com>
-
- * nscd/nscd_helper.c (open_socket): Don't send padding bytes from
- reqdata.
-
-2007-02-13 Ulrich Drepper <drepper@redhat.com>
-
- * po/ru.po: Update from translation team.
-
-2007-02-03 Ulrich Drepper <drepper@redhat.com>
-
- * po/sv.po: Update from translation team.
-
-2007-02-12 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __amdfam10__
- to the list of i486+ CPUs.
- * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
-
-2007-01-24 Jakub Jelinek <jakub@redhat.com>
-
- * sysdeps/i386/bits/byteswap.h (__bswap_32): Add __nocona__, __core2__
- and __geode__ to the list of i486+ CPUs.
- * sysdeps/x86_64/bits/byteswap.h (__bswap_32): Likewise.
-
-2007-02-08 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #3944]
- * time/strptime_l.c (__strptime_internal): Set have_mon for
- %b/%B/%h. Set have_mon and have_mday if tm_mon and tm_mday
- have been computed from tm_yday and tm_year. Don't crash
- in day_of_the_week or day_of_the_year if not have_mon
- and tm_mon contains bogus value.
- * time/Makefile (tests): Add tst-strptime3.
- * time/tst-strptime3.c: New test.
-
-2007-02-05 Jakub Jelinek <jakub@redhat.com>
-
- [BZ #3957]
- * posix/regcomp.c (parse_bracket_exp): Set '\n' bit rather than '\0'
- bit for RE_HAT_LISTS_NOT_NEWLINE.
- (build_charclass_op): Remove bogus comment.
- * posix/Makefile (tests): Add bug-regex27 and bug-regex28.
- * posix/bug-regex27.c: New test.
- * posix/bug-regex28.c: New test.
-
-2007-02-02 Bruno Haible <bruno@clisp.org>
-
- [BZ #3954]
- * iconvdata/ksc5601.c (__ksc5601_sym_to_ucs, __ksc5601_sym_from_ucs):
- Add mapping for U+327E.
- * iconvdata/ksc5601.h (KSC5601_SYMBOL): Increment.
- * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
- mapping of 0xD9 0xE8.
- * iconvdata/uhc.c (BODY for FROM_LOOP, BODY for TO_LOOP): Disable
- mapping of U+327E.
- Reported by Jungshik Shin <jungshik@google.com>.
-
- [BZ #3955]
- * iconvdata/johab.c (BODY for FROM_LOOP, BODY for TO_LOOP): Enable
- mapping of 0xD9 0xE6 and of 0xD9 0xE7.
- Reported by Jungshik Shin <jungshik@google.com>.
-
-2007-01-31 Jakub Jelinek <jakub@redhat.com>
-
- * nscd/nscd-client.h (__nscd_cache_search): Remove const qualifier
- from return value.
- * nscd/nscd_helper.c: Include string.h.
- (__nscd_cache_search): Remove const qualifier from return value.
- On strict alignment architectures check hash entry and data head
- alignment.
- * nscd/nscd_getpw_r.c (nscd_getpw_r): Don't crash or fail because
- mmapped data during GC cycle contains garbage. If
- __nscd_drop_map_ref fails, decrement mapped->counter when returning
- error or if retrying with NO_MAPPING, only __nscd_unmap if counter
- dropped to 0.
- * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
- * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
- * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
- * nscd/nscd_getai.c (__nscd_getai): Likewise.
-
-2007-01-22 Ulrich Drepper <drepper@redhat.com>
-
- [BZ #3902]
- * stdio-common/_itoa.c (_itoa): Make sure at least a zero is emitted.
- * stdio-common/Makefile (tests): Add bug17.
- * stdio-common/bug17.c: New file.
-
-2007-01-15 Jakub Jelinek <jakub@redhat.com>
-
- * soft-fp/op-common.h (FP_TRUNC): When truncating a NaN, clear
- workbits in semi-raw fraction.
-
- * math/test-misc.c: Add new tests.
-
-2007-01-14 Steven Munroe <sjmunroe@us.ibm.com>
-
- * math/basic-test.c: Include test-skeleton.c.
- (TEST_TRUNC): Define.
- (truncdfsf_test, trunctfsf_test, trunctfdf_test): New.
- (main): Rename to ...
- (do_test): ...this. Run new tests.
- (TEST_FUNCTION): Define.
-
-2006-10-05 Steven Munroe <sjmunroe@us.ibm.com>
- Joe Kerian <jkerian@us.us.ibm.com>
-
- [BZ #2749]
- * soft-fp/op-4.h (__FP_FRAC_SUB_3, __FP_FRAC_SUB_4): Correct borrow
- handling for high words.
- * soft-fp/op-common.h (_FP_OVERFLOW_SEMIRAW): Always set inexact
- and overflow for infinity.
-
-2007-01-13 Ulrich Drepper <drepper@redhat.com>
-
- * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r): Correct
- computation of keylen.
-
-2007-01-10 Ulrich Drepper <drepper@redhat.com>
-
- * io/fts.c: Make sure fts_cur is always valid after return from
- fts_read.
- Patch by Miloslav Trmac <mitr@redhat.com>.
-
-2007-01-03 Jakub Jelinek <jakub@redhat.com>
-
- * posix/execvp.c: Include alloca.h.
- (allocate_scripts_argv): Renamed to...
- (scripts_argv): ... this. Don't allocate buffer here nor count
- arguments.
- (execvp): Use alloca if possible.
- * posix/Makefile: Add rules to build and run tst-vfork3 test.
- * posix/tst-vfork3.c: New test.
-
2007-01-05 Steven Munroe <sjmunroe@us.ibm.com>
* stdlib/tst-makecontext.c: Include errno.h. Change main()
@@ -895,58 +17,64 @@
* stdlib/tst-strtod2.c (tests): New variable.
(do_test): Run several tests rather than just one.
-2007-01-03 Ulrich Drepper <drepper@redhat.com>
+2007-01-11 Jakub Jelinek <jakub@redhat.com>
- * stdlib/Makefile (tst-strtod3-ENV): Define.
+ * sysdeps/i386/soft-fp/sfp-machine.h: Remove.
+ * sysdeps/x86_64/soft-fp/sfp-machine.h: Likewise.
-2006-12-11 Ulrich Drepper <drepper@redhat.com>
+2007-01-10 Ulrich Drepper <drepper@redhat.com>
- * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand
- separators also if no non-zero digits found.
- * stdlib/Makefile (tests): Add tst-strtod3.
+ * io/fts.c: Make sure fts_cur is always valid after return from
+ fts_read.
+ Patch by Miloslav Trmac <mitr@redhat.com>.
-2006-12-09 Ulrich Drepper <drepper@redhat.com>
+2006-10-27 Richard Sandiford <richard@codesourcery.com>
- [BZ #3664]
- * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize
- empty parsed strings.
- * stdlib/Makefile (tests): Add tst-strtod2.
- * stdlib/tst-strtod2.c: New file.
+ * elf/elf.h (R_MIPS_GLOB_DAT): Define.
+ (R_MIPS_NUM): Bump by 1.
- [BZ #3673]
- * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit
- computation.
- * stdlib/Makefile (tests): Add tst-atof2.
- * stdlib/tst-atof2.c: New file.
+2007-01-03 Jakub Jelinek <jakub@redhat.com>
- [BZ #3674]
- * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value
- correctly if removing trailing zero of hex-float.
- * stdlib/Makefile (tests): Add tst-atof1.
- * stdlib/tst-atof1.c: New file.
+ * posix/execvp.c: Include alloca.h.
+ (allocate_scripts_argv): Renamed to...
+ (scripts_argv): ... this. Don't allocate buffer here nor count
+ arguments.
+ (execvp): Use alloca if possible.
+ * posix/Makefile: Add rules to build and run tst-vfork3 test.
+ * posix/tst-vfork3.c: New test.
2007-01-03 Ulrich Drepper <drepper@redhat.com>
* string/Makefile (tst-strxfrm2-ENV): Define.
+ * stdlib/Makefile (tst-strtod3-ENV): Define.
-2006-11-10 Jakub Jelinek <jakub@redhat.com>
+2007-01-02 Ulrich Drepper <drepper@redhat.com>
- * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization
- 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.
+ * posix/getconf.c: Update copyright year.
+ * nss/getent.c: Likewise.
+ * iconv/iconvconfig.c: Likewise.
+ * iconv/iconv_prog.c: Likewise.
+ * elf/ldconfig.c: Likewise.
+ * catgets/gencat.c: Likewise.
+ * csu/version.c: Likewise.
+ * elf/ldd.bash.in: Likewise.
+ * elf/sprof.c (print_version): Likewise.
+ * locale/programs/locale.c: Likewise.
+ * locale/programs/localedef.c: Likewise.
+ * nscd/nscd.c (print_version): Likewise.
+ * debug/xtrace.sh: Likewise.
+ * malloc/memusage.sh: Likewise.
+ * malloc/mtrace.pl: Likewise.
+ * debug/catchsegv.sh: Likewise.
-2006-11-09 Ulrich Drepper <drepper@redhat.com>
+2006-12-24 Ulrich Drepper <drepper@redhat.com>
- * string/Makefile (tests): Add tst-strxfrm2.
- * string/tst-strxfrm2.c: New file.
+ * malloc/malloc.c (sYSMALLOc): Remove some unnecessary alignment
+ attempts.
-2006-11-08 Jakub Jelinek <jakub@redhat.com>
+2006-12-23 Ulrich Drepper <drepper@redhat.com>
- * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal
- optimization even if needed > n.
+ * posix/wordexp.c: Remove some unnecessary tests.
2006-12-22 Gavin Romig-Koch <gavin@redhat.com>
@@ -957,30 +85,52 @@
* include/atomic.h (atomic_forced_read): New macro.
+2006-12-20 SUGIOKA Toshinobu <sugioka@itonet.co.jp>
+
+ * sysdeps/unix/sysv/linux/sh/bits/shm.h: New file.
+
2006-12-19 Jakub Jelinek <jakub@redhat.com>
+ * nss/getXXbyYY_r.c: Include atomic.h.
+ (INTERNAL (REENTRANT_NAME)): Write startp after start_fct,
+ add atomic_write_barrier () in between.
+
* stdlib/Makefile (tests): Add tst-makecontext.
* stdlib/tst-makecontext.c: New test.
* sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
(__makecontext): Don't realign uc_mcontext.uc_regs.
-2006-12-13 Jakub Jelinek <jakub@redhat.com>
+2006-11-28 Jakub Jelinek <jakub@redhat.com>
- * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include
- kernel-features.h.
+ * elf/dl-support.c: Include dl-procinfo.h.
+ * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4,
+ PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS,
+ PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X):
+ Define.
+ (_dl_string_platform): Use PPC_PLATFORM_* macros instead of
+ hardcoded constants.
+ * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use
+ PPC_PLATFORM_* macros for array designators.
-2006-12-19 Jakub Jelinek <jakub@redhat.com>
+2006-11-11 Steven Munroe <sjmunroe@us.ibm.com>
- * nss/getXXbyYY_r.c: Include atomic.h.
- (INTERNAL (REENTRANT_NAME)): Write startp after start_fct,
- add atomic_write_barrier () in between.
+ * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap
+ names to the beginning.
+ (_dl_powerpc_platforms): Add "power6x".
+ * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
+ (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP.
+ (_DL_PLATFORMS_COUNT): Increase.
+ (_dl_string_platform): Handle power6x case.
+ * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP,
+ PPC_FEATURE_POWER6_EXT): Define.
+ (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.
2006-12-18 Jakub Jelinek <jakub@redhat.com>
[BZ #3747]
* stdlib/jrand48_r.c (__jrand48_r): Make sure result is in the
- [-231 .. 231) range.
+ [-2^31 .. 2^31) range.
* stdlib/tst-rand48.c (main): Fix expected values for 64-bit
targets.
* stdlib/tst-rand48-2.c: New test.
@@ -997,6 +147,10 @@
2006-12-13 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/sysv/linux/bits/statvfs.h: Define ST_RELATIME.
+ * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
+ Handle relatime mount option.
+
[BZ #2337]
* libio/Makefile (tests): Add tst-setvbuf1.
* libio/tst-setvbuf1.c: New file.
@@ -1022,12 +176,16 @@
* libio/fileops.c (_IO_new_file_close_it): Call _IO_set[bgp]
even for wide streams.
-2006-12-09 Jakub Jelinek <jakub@redhat.com>
+2006-12-13 Jakub Jelinek <jakub@redhat.com>
- * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
- Start searching for next comma at p rather than rest.
- * misc/Makefile (tests): Add tst-mntent2.
- * misc/tst-mntent2.c: New test.
+ * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Include
+ kernel-features.h.
+
+2006-12-11 Ulrich Drepper <drepper@redhat.com>
+
+ * stdlib/strtod_l.c (____STRTOF_INTERNAL): Parse thousand
+ separators also if no non-zero digits found.
+ * stdlib/Makefile (tests): Add tst-strtod3.
2006-12-09 Ulrich Drepper <drepper@redhat.com>
@@ -1035,23 +193,48 @@
* include/features.h: Fix comment about default value for
_POSIX_C_SOURCE.
+ [BZ #3664]
+ * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix test to recognize
+ empty parsed strings.
+ * stdlib/Makefile (tests): Add tst-strtod2.
+ * stdlib/tst-strtod2.c: New file.
+
+ [BZ #3673]
+ * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix exp_limit
+ computation.
+ * stdlib/Makefile (tests): Add tst-atof2.
+ * stdlib/tst-atof2.c: New file.
+
+ [BZ #3674]
+ * stdlib/strtod_l.c (____STRTOF_INTERNAL): Adjust exponent value
+ correctly if removing trailing zero of hex-float.
+ * stdlib/Makefile (tests): Add tst-atof1.
+ * stdlib/tst-atof1.c: New file.
+
2006-12-09 Jakub Jelinek <jakub@redhat.com>
+ * misc/mntent_r.c (__hasmntopt): Check p[optlen] even when p == rest.
+ Start searching for next comma at p rather than rest.
+ * misc/Makefile (tests): Add tst-mntent2.
+ * misc/tst-mntent2.c: New test.
+
* misc/getusershell.c (initshells): Check for integer overflows.
Make strings buffer one bigger as fgets always succeeds when second
argument is 1. Don't use calloc for shells array. Disallow
/ as shell.
-2006-12-05 Jakub Jelinek <jakub@redhat.com>
+2006-12-08 Ulrich Drepper <drepper@redhat.com>
- * nis/nis_subr.c (nis_getnames): Revert last change.
+ * malloc/memusage.c: Handle realloc with new size of zero and
+ non-NULL pointer correctly.
+ (me): Really write first record twice.
+ (struct entry): Make format bi-arch safe.
+ (dest): Write out more realloc statistics.
+ * malloc/memusagestat.c (struct entry): Make format bi-arch safe.
-2006-10-11 Jakub Jelinek <jakub@redhat.com>
-
- * nis/nis_defaults.c (__nis_default_access): Don't call getenv twice.
+2006-12-05 Jakub Jelinek <jakub@redhat.com>
- * nis/nis_subr.c (nis_getnames): Use __secure_getenv instead of getenv.
- * sysdeps/generic/unsecvars.h: Add NIS_PATH.
+ * nis/nis_subr.c (nis_getnames): Revert last change.
2006-12-04 Jakub Jelinek <jakub@redhat.com>
@@ -1063,77 +246,189 @@
* io/Makefile: Add rules to build and run tst-ttyname_r test.
* io/tst-ttyname_r.c: New test.
-2006-11-28 Jakub Jelinek <jakub@redhat.com>
+2006-12-03 Kaz Kojima <kkojima@rr.iij4u.or.jp>
- * elf/dl-support.c: Include dl-procinfo.h.
- * sysdeps/powerpc/dl-procinfo.h (PPC_PLATFORM_POWER4,
- PPC_PLATFORM_PPC970, PPC_PLATFORM_POWER5, PPC_PLATFORM_POWER5_PLUS,
- PPC_PLATFORM_POWER6, PPC_PLATFORM_CELL_BE, PPC_PLATFORM_POWER6X):
- Define.
- (_dl_string_platform): Use PPC_PLATFORM_* macros instead of
- hardcoded constants.
- * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platform): Use
- PPC_PLATFORM_* macros for array designators.
+ * sysdeps/unix/sysv/linux/sh/sys/io.h: Removed.
-2006-11-11 Steven Munroe <sjmunroe@us.ibm.com>
+2006-11-30 H.J. Lu <hongjiu.lu@intel.com>
- * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add 3 new cap
- names to the beginning.
- (_dl_powerpc_platforms): Add "power6x".
- * sysdeps/powerpc/dl-procinfo.h (_DL_HWCAP_FIRST): Decrease.
- (HWCAP_IMPORTANT): Add PPC_FEATURE_HAS_DFP.
- (_DL_PLATFORMS_COUNT): Increase.
- (_dl_string_platform): Handle power6x case.
- * sysdeps/powerpc/sysdep.h (PPC_FEATURE_PA6T, PPC_FEATURE_HAS_DFP,
- PPC_FEATURE_POWER6_EXT): Define.
- (PPC_FEATURE_POWER5, PPC_FEATURE_POWER5_PLUS): Correct Comment.
+ * sysdeps/i386/i686/memcmp.S: Use jump table as the base of
+ jump table entries.
+
+2006-11-30 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * sysdeps/unix/sysv/linux/i386/clone.S: Provide CFI for the outermost
+ `clone' function to ensure proper unwinding stop of gdb.
+ * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
+
+2006-12-01 Ulrich Drepper <drepper@redhat.com>
+
+ * nscd/nscd.init: Remove obsolete and commented-out -S option
+ handling.
+
+2006-11-23 Jakub Jelinek <jakub@redhat.com>
+
+ [BZ #3514]
+ * manual/string.texi (strncmp): Fix pastos from wcscmp description.
+
+ [BZ #3515]
+ * manual/string.texi (strtok): Remove duplicate paragraph.
+
+2006-12-01 Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Fix compatibility with
+ libgcc not supporting `rflags' unwinding (register # >= 17).
+
+2006-11-30 Jakub Jelinek <jakub@redhat.com>
+
+ * sunrpc/svc_run.c (svc_run): Set my_pollfd to new_pollfd if realloc
+ succeeded.
+
+2006-11-29 Daniel Jacobowitz <dan@codesourcery.com>
+ Jakub Jelinek <jakub@redhat.com>
+ Jan Kratochvil <jan.kratochvil@redhat.com>
+
+ * sysdeps/unix/sysv/linux/x86_64/sigaction.c (restore_rt): Add correct
+ unwind information.
+ * sysdeps/unix/sysv/linux/x86_64/Makefile: Provide symbols for
+ 'restore_rt' even in the 'signal' directory.
+ * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym: Extend the regs list.
2006-11-27 Jakub Jelinek <jakub@redhat.com>
[BZ #3559]
* sunrpc/svc_run.c (svc_run): Fail instead of segfaulting if
- malloc crashed.
+ malloc crashed. Don't allocate memory unnecessarily in each
+ loop.
-2006-11-14 Jakub Jelinek <jakub@redhat.com>
-
- * nss/nss_files/files-alias.c (get_next_alias): Set line back
- to first_unused after parsing :include: file.
+2006-10-21 Jakub Jelinek <jakub@redhat.com>
-2006-11-14 Ulrich Drepper <drepper@redhat.com>
+ * resolv/mapv4v6addr.h (map_v4v6_address): Fix last change.
- * po/nl.po: Update from translation team.
+2006-11-20 Ulrich Drepper <drepper@redhat.com>
-2006-11-10 Ulrich Drepper <drepper@redhat.com>
+ * resolv/mapv4v6addr.h (map_v4v6_address): Optimize a bit.
- * po/sv.po: Update from translation team.
+2006-11-18 Bruno Haible <bruno@clisp.org>
-2006-11-01 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/sysv/linux/i386/getgroups.c (__getgroups): Invoke
+ __sysconf only after having tried to call getgroups32.
- * po/sv.po: Update from translation team.
+2006-11-19 Ulrich Drepper <drepper@redhat.com>
-2006-10-29 Ulrich Drepper <drepper@redhat.com>
+ * nss/nss_files/files-hosts.c (LINE_PARSER): Support IPv6-style
+ addresses for IPv4 queries if they can be mapped.
- * po/sv.po: Update from translation team.
+2006-11-16 Jakub Jelinek <jakub@redhat.com>
-2006-10-09 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/x86_64/fpu/s_copysignf.S (__copysignf): Switch to .text.
+ * sysdeps/x86_64/fpu/s_copysign.S (__copysign): Likewise.
+ (signmask): Add .size directive.
+ (othermask): Add .type directive.
- * po/sv.po: Update from translation team.
+2006-11-14 Ulrich Drepper <drepper@redhat.com>
-2006-10-07 Ulrich Drepper <drepper@redhat.com>
+ * po/nl.po: Update from translation team.
- * po/tr.po: Update from translation team.
+ * timezone/zdump.c: Redo fix for BZ #3137.
-2006-10-06 Ulrich Drepper <drepper@redhat.com>
+2006-11-14 Jakub Jelinek <jakub@redhat.com>
- * po/pl.po: Update from translation team.
+ * nss/nss_files/files-alias.c (get_next_alias): Set line back
+ to first_unused after parsing :include: file.
2006-11-10 Ulrich Drepper <drepper@redhat.com>
+ * timezone/africa: Update from tzdata2006o.
+ * timezone/antarctica: Likewise.
+ * timezone/asia: Likewise.
+ * timezone/australasia: Likewise.
+ * timezone/backward: Likewise.
+ * timezone/europe: Likewise.
+ * timezone/iso3166.tab: Likewise.
+ * timezone/northamerica: Likewise.
+ * timezone/southamerica: Likewise.
+ * timezone/zone.tab: Likewise.
+
+ * time/tzfile.c (__tzfile_read): Extend to handle new file format
+ on machines with 64-bit time_t.
+
+ * timezone/checktab.awk: Update from tzcode2006o.
+ * timezone/ialloc.c: Likewise.
+ * timezone/private.h: Likewise.
+ * timezone/scheck.c: Likewise.
+ * timezone/tzfile.h: Likewise.
+ * timezone/tzselect.ksh: Likewise.
+ * timezone/zdump.c: Likewise.
+ * timezone/zic.c: Likewise.
+
+ [BZ #3483]
+ * elf/ldconfig.c (main): Call setlocale and textdomain.
+ Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
+
+ [BZ #3480]
+ * manual/argp.texi: Fix typos.
+ * manual/charset.texi: Likewise.
+ * manual/errno.texi: Likewise.
+ * manual/filesys.texi: Likewise.
+ * manual/lang.texi: Likewise.
+ * manual/maint.texi: Likewise.
+ * manual/memory.texi: Likewise.
+ * manual/message.texi: Likewise.
+ * manual/resource.texi: Likewise.
+ * manual/search.texi: Likewise.
+ * manual/signal.texi: Likewise.
+ * manual/startup.texi: Likewise.
+ * manual/stdio.texi: Likewise.
+ * manual/sysinfo.texi: Likewise.
+ * manual/syslog.texi: Likewise.
+ * manual/time.texi: Likewise.
+ Patch by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+ [BZ #3465]
+ * sunrpc/clnt_raw.c: Minimal message improvements.
+ * sunrpc/pm_getmaps.c: Likewise.
+ * nis/nss_nisplus/nisplus-publickey.c: Likewise.
+ * nis/nis_print_group_entry.c: Likewise.
+ * locale/programs/repertoire.c: Likewise.
+ * locale/programs/charmap.c: Likewise.
+ * malloc/memusage.sh: Likewise.
+ * elf/dl-deps.c: Likewise.
+ * locale/programs/ld-collate.c: Likewise.
+ * libio/vswprintf.c: Likewise.
+ * malloc/memusagestat.c: Likewise.
+ * sunrpc/auth_unix.c: Likewise.
+ * sunrpc/rpc_main.c: Likewise.
+ * nscd/cache.c: Likewise.
+ * locale/programs/repertoire.c: Unify output messages.
+ * locale/programs/charmap.c: Likewise.
+ * locale/programs/ld-ctype.c: Likewise.
+ * locale/programs/ld-monetary.c: Likewise.
+ * locale/programs/ld-numeric.c: Likewise.
+ * locale/programs/ld-time.c: Likewise.
+ * elf/ldconfig.c: Likewise.
+ * nscd/selinux.c: Likewise.
+ * elf/cache.c: Likewise.
+ Patch mostly by Benno Schulenberg <bensberg@justemail.net>.
+
[BZ #3451]
* sysdeps/i386/fpu/bits/mathinline.h (floor): Make rounding mode
change atomic.
(ceil): Likewise.
+2006-11-10 Jakub Jelinek <jakub@redhat.com>
+
+ * string/strxfrm_l.c (STRXFRM): Fix trailing \1 optimization
+ 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.
+
+2006-11-10 Ulrich Drepper <drepper@redhat.com>
+
+ * po/sv.po: Update from translation team.
+
2006-11-09 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add
@@ -1144,27 +439,204 @@
* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add
noinline attribute.
-2006-11-05 Ulrich Drepper <drepper@redhat.com>
+ * 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.
- * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
- Update handling of cache descriptor 0x49 for new models.
- * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word):
- Likewise.
+2006-11-09 Ulrich Drepper <drepper@redhat.com>
+
+ [BZ #3493]
+ * posix/unistd.h (sysconf): Remove const attribute.
+
+ * sysdeps/posix/getaddrinfo.c (getaddrinfo): Fix test for
+ temporary or deprecated addresses.
+ Patch by Sridhar Samudrala <sri@us.ibm.com>.
+
+ * string/Makefile (tests): Add tst-strxfrm2.
+ * string/tst-strxfrm2.c: New file.
+
+2006-10-09 Jakub Jelinek <jakub@redhat.com>
+
+ * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0
+ rather than r->r_brk.
2006-11-08 Jakub Jelinek <jakub@redhat.com>
+ * string/strxfrm_l.c (STRXFRM): Do the trailing \1 removal
+ optimization even if needed > n.
+
* 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.
+
+2006-11-03 Steven Munroe <sjmunroe@us.ibm.com>
+
+ * sysdeps/powerpc/fpu/bits/mathinline.h
+ [__LIBC_INTERNAL_MATH_INLINES]: Moved to ...
+ * sysdeps/powerpc/fpu/math_private.h: ...here. New file.
+
+2006-11-05 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
+ Update handling of cache descriptor 0x49 for new models.
+ * sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word):
+ Likewise.
+
2006-11-02 Jakub Jelinek <jakub@redhat.com>
* malloc/memusage.c (dest): Reset not_me back to false after
printing statistics.
+2006-11-02 Ulrich Drepper <drepper@redhat.com>
+
+ * configure.in: Work around ld --help change and avoid -z relro
+ test completely if the architecture doesn't care about security.
+
+2006-11-01 Ulrich Drepper <drepper@redhat.com>
+
+ * po/sv.po: Update from translation team.
+
+2006-10-31 Ulrich Drepper <drepper@redhat.com>
+
+ * stdlib/atexit.c (atexit): Don't mark as hidden when used to
+ generate compatibility version.
+
+2006-10-29 Ulrich Drepper <drepper@redhat.com>
+
+ * configure.in: Relax -z relro requirement a bit.
+
+ * po/sv.po: Update from translation team.
+
+2006-10-29 Jakub Jelinek <jakub@redhat.com>
+
+ * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P.
+ * 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.
+
2006-10-27 Ulrich Drepper <drepper@redhat.com>
+ * configure.in: Require assembler support for visibility, compiler
+ 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.
+
+ * Makerules: USE_TLS support is now default.
+ * tls.make.c: Likewise.
+ * 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/dl-close.c (_dl_close_worker): Renamed from _dl_close and
split out locking and parameter checking.
(_dl_close): Call _dl_close_worker after locking and checking.
@@ -1173,12 +645,50 @@
* elf/Makefile: Add rules to build and run tst-thrlock.
* elf/tst-thrlock.c: New file.
+ [BZ #3426]
+ * stdlib/stdlib.h: Adjust comment for canonicalize_file_name to
+ reality.
+
[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 Jakub Jelinek <jakub@redhat.com>
+
+ * elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope
+ 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-25 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/gnu/netinet/tcp.h: Define TCP_CONGESTION.
+
+2006-10-18 Ulrich Drepper <drepper@redhat.com>
+
+ * configure.in: Disable building profile libraries by default.
+
2006-10-17 Jakub Jelinek <jakub@redhat.com>
* sunrpc/xdr_mem.c (xdrmem_setpos): Don't compare addresses
@@ -1186,14 +696,68 @@
* 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.
+
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 Ulrich Drepper <drepper@redhat.com>
+
+ * resolv/arpa/nameser.h: Document that ns_t_a6 is deprecated.
+
2006-10-13 Ulrich Drepper <drepper@redhat.com>
+ [BZ #3313]
+ * 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.
+
+ * libio/stdio.h: Add more __wur attributes.
+
* elf/dl-minimal.c (realloc): Optimize last patch.
2006-10-12 Richard Sandiford <richard@codesourcery.com>
@@ -1202,10 +766,56 @@
* elf/dl-minimal.c (realloc): Let malloc() return a new pointer,
and use memcpy() if it does.
+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.
+
2006-10-11 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/sysv/linux/syscalls.list: Add epoll_pwait.
+ * 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.
+
+2006-10-11 Jakub Jelinek <jakub@redhat.com>
+
+ * malloc/malloc.c (_int_malloc): Remove unused any_larger variable.
+
+ * 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 Ulrich Drepper <drepper@redhat.com>
+
+ * include/atomic.c: Define catomic_* operations.
+ * 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-10 Ulrich Drepper <drepper@redhat.com>
* nis/nis_subr.c (nis_getnames): Add trailing dot to NIS_PATH
@@ -1215,13 +825,59 @@
at least one entry consisting of the parameter concatenated with
the domain.
-2006-10-09 Jakub Jelinek <jakub@redhat.com>
+2006-10-10 Roland McGrath <roland@frob.com>
- * elf/dl-debug.c (_dl_debug_initialize): Check r->r_map for 0
- rather than r->r_brk.
+ * 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-09 Ulrich Drepper <drepper@redhat.com>
+ Jakub Jelinek <jakub@redhat.com>
+
+ 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: Include <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.
+
+ * po/sv.po: Update from translation team.
+
+2006-10-07 Ulrich Drepper <drepper@redhat.com>
+
+ * Versions.def: Add GLIBC_2.6 to libpthread.
+
+ * include/shlib-compat.h (SHLIB_COMPAT): Expand parameters before use.
+ (versioned_symbol): Likewise.
+ (compat_symbol): Likewise.
+
+ * po/tr.po: Update from translation team.
2006-10-06 Ulrich Drepper <drepper@redhat.com>
+ * nis/Banner: Removed. It's been integral part forever and the
+ author info is incomplete anyway.
+ * libio/Banner: Likewise.
+
* nis/nis_table.c (nis_list): If __follow_path fails in the new
code, make sure the nis_freeresult call doesn't crash and that the
result is reported correctly.
@@ -1243,6 +899,10 @@
Don't use locking around _nss_grp_create_tablename call.
* nis/nss_nisplus/nisplus-initgroups.c: New file.
+2006-10-06 Ulrich Drepper <drepper@redhat.com>
+
+ * version.h (VERSION): Bump to 2.5.90 for new development tree.
+
2006-10-06 Andreas Jaeger <aj@suse.de>
* include/features.h (__GLIBC_MINOR__): It's glibc 2.5 now.