aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-03* misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.Ulrich Drepper20-9/+708
* 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.
2009-04-03* sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling ofUlrich Drepper3-51/+37
compatibility code. * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. 2009-04-01 Ulrich Drepper <drepper@redhat.com>
2009-04-03* sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper6-53/+79
__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. c2009-04-01 Ulrich Drepper <drepper@redhat.com>
2009-04-03Add missing protocol numbers.Ulrich Drepper2-1/+13
* sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers.
2009-04-02* configure.in: Recognize --enable-nss-crypt.Ulrich Drepper8-2027/+3212
* 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-02Add nss-crypt entry. Rename pic_default to libc_cv_pic_default.Ulrich Drepper1-1/+3
2009-04-02Missed copyright year updateRoland McGrath1-1/+1
2009-04-02* elf/elf.h (R_SPARC_GLOB_JMP): New macro.Roland McGrath1-0/+11
(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-022009-04-01 Roland McGrath <roland@redhat.com>Roland McGrath1-1/+13
* 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* sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.Ulrich Drepper2-0/+6
2009-04-01* elf/dl-open.c: Keep track of used name spaces and only iterate overcvs/fedora-glibc-20090401T0935Ulrich Drepper13-30/+65
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.
2009-03-31* elf/dl-load.c: Remove support for systems without MAP_ANON.Ulrich Drepper6-45/+13
* elf/dl-minimal.c: Likewise. * elf/dl-misc.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise.
2009-03-30* elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup.Ulrich Drepper2-7/+10
Avoid reuse of complex expression.
2009-03-30* po/fr.po: Update from translation team.Ulrich Drepper1-0/+4
2009-03-30Update from translation team.Ulrich Drepper1-638/+795
2009-03-23[BZ #9985] Jakub Jelinek2-35/+41
* charmaps/UTF-8: Fix encoding of <U1080>..<U109F>, <U12AF>. Based on patch by Keith Stribley <devel@thanlwinsoft.org>. 2009-03-23 Jakub Jelinek <jakub@redhat.com> [BZ #9985] * charmaps/UTF-8: Fix encoding of <U1080>..<U109F>, <U12AF>. Based on patch by Keith Stribley <devel@thanlwinsoft.org>.
2009-03-19* td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE):cvs/fedora-glibc-20090320T1944Roland McGrath1-0/+5
Use STRINGIFY macro in place of #argument.
2009-03-192009-03-19 Roland McGrath <roland@redhat.com>Roland McGrath1-2/+2
* td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE): Use STRINGIFY macro in place of #argument.
2009-03-17Yet more changes to match sort function type change.Ulrich Drepper4-21/+24
2009-03-17* include/dirent.h: Yet more changes to match sort function typeUlrich Drepper1-0/+8
change. * sysdeps/unix/sysv/linux/i386/alphasort64.c: Likewise. * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise. * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
2009-03-16* dirent/scandir64.c (scandir64): Adjust declaration to type change.Ulrich Drepper2-2/+7
2009-03-16* nscd/connections.c (restart): Try to preserve the process nameUlrich Drepper2-1/+22
by reading the /proc/self/exe symlink and using the return name. Patch by Jeff Bastian <jbastian@redhat.com>.
2009-03-16[BZ #9733]Ulrich Drepper6-16/+32
* elf/dl-load.c (_dl_map_object_from_fd): Only call audit hooks if we are not loading a new audit library. * elf/dl-reloc (_dl_relocate_object): Third parameter is now a bitmask. Only use profiling trampoline for auditing if we are not relocating an audit library. * elf/dl-open.c (dl_open_worker): Adjust _dl_relocate_object call. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Adjust _dl_relocate_object prototype.
2009-03-16* elf/rtld.c (dl_main): Extend help message for --audit option.Ulrich Drepper2-1/+4
2009-03-15[BZ #9759]Ulrich Drepper11-47/+77
* dirent/dirent.h: Adjust prototypes of scandir, scandir64, alphasort, alphasort64, versionsort, and versionsort64 to POSIX 2008. * dirent/alphasort.c: Adjust implementation to type change. * dirent/alphasort64.c: Likewise. * dirent/scandir.c: Likewise. * dirent/versionsort.c: Likewise. * dirent/versionsort64.c: Likewise. * sysdeps/wordsize-64/alphasort.c: Add hack to hide alphasort64 declaration. * sysdeps/wordsize-64/versionsort.c: Add hack to hide versionsort64 declaration.
2009-03-15[BZ #9880]Ulrich Drepper5-2/+167
* inet/inet6_rth.c (inet6_rth_reverse): Compute number of segments correctly. Set segleft member in output as required. Patch partly by Yang Hongyang <yanghy@cn.fujitsu.com>. * inet/tst-inet6_rth.c (do_test): Add tests for inet6_rth_reverse.
2009-03-15[BZ #9881]Ulrich Drepper7-9/+60
* inet/inet6_rth.c (inet6_rth_add): Add some error checking. Patch mostly by Yang Hongyang <yanghy@cn.fujitsu.com>. * inet/Makefile (tests): Add tst-inet6_rth. * inet/tst-inet6_rth.c: New file. alignment of La_x86_64_regs. Store xmm parameters.
2009-03-15[BZ #5807]Ulrich Drepper4-151/+36
2009-03-15 Ulrich Drepper <drepper@redhat.com> [BZ #5807] * string/strlen.c (strlen): Fix omission in the expression to test for NUL bytes.
2009-03-15* crypt/sha256test.c (main): Perform 100,000 'a' test in a second way.Ulrich Drepper2-1/+13
2009-03-15* elf/dl-runtime.c (reloc_offset): Define.Ulrich Drepper4-21/+33
(reloc_index): Define. (_dl_fixup): Rename reloc_offset parameter to reloc_arg. (_dl_fixup_profile): Likewise. Use reloc_index instead of computing index from reloc_offset. (_dl_call_pltexit): Likewise. * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Just pass the relocation index to _dl_fixup. (_dl_runtime_profile): Likewise for _dl_fixup_profile and _dl_call_pltexit. * sysdeps/x86_64/dl-runtime.c: New file.
2009-03-14[BZ #9893]Ulrich Drepper3-99/+207
* sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix alignement of La_x86_64_regs. Store xmm parameters. Patch mostly by Jiri Olsa <olsajiri@gmail.com>.
2009-03-14[BZ #9913]Ulrich Drepper3-34/+40
* string/strverscmp.c (__strverscmp): Fix case of different digits in fractional part of string. Patch by Jingyu Liu <jyliu@fortinet.com>. * string/Makefile (tests): Add tst-svc2. * string/tst-svc2.c: New file. * string/strverscmp.c (__strverscmp): Optimize size of tables.
2009-03-14[BZ #9948]Ulrich Drepper3-1/+12
2009-03-14 Ulrich Drepper <drepper@redhat.com> * locale/iso-639.def: Add Min Nan. [BZ #9948]
2009-03-14* elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM.Ulrich Drepper6-29/+249
* elf/dl-sysdep.c (auxvars): Compress data structure.
2009-03-14* sysdeps/i386/dl-machine.h (elf_machine_rel): ImplementUlrich Drepper2-52/+68
STT_GNU_IFUNC handling. (elf_machine_rela): Likewise.
2009-03-13* config.h.in (USE_MULTIARCH): Define.Ulrich Drepper20-75/+813
* 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-12* sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branchUlrich Drepper3-57/+63
prediction. A few size optimizations.
2009-03-10* init.c (nptl_freeres): Compile only for SHARED.Ulrich Drepper2-3/+7
2009-03-10* time/tzset.c: Optimize a bit for size.cvs/fedora-glibc-20090310T1925Ulrich Drepper2-55/+45
2009-03-10* include/stdio.h (fmemopen): Add libc_hidden_proto.Ulrich Drepper4-2/+12
* libio/fmemopen.c (fmemopen): Add libc_hidden_def. * elf/sprof.c: Avoid warning about multi-line comment.
2009-03-10* time/tzset.c (__tzset_parse_tz): Use correct string when parsingUlrich Drepper3-12/+45
DST name. * time/tst-posixtz.c: Add tests for quoted timezone names.
2009-03-10* posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND,Ulrich Drepper3-9/+19
_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. 2009-03-10 Jakub Jelinek <jakub@redhat.com>
2009-03-10* stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcsUlrich Drepper6-6/+18
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* po/id.po: Update from translation team.Ulrich Drepper2-44/+49
2009-03-10* sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: UseUlrich Drepper3-5/+27
.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-10Use .machine push; .machine "power6" and .machine pop around mtfsf insns ↵Ulrich Drepper4-4/+22
outside of _ARCH_PWR6 define.
2009-03-09* sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Define cvs/fedora-glibc-20090309T1421Jakub Jelinek2-1/+13
FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY. 2009-03-09 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Define FUTEX_WAIT_BITSET, FUTEX_WAKE_BITSET, FUTEX_CLOCK_REALTIME and FUTEX_BITSET_MATCH_ANY.
2009-03-08* stdlib/Makefile (routines): Add quick_exit, at_quick_exit, andUlrich Drepper13-30/+232
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.
2009-03-08* po/id.po: Update from translation team.Ulrich Drepper2-664/+899
2009-03-07* po/ru.po: Update from translation team.Ulrich Drepper2-755/+839