]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - ChangeLog
Fix typos in comments.
[thirdparty/glibc.git] / ChangeLog
index 07645aeaa7e20b9705a9ca70cee53afdfbccc4a6..a68f5df83675dd4067f3b0f6ab3fb34654b7b960 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,358 @@
+2011-04-01  Ulrich Drepper  <drepper@gmail.com>
+
+       * iconv/iconv.h: Fix typo in comment.
+       * io/fcntl.h: Likewise.
+       * libio/stdio.h: Likewise.
+       * posix/spawn.h: Likewise.
+       * posix/unistd.h: Likewise.
+       * stdlib/stdlib.h: Likewise.
+       * time/time.h: Likewise.
+       * wcsmbs/wchar.h: Likewise.
+
+       * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
+       open_by_handle): Add.
+       * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
+       and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
+       Augment a few comments.
+       * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
+       * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
+       open_by_handle.
+
+       * io/fcntl.h (AT_EMPTY_PATH): Define.
+
+2011-03-30  Ulrich Drepper  <drepper@gmail.com>
+
+       * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
+       * sysdeps/unix/sysv/linux/bits/time.h: New file.
+       * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
+       to...
+       * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
+       * Versions.def: Add GLIBC_2.14.
+       * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
+       Export.
+
+2011-03-22  Ulrich Drepper  <drepper@gmail.com>
+
+       * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
+       round counter.
+       * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
+
+2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #12597]
+       * string/test-strncmp.c (do_page_test): New function.
+       (check2): Likewise.
+       (test_main): Call check2.
+       * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
+
+2011-03-20  Ulrich Drepper  <drepper@gmail.com>
+
+       [BZ #12587]
+       * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
+       Handle cache information in CPU leaf 4.
+       * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
+
+2011-03-18  Ulrich Drepper  <drepper@gmail.com>
+
+       [BZ #12583]
+       * posix/fnmatch.c (fnmatch): Check size of pattern in wide
+       character representation.
+       Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
+
+2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
+
+       * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
+       END(__isnan) to END(__isnanf) to match function entry point/label
+       EALIGN(__isnanf,...).
+
+2011-03-10  Jakub Jelinek  <jakub@redhat.com>
+
+       * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
+
+2011-03-10  Ulrich Drepper  <drepper@gmail.com>
+
+       [BZ #12510]
+       * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
+       copy from the symbol referenced in the relocation to initialize the
+       used variable.
+       Patch by Piotr Bury <pbury@goahead.com>.
+       * elf/Makefile: Add rules to build and tst-unique3.
+       * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
+       * elf/tst-unique3.cc: New file.
+       * elf/tst-unique3.h: New file.
+       * elf/tst-unique3lib.cc: New file.
+       * elf/tst-unique3lib2.cc: New file.
+
+       * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
+
+2011-03-10  Mike Frysinger  <vapier@gentoo.org>
+
+       * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
+       $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
+       to _start.
+
+2011-03-06  Ulrich Drepper  <drepper@gmail.com>
+
+       * elf/dl-load.c (_dl_map_object): If we are looking for the first
+       to-be-loaded object along a path to loader is ld.so.
+
+2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
+           Ulrich Drepper  <drepper@gmail.com>
+
+       * sysdeps/x86_64/memset.S: After aligning destination, code
+       branches to different locations depending on the value of
+       misalignment, when multiarch is enabled. Fix this.
+
+2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
+
+       * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
+       Set _x86_64_preferred_memory_instruction for AMD processsors.
+       * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
+       Set bit_Prefer_SSE_for_memop for AMD processors.
+
+2011-03-04  Ulrich Drepper  <drepper@gmail.com>
+
+       * libio/fmemopen.c (fmemopen): Optimize a bit.
+
+2011-03-03  Andreas Schwab  <schwab@redhat.com>
+
+       * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
+
+2011-03-03  Roland McGrath  <roland@redhat.com>
+
+       * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
+
+2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
+
+       * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
+       __bzero_ultra1 instead of __memset_ultra1.
+
+2011-02-23  Andreas Schwab  <schwab@redhat.com>
+           Ulrich Drepper  <drepper@gmail.com>
+
+       [BZ #12509]
+       * include/link.h (struct link_map): Add l_orig_initfini.
+       * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
+       returning unsuccessfully.
+       * elf/dl-close.c (_dl_close_worker): If this is the last explicit
+       close of a file loaded at startup, restore the original l_initfini
+       list.
+       * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
+       list, store the pointer.
+       * elf/Makefile ($(objpfx)noload-mem): New rule.
+       (noload-ENV): Define.
+       (tests): Add $(objpfx)noload-mem.
+       * elf/noload.c: Include <memcheck.h>.
+       (main): Call mtrace.  Close all opened handles.
+
+2011-02-17  Andreas Schwab  <schwab@redhat.com>
+
+       [BZ #12454]
+       * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
+       dependencies are missing.
+
+2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       Fix __if_freereq crash: Unlike the generic version which uses free,
+       Hurd needs munmap.
+       * sysdeps/mach/hurd/ifreq.h: New file.
+
+2011-01-27  Petr Baudis  <pasky@suse.cz>
+           Ulrich Drepper  <drepper@gmail.com>
+
+       [BZ 12445]#
+       * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
+       to extend_alloca().
+       * stdio-common/bug23.c: New file.
+       * stdio-common/Makefile (tests): Add bug23.
+
+2010-09-28  Andreas Schwab  <schwab@redhat.com>
+           Ulrich Drepper  <drepper@gmail.com>
+
+       [BZ #12489]
+       * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
+       before performing relro protection.  At old place add assertion
+       to make sure nothing changed.
+
+2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
+           Glauber de Oliveira Costa  <glommer@gmail.com>
+
+       * elf/elf.h: Add new ARM TLS relocs.
+
+2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
+
+       * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
+       (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
+       cast from r3.
+       * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
+       'tests' variable.
+       * sysdeps/wordsize-64/tst-writev.c: New file.
+
+2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
+
+       * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
+       -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
+       insns in _dl_start to prevent a TOC reference before relocs are
+       resolved.
+
+2011-02-15  Ulrich Drepper  <drepper@gmail.com>
+
+       [BZ #12469]
+       * Makeconfig: Remove RANLIB definition.
+       * Makerules: Don't use RANLIB.
+       * aclocal.m4: Remove ranlib test.
+       * configure.in: No need to check for ranlib.
+       * elf/rtld-Rules: Don't use RANLIB.
+
+2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
+       protection macro.
+       * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
+       inclusion protection macro.
+
+       * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
+       SIGRTMIN and SIGRTMAX and print information in that case only when
+       SIGRTMIN is defined.
+
+2011-02-11  Jakub Jelinek  <jakub@redhat.com>
+
+       * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
+       arginfo fn returning -1.
+
+       * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
+       and thousands string is zero terminated.
+
+2011-02-03  Andreas Schwab  <schwab@redhat.com>
+
+       * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
+       sysdeps/unix/sysv/linux/bits/socket.h.
+
+2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+
+       * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
+       (__CPU_COUNT): Remove old macros.
+       (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
+       (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
+       (__CPU_ALLOC, __CPU_FREE): Add macros.
+       (__sched_cpualloc, __sched_cpufree): Add declarations.
+
+2011-02-05  Ulrich Drepper  <drepper@gmail.com>
+
+       * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
+       (struct datahead): Reuse 32 bits of the alignment for a TTL field.
+       * nscd/aicache.c (addhstaiX): Return timeout of added value.
+       (readdhstai): Return value of addhstaiX call.
+       * nscd/grpcache.c (cache_addgr): Return timeout of added value.
+       (addgrbyX): Return value returned by cache_addgr.
+       (readdgrbyname): Return value returned by addgrbyX.
+       (readdgrbygid): Likewise.
+       * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
+       (addpwbyX): Return value returned by cache_addpw.
+       (readdpwbyname): Return value returned by addhstbyX.
+       (readdpwbyuid): Likewise.
+       * nscd/servicescache.c (cache_addserv): Return timeout of added value.
+       (addservbyX): Return value returned by cache_addserv.
+       (readdservbyname): Return value returned by addservbyX:
+       (readdservbyport): Likewise.
+       * nscd/hstcache.c (cache_addhst): Return timeout of added value.
+       (addhstbyX): Return value returned by cache_addhst.
+       (readdhstbyname): Return value returned by addhstbyX.
+       (readdhstbyaddr): Likewise.
+       (readdhstbynamev6): Likewise.
+       (readdhstbyaddrv6): Likewise.
+       * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
+       (readdinitgroups): Return value returned by addinitgroupsX.
+       * nscd/cache.c (readdfcts): Change return value of functions to time_t.
+       (prune_cache): Keep track of timeout value of re-added entries.
+       * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
+       * nscd/nscd.h: Adjust prototypes of readd* functions.
+
+2011-02-04  Roland McGrath  <roland@redhat.com>
+
+       * nis/nis_server.c (nis_servstate): Use the right name for 0.
+       (nis_stats): Likewise.
+       * nis/nis_modify.c (nis_modify): Likewise.
+       * nis/nis_remove.c (nis_remove): Likewise.
+       * nis/nis_add.c (nis_add): Likewise.
+
+       * elf/dl-object.c (_dl_new_object): Remove unused variable L.
+
+       * posix/fnmatch_loop.c: Add some consts.
+
+       * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
+
+2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       [BZ #12460]
+       * config.make.in (config-cflags-novzeroupper): Define.
+       * configure.in: Substitute libc_cv_cc_novzeroupper.
+       * elf/Makefile (AVX-CFLAGS): Define.
+       (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
+       (CFLAGS-tst-auditmod4a.c): Likewise.
+       (CFLAGS-tst-auditmod4b.c): Likewise.
+       (CFLAGS-tst-auditmod6b.c): Likewise.
+       (CFLAGS-tst-auditmod6c.c): Likewise.
+       (CFLAGS-tst-auditmod7b.c): Likewise.
+       * sysdeps/i386/configure.in: Check -mno-vzeroupper.
+
+2011-02-02  Ulrich Drepper  <drepper@gmail.com>
+
+       * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
+       function to the callback.
+       Patch partly by Jiri Olsa <jolsa@redhat.com>.
+
+2011-02-02  Andreas Schwab  <schwab@redhat.com>
+
+       * shadow/sgetspent.c: Check return value of __sgetspent_r instead
+       of errno.
+
+2011-01-19  Ulrich Drepper  <drepper@gmail.com>
+
+       [BZ #11724]
+       * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
+       of constructors.
+       * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
+       of destructors.
+       (_dl_fini): Don't call _dl_sort_fini if there is only one object.
+
+       [BZ #11724]
+       * elf/Makefile: Add rules to build and run new test.
+       * elf/tst-initorder.c: New file.
+       * elf/tst-initorder.exp: New file.
+       * elf/tst-initordera1.c: New file.
+       * elf/tst-initordera2.c: New file.
+       * elf/tst-initordera3.c: New file.
+       * elf/tst-initordera4.c: New file.
+       * elf/tst-initorderb1.c: New file.
+       * elf/tst-initorderb2.c: New file.
+       * elf/tst-order-a1.c: New file.
+       * elf/tst-order-a2.c: New file.
+       * elf/tst-order-a3.c: New file.
+       * elf/tst-order-a4.c: New file.
+       * elf/tst-order-b1.c: New file.
+       * elf/tst-order-b2.c: New file.
+       * elf/tst-order-main.c: New file.
+       New test case by George Gensure <werkt0@gmail.com>.
+
+2010-10-01  Andreas Schwab  <schwab@redhat.com>
+
+       * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
+       decoding ACE if AI_CANONIDN.
+
+2011-01-18  Ulrich Drepper  <drepper@gmail.com>
+
+       * elf/Makefile: Build IFUNC tests unless multi-arch = no.
+
 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
 
+       * version.h (RELEASE): Bump for 2.13 release.
+       * include/features.h: (__GLIBC_MINOR__): Bump to 13.
+
        * io/fcntl.h: Define AT_NO_AUTOMOUNT.
 
        * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and