summaryrefslogtreecommitdiff
path: root/libc/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ChangeLog')
-rw-r--r--libc/ChangeLog203
1 files changed, 203 insertions, 0 deletions
diff --git a/libc/ChangeLog b/libc/ChangeLog
index 7c6bae16b..283f49bb5 100644
--- a/libc/ChangeLog
+++ b/libc/ChangeLog
@@ -1,3 +1,206 @@
+2009-04-13 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/x86-64/strrchr.S: New file.
+
+2009-04-10 Ulrich Drepper <drepper@redhat.com>
+
+ * stdio-common/printf.h (struct printf_info): Add user element.
+ New types printf_arginfo_size_function, printf_va_arg_function.
+ Declare register_printf_specifier, register_printf_modifier,
+ register_printf_type.
+ * stdio-common/printf-parse.h (struct printf_spec): Add size element.
+ (union printf_arg): Add pa_user element.
+ Adjust __printf_arginfo_table type.
+ Add __printf_va_arg_table, __printf_modifier_table,
+ __handle_registered_modifier_mb, and __handle_registered_modifier_wc
+ declarations.
+ * stdio-common/printf-parsemb.c: Recognize registered modifiers.
+ If registered arginfo call failed try normal specifier.
+ * stdio-common/printf-prs.c: Pass additional parameter to arginfo
+ function.
+ * stdio-common/Makefile (routines): Add reg-modifier and reg-type.
+ * stdio-common/Versions: Export register_printf_modifier,
+ register_printf_type, and register_printf_specifier for GLIBC_2.10.
+ * stdio-common/reg-modifier.c: New file.
+ * stdio-common/reg-type.c: New file.
+ * stdio-common/reg-printf.c (__register_printf_specifier): New
+ function. Mostly the old __register_printf_function function but
+ uses locking and type of third parameter changed.
+ (__register_printf_function): Implement using
+ __register_printf_specifier.
+ * stdio-common/vfprintf.c (vfprintf): Collect argument sizes in
+ calls to arginfo functions. Allocate enough memory for user-defined
+ types. Call new va_arg functions to get user-defined types.
+ Try installed handlers even for existing format specifiers first.
+
+2009-04-09 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/x86_64/rawmemchr.S: New file.
+
+ * stdio-common/vfprintf.c (vfprintf): Slightly more compact code.
+ Simplified code and possible copy problem fixed.
+
+ * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for static
+ function if it is not defined. Add some necessary casts.
+ * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
+
+ * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 also
+ have preadv/pwritev in 2.6.30.
+
+2009-04-08 Ulrich Drepper <drepper@redhat.com>
+
+ * malloc/malloc.c (malloc_info): New function.
+ * malloc/malloc.h: Declare it.
+ * malloc/Versions: Export malloc_info for GLIBC_2.10.
+
+ * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64
+ to avoid PLT slot.
+
+ * malloc/malloc.c (_int_realloc): Add parameter with old block
+ size. Remove duplicated test. Don't handle mmap'ed blocks here.
+ Adjust all callers.
+ * malloc/hooks.c (realloc_check): Adjust _int_realloc call.
+
+2009-04-07 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/x86_64/strchrnul.S: New file.
+
+ * crypt/Makefile (LDLIBS-crypt.so): Use this variable instead of
+ depending libcrypt on -lfreebl3.
+
+ * sysdeps/unix/sysv/linux/kernel-features.h: Power also has
+ preadv/pwritev in 2.6.30.
+
+ * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp
+ instead of __strcasecmp.
+
+ * string/stratcliff.c (do_test): Add memchr tests..
+ * wcsmbs/wcsatcliff.c (MEMCHR): Define.
+ * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after
+ first read quad word.
+
+2009-04-06 Ulrich Drepper <drepper@redhat.com>
+
+ * string/strverscmp.c (__strverscmp): Fix last cleanups.
+ * string/tst-svc.input: Add new test case.
+ * string/tst-svc.expect: Adjust.
+ * string/Makefile: Don't ignore tst-svc error.
+
+ * sysdeps/x86_64/memchr.S: New file.
+
+ * resolv/resolv.h (RES_SNGLKUP): Define.
+ * resolv/res_init.c (res_setoptions): Recognize single-request option.
+ * resolv/res_send.c (send_dg): If we sent two requests at once and
+ only get one reply before timeout switch to mode where we send the
+ second request only after the first answer has been received.
+
+2009-04-05 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions.
+ * sysdeps/x86_64/strchr.S: Likewise.
+
+2009-04-03 Ulrich Drepper <drepper@redhat.com>
+
+ * configure.in: We need to test for the compiler earlier.
+
+ * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.
+ * misc/Versions: Export preadv, preadv64, pwritev, pwritev64 for
+ GLIBC_2.10.
+ * misc/sys/uio.h: Declare preadv, preadv64, pwritev, pwritev64.
+ * sysdeps/unix/sysv/linux/kernel-features.h: Add entries for preadv
+ and pwritev.
+ * misc/preadv.c: New file.
+ * misc/preadv64.c: New file.
+ * misc/pwritev.c: New file.
+ * misc/pwritev64.c: New file.
+ * sysdeps/posx/preadv.c: New file.
+ * sysdeps/posx/preadv64.c: New file.
+ * sysdeps/posx/pwritev.c: New file.
+ * sysdeps/posx/pwritev64.c: New file.
+ * sysdeps/unix/sysv/linux/preadv.c: New file.
+ * sysdeps/unix/sysv/linux/preadv64.c: New file.
+ * sysdeps/unix/sysv/linux/pwritev.c: New file.
+ * sysdeps/unix/sysv/linux/pwritev64.c: New file.
+ * sysdeps/unix/sysv/linux/wordsize-64/preadv64.c: New file.
+ * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.c: New file.
+
+ * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling of
+ compatibility code.
+ * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
+
+ * sysdeps/unix/sysv/linux/kernel-features.h: Define
+ __ASSUME_COMPLETE_READV_WRITEV.
+ * sysdeps/unix/sysv/linux/readv.c: No need for userlevel fallback
+ with modern kernels.
+ * sysdeps/unix/sysv/linux/writev.c: Likewise.
+
+ * sysdeps/posix/readv.c: Since read is a cancellation point we have
+ to free a possible malloced buffer in case of cancellation.
+ * sysdeps/posix/writev.c: Likewise for write.
+
+2009-04-02 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers.
+
+ * configure.in: Recognize --enable-nss-crypt.
+ * config.make.in: Add nss-crypt entry.
+ * crypt/Makefile: If nss-crypt==yes, don't build md5.c, sha256.c,
+ sha512.c. Don't run md5test, sha256test, sha512test. Pass -DUSE_NSS
+ and include path for NSS directory to compiler for md5-crypt,
+ sha256-crypt, sha512-crypt. Link libcrypt.so with -lfreebl3.
+ * crypt/md5-crypt.c: If USE_NSS is defined, don't use local hash
+ function implementation, use NSS. Introduce wrappers around the
+ hash function calls. Little code size optimization.
+ * crypt/sha256-crypt.c: Likewise.
+ * crypt/sha512-crypt.c: Likewise.
+ * scripts/check-local-headers.sh: Ignore nss3 directory.
+
+ * configure.in: Rename pic_default to libc_cv_pic_default.
+ * config.make.in: Likewise.
+
+2009-04-01 Roland McGrath <roland@redhat.com>
+
+ * elf/elf.h (R_SPARC_GLOB_JMP): New macro.
+ (R_SPARC_GOTDATA_HIX22, R_SPARC_GOTDATA_LOX10): New macros.
+ (R_SPARC_GOTDATA_OP_HIX22, R_SPARC_GOTDATA_OP_LOX10): Likewise.
+ (R_SPARC_GOTDATA_OP, R_SPARC_H34): Likewise.
+ (R_SPARC_SIZE32, R_SPARC_SIZE64): Likewise.
+ (R_SPARC_GNU_VTINHERIT, R_SPARC_GNU_VTENTRY, R_SPARC_REV32): Likewise.
+ (R_SPARC_NUM): Update.
+ From Dave Miller <davem@davemloft.net>.
+
+2009-04-01 Ulrich Drepper <drepper@redhat.com>
+
+ * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.
+
+2009-03-31 Ulrich Drepper <drepper@redhat.com>
+
+ * elf/dl-open.c: Keep track of used name spaces and only iterate over
+ those which are used.
+ * elf/dl-addr.c: Likewise.
+ * elf/dl-caller.c: Likewise.
+ * elf/dl-fini.c: Likewise.
+ * elf/dl-iteratephdr.c: Likewise.
+ * elf/dl-libc.c: Likewise.
+ * elf/dl-load.c: Likewise.
+ * elf/dl-support.c: Likewise.
+ * elf/dl-sym.c: Likewise.
+ * elf/rtld.c: Likewise.
+ * sysdeps/generic/ldsodefs.h: Likewise.
+
+ * elf/dl-load.c: Remove support for systems without MAP_ANON.
+ * elf/dl-minimal.c: Likewise.
+ * elf/dl-misc.c: Likewise.
+ * elf/rtld.c: Likewise.
+ * sysdeps/generic/ldsodefs.h: Likewise.
+
+2009-03-30 Ulrich Drepper <drepper@redhat.com>
+
+ * elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup.
+ Avoid reuse of complex expression.
+
+ * po/fr.po: Update from translation team.
+
2009-03-16 Ulrich Drepper <drepper@redhat.com>
* include/dirent.h: Yet more changes to match sort function type