X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ChangeLog;h=fe5474228bb8f3e2ac5871d830299098a782394e;hb=1f7c90a722f7a4cde0a47be1968dee4e1ad876a4;hp=c6f7134e3ade2608184e7f76bbbe68294fbe6b30;hpb=cbbcaf2369b2111d9388ce54ea18854319dbfab3;p=platform%2Fupstream%2Fglibc.git diff --git a/ChangeLog b/ChangeLog index c6f7134..fe54742 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,472 @@ +2009-03-14 Ulrich Drepper + + [BZ #9893] + * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix + alignement of La_x86_64_regs. Store xmm parameters. + Patch mostly by Jiri Olsa . + + [BZ #9913] + * string/strverscmp.c (__strverscmp): Fix case of different digits + in fractional part of string. + Patch by Jingyu Liu . + * string/Makefile (tests): Add tst-svc2. + * string/tst-svc2.c: New file. + + * string/strverscmp.c (__strverscmp): Optimize size of tables. + + * locale/iso-639.def: Add Min Nan. + +2009-03-11 Carlos Eduardo Seo + + [BZ #9948] + * elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM. + +2009-03-14 Ulrich Drepper + + * elf/dl-sysdep.c (auxvars): Compress data structure. + + * sysdeps/i386/dl-machine.h (elf_machine_rel): Implement + STT_GNU_IFUNC handling. + (elf_machine_rela): Likewise. + +2009-03-13 Ulrich Drepper + + * config.h.in (USE_MULTIARCH): Define. + * configure.in: Handle --enable-multi-arch. + * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. + (_dl_fixup_profile): Likewise. + * elf/do-lookup.c (dl_lookup_x): Likewise. + * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. + * elf/elf.h (STT_GNU_IFUNC): Define. + * include/libc-symbols.h (libc_ifunc): Define. + * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the + framework in init-arch.h to get CPUID values. + * sysdeps/x86_64/multiarch/Makefile: New file. + * sysdeps/x86_64/multiarch/init-arch.c: New file. + * sysdeps/x86_64/multiarch/init-arch.h: New file. + * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. + + * config.make.in (experimental-malloc): Define. + * configure.in: Handle --enable-experimental-malloc. + * malloc/Makefile: Handle experimental-malloc flag. + * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. + * malloc/arena.c: Likewise. + * malloc/hooks.c: Likewise. + * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX. + +2009-03-11 Ulrich Drepper + + * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branch + prediction. A few size optimizations. + +2009-03-10 Ulrich Drepper + + * time/tzset.c: Optimize a bit for size. + +2009-03-10 Jakub Jelinek + + * include/stdio.h (fmemopen): Add libc_hidden_proto. + * libio/fmemopen.c (fmemopen): Add libc_hidden_def. + + * elf/sprof.c: Avoid warning about multi-line comment. + +2009-03-10 Ulrich Drepper + + * time/tzset.c (__tzset_parse_tz): Use correct string when parsing + DST name. + * time/tst-posixtz.c: Add tests for quoted timezone names. + +2009-03-10 Jakub Jelinek + + * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND, + _POSIX2_C_DEV, _POSIX2_SW_DEV, _POSIX2_LOCALEDEF): Define to + 200809L instead of 200112L. + (_XOPEN_VERSION): For __USE_XOPEN2K8 define to 700. + * posix/tst-sysconf.c (STDVER): Define to 200809L instead of 200112L. + + * stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcs + instead of __quick_exit_funcs to __run_exit_handlers. + * stdlib/at_quick_exit.c (at_quick_exit): Add attribute_hidden. + * stdlib/exit.h (__run_exit_handlers): Add noreturn attribute. + (__cxa_at_quick_exit): Remove attribute_hidden. + * stdlib/exit.c (exit): Pass &__exit_funcs instead of __exit_funcs + to __run_exit_handlers. + * stdlib/cxa_at_quick_exit.c (__cxa_at_quick_exit): Remove + attribute_hidden. + +2009-03-10 Ulrich Drepper + + * po/id.po: Update from translation team. + +2009-02-18 Jakub Jelinek + + * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Use + .machine push; .machine "power6" and .machine pop around mtfsf + insns outside of _ARCH_PWR6 define. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: + Likewise. + * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_SET_DI_FPSCR): Likewise. + * sysdeps/powerpc/fpu/fenv_libc.h (fesetenv_register, + relax_fenv_state): Likewise. + +2009-03-08 Ulrich Drepper + + * stdlib/Makefile (routines): Add quick_exit, at_quick_exit, and + cxa_at_quick_exit. + (static-only-routines): Add at_quick_exit. + * stdlib/Versions: Export quick_exit and __cxa_at_quick_exit for + GLIBC_2.10. + * stdlib/quick_exit.c: New file. + * stdlib/at_quick_exit.c: New file. + * stdlib/cxa_at_quick_exit.c: New file. + * stdlib/cxa_atexit.c (__cxa_atexit): Move body to new function. Call + it appropriately. + (__internal_atexit): New function. + (__new_exitfn): Now takes parameter to point to the list to use. + * stdlib/cxa_finalize.c: Remove quick_exit handlers, don't call them. + * stdlib/exit.c (__run_exit_handlers): New function. Split from... + (exit): ...here. Just call __run_exit_handlers appropriately. + * stdlib/exit.h: Declare __quick_exit_funcs, __run_exit_handlers, + __internal_atexit, __cxa_at_quick_exit. Adjust __new_exitfn. + * stdlib/on_exit.c: Adjust call to __new_exitfn. + * stdlib/stdlib.h: Declare at_quick_exit and quick_exit. + + * po/id.po: Update from translation team. + +2009-03-07 Ulrich Drepper + + * po/ru.po: Update from translation team. + +2009-03-04 Ulrich Drepper + + * po/nl.po: Update from translation team. + +2009-03-03 Ulrich Drepper + + * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}. + * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise. + * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise. + + * po/pl.po: Update from translation team. + +2009-03-02 Ulrich Drepper + + [BZ #7083] + * sysdeps/unix/sysv/linux/fallocate.c: New file. + * sysdeps/unix/sysv/linux/fallocate64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: New file. + * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: New file. + * sysdeps/unix/sysv/linux/i386/fallocate64.c: New file. + * sysdeps/unix/sysv/linux/i386/fallocate.c: New file. + * sysdeps/unix/sysv/linux/Versions: Export fallocate and fallocate64 + for GLIBC_2.10. + * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines): + Add fallocate and fallocate64. + + * io/fcntl.h: Pretty printing. + +2009-03-02 Richard Guenther + + * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ + attribute also for non-C99 inline semantics variant. + +2009-02-12 Carlos Eduardo Seo + + * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file. + * sysdeps/powerpc/powerpc32/power7/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise. + * sysdeps/powerpc/powerpc64/power7/Implies: Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: + Likewise. + * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: + Likewise. + +2009-03-02 Ulrich Drepper + + * po/cs.po: Update from translation team. + +2009-02-28 Ulrich Drepper + + * po/bg.po: Update from translation team. + * po/sv.po: Likewise. + * po/fi.po: Likewise. + * po/vi.po: Likewise. + +2009-02-27 Roland McGrath + + * Makeconfig (%.v.i): Depend on Makeconfig. + Exclude % lines from initial #-comment removal. + +2009-02-27 Ulrich Drepper + + * po/ko.po: Update from translation team. + +2009-02-26 Roland McGrath + + * shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it, + avoids unused warning. + +2009-02-26 Andrew Stubbs + SUGIOKA Toshinobu + + * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Don't include signal.h, + sys/ucontext.h and asm/elf.h. Include sys/user.h. + * sysdeps/unix/sysv/linux/sh/sys/user.h: Don't include features.h + and asm/user.h. Include asm/ptrace.h. + (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, + PTRACE_SETFPREGS, PTRACE_GETFDPIC, PTRACE_GETFDPIC_EXEC, + PTRACE_GETFDPIC_INTERP, PTRACE_GETDSPREGS, PTRACE_SETDSPREGS): + Undefine. + (start_thread): Don't undefine. + (elf_greg_t, ELF_NGREG, elf_fpregset_t, user_fpu_struct, user): + Define. + +2009-02-26 Ulrich Drepper + + * wctype/wctype.h: The *_l functions are in POSIX 2008. + * wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, + wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, + wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. + * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from + 200112L to 200809L. + * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. + * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and + _SC_THREAD_ROBUST_PRIO_PROTECT entries. + * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and + _SC_THREAD_ROBUST_PRIO_PROTECT. + * posix/unistd.h: fexecve is in POSIX 2008. + * time/time.h: strftime_l is in POSIX 2008. + * io/sys/stat.h: futimens is in POSIX 2008. + * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. + * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, + strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. + * stdlib/stdlib.h: mkdtemp is in POSIX 2008. + * libio/stdio.h: dprintf, fmemopen, getdelim, getline, + open_memstream, and vdprintf are in POSIX 2008. + +2009-02-25 Ulrich Drepper + + * include/features.h: Define macros for XPG7/POSIX 2008. + * ctype/ctype.h: The *_l functions are in POSIX 2008. + * dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in + POSIX 2008. + * locale/langinfo.h: nl_langinfo_l is in POSIX 2008. + * locale/xlocale.h: Define locale_t type. + * locale/locale.h: duplocale, freelocale, newlocale, uselocale are + in POSIX 2008. Don't define locale_t here. + * stdlib/monetary.h: strfmon_l is in POSIX 2008. + * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and + UTIME_OMIT only with __USE_ATFILE. + * signal/signal.h: Declare psignal and psiginfo for POSIX 2008. + * stdio-common/psiginfo.c: New file. + * stdio-common/psiginfo-data.h: New file. + * stdio-common/psiginfo-define.h: New file. + * stdio-common/Makefile (routines): Add psiginfo. + * stdio-common/Versions: Export psiginfo for GLIBC_2.10. + * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. + * io/sys/stat.h: Move mknodat definition into same conditional as + mknod. + * time/sys/time.h: futimesat is not among the functions accepted + into the POSIX standard. + + * include/features.h: If no feature selection given and we select + by default a POSIX mode, also define __USE_POSIX_IMPLICITLY. + * posix/Versions: Export __posix_getopt. + * posix/getopt.c (_getopt_initialize): Take additional parameter. + Use it to alternatively initialize __posixly_correct. + (_getopt_internal_r): Take addition parameter. Pass on to + _getopt_initialize. + (_getopt_internal): Take addition parameter. Pass on to + _getopt_internal_r. + (getopt): Pass additional zero to _getopt_internal. + (__posix_getopt): New function. + * posix/getopt.h: Add redirection for getopt. + * posix/getopt1.c (getopt_long): Pass additional zero to + _getopt_internal. + (getopt_long_only): Likewise. + (_getopt_long_r): Pass additional zero to _getopt_internal_r. + (_getopt_long_only_r): Likewise. + * posix/getopt_int.h: Adjust declarations of _getopt_internal and + _getopt_internal_r. + +2009-02-24 Ulrich Drepper + + * bits/confname.h: Define _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, + _SC_TRACE_SYS_MAX, _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. + * sysdeps/posix/sysconf.c (__sysconf): Handle + _SC_TRACE_EVENT_NAME_MAX, _SC_TRACE_NAME_MAX, _SC_TRACE_SYS_MAX, + _SC_TRACE_USER_EVENT_MAX, _SC_XOPEN_STREAMS. + +2009-02-24 Roland McGrath + + [BZ #9895] + * README.template: Reworded not to use substituted version number. + Renamed to ... + * README: ... here (no longer generated). + * Makefile (README): Target removed. + +2009-02-24 Ulrich Drepper + + * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): + /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit + instead. + + * io/sys/stat.h: The lstat functions have been mandatory since 2001. + + * time/tzset.c (tzset_internal): Correct parsing of TZ envvar. + +2009-02-22 Ulrich Drepper + + * po/bg.po: Update from translation team. + +2009-02-16 Jakub Jelinek + + * stdlib/monetary.h: Uglify function parameter names. + * sunrpc/rpc/pmap_clnt.h: Likewise. + * sunrpc/rpc/svc.h: Likewise. + * sunrpc/rpc/xdr.h: Likewise. + * sunrpc/rpc/clnt.h: Likewise. + * resolv/netdb.h: Likewise. + * resolv/arpa/nameser.h: Likewise. + * resolv/resolv.h: Likewise. + * argp/argp.h: Likewise. + * locale/langinfo.h: Likewise. + * io/sys/stat.h: Likewise. + * posix/spawn.h: Likewise. + * nis/rpcsvc/nislib.h: Likewise. + * malloc/obstack.h: Likewise. + * sysdeps/ia64/bits/link.h: Likewise. + * sysdeps/i386/bits/link.h: Likewise. + * sysdeps/s390/bits/link.h: Likewise. + * sysdeps/powerpc/bits/link.h: Likewise. + * sysdeps/x86_64/bits/link.h: Likewise. + * sysdeps/sparc/bits/link.h: Likewise. + * sysdeps/sh/bits/link.h: Likewise. + * sysdeps/unix/sysv/linux/i386/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Likewise. + * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise. + +2008-12-01 Fredrik Unger + + * soft-fp/double.h [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D, + FP_UNPACK_SEMIRAW_DP): Use _FP_UNPACK_RAW_1 instead of + _FP_UNPACK_RAW_2, fix up first argument. + +2009-02-15 Ulrich Drepper + + * sysdeps/unix/sysv/linux/getsysstats.c (next_line): New function. + (GET_NPROCS_PARSER): Change parameters and use next_line. + (__get_nprocs): Rewrite to not use stdio routines. + * sysdeps/unix/sysv/linux/sparc/getsysstats.c (GET_NPROCS_PARSER): + Change parameters and use next_line. + +2009-02-13 Ulrich Drepper + + [BZ #5381] + * nscd/nscd.h: Remove definitions and declarations for mem_in_flight. + Change mempool_alloc prototype. + * nscd/mem.c (gc): Don't handle mem_in_flight. + (mempool_alloc): Third parameter now only indicates whether this is the + first call (to allocate data) or not. If it is, get db rdlock. + Release it on error. Don't handle mem_in_flight. + * nscd/aicache.c (addhstaiX): Mark he parameter as const. + Adjust third parameter of mempool_alloc calls. + Nothing to do here in case mempool_alloc fails. + Avoid local variable shadowing parameter. No need to get db rdlock + before calling cache_add. + * nscd/cache.c (cache_add): Adjust call to mempool_alloc. There is + no mem_in_flight array anymore. + * nscd/connections.c: Remove definition and handling of mem_in_flight. + * nscd/grpcache.c (cache_addgr): Adjust third parameter of + mempool_alloc calls. Mark he parameter as const. Nothing to do here + in case mempool_alloc fails. No need to get db rdlock before calling + cache_add. + * nscd/hstcache.c (cache_addhst): Likewise. + * nscd/initgrcache.c (addinitgroupsX): Likewise. + * nscd/servicescache.c (cache_addserv): Likewise. + * nscd/pwdcache.c (cache_addpw): Likewise. Remove some debugging code. + +2009-02-11 Ulrich Drepper + + * po/lt.po: Update from translation team. + +2009-02-10 Ulrich Drepper + + * elf/dl-load.c (open_verify): In case VALID_ELF_HEADER is + defined, allow additional data to be added using the optional + MORE_ELF_HEADER_DATA macro. + * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER, + VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Define. + +2009-02-08 Ulrich Drepper + + * include/atomic.h: Define catomic_and if not already defined. + * sysdeps/x86_64/bits/atomic.h: Define catomic_and. + * sysdeps/i386/i486/bits/atomic.h: Likewise. + +2009-02-07 Ulrich Drepper + + * malloc/malloc.c (_int_free): Second argument is now mchunkptr. + Change all callers. + (_int_realloc): Likewise. Third argument is now padded size + All _int_* functions are now static. + + * malloc/hooks.c: Change all callers to _int_free and _int_realloc. + * malloc/arena.c: Likewise. + * include/malloc.h: Remove now unnecessary declarations of the _int_* + functions. + + * sunrpc/rpc_common.c: We cannot move _null_auth into .rodata that + easily. + + * malloc/malloc.c: Add branch prediction for use of the hooks. + + * grp/compat-initgroups.c [NOT_IN_libc] (__libc_use_alloca): Define. + 2009-02-06 Ulrich Drepper + [BZ #7095] + * bits/confname.h: Add SUSv7 macros for getconf environments. + * bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/i386/bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/powerpc/bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/s390/bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/sparc/bits/environments.h: Likewise. + * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Likewise. + * posix/confstr.c: Handle SUSv5 and SUSv7 environments. + * posix/getconf.c: Likewise. + * posix/sysconf.c: Likewise. + * sysdeps/posix/sysconf.c: Likewise. + * posix/Makefile (getconf.speclist): Also collect SUSv5 and SUSv7 + environments. + +2009-01-16 Petr Baudis + + [BZ #9753] + * resolv/res_libc.c (__res_maybe_init): Call __res_vinit() + even if we currently have zero nscount. + +2009-02-06 Ulrich Drepper + + [BZ #9781] + * grp/compat-initgroups.c (compat_call): Switch to use malloc when + the input line is too long. + + * po/Makefile (libc.pot): Add f_print as function taking c-format + parameter. + * debug/xtrace.sh: Unify translatable messages. * elf/ldd.bash.in: Likewise. * elf/sprof.c: Likewise.