about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. cvs/fedora-glibc-20090414T2104Jakub Jelinek2009-04-145-4/+19
| | | | | | | | | | | | * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise. 2009-04-14 Jakub Jelinek <jakub@redhat.com> * sysdeps/powerpc/powerpc32/elf/start.S: Ensure .data is non-empty. * sysdeps/powerpc/powerpc64/elf/start.S: Likewise. * sysdeps/sparc/sparc32/elf/start.S: Likewise. * sysdeps/sparc/sparc64/elf/start.S: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.h: SH also hasUlrich Drepper2009-04-142-1/+6
| | | | preadv/pwritev.
* * sysdeps/x86-64/strrchr.S: New file.Ulrich Drepper2009-04-144-3/+88
|
* * stdio-common/printf.h (struct printf_info): Add user element.Ulrich Drepper2009-04-1112-90/+528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * sysdeps/x86_64/rawmemchr.S: New file.Ulrich Drepper2009-04-103-2/+57
|
* Simplified code and possible copy problem fixed.Ulrich Drepper2009-04-102-17/+4
|
* * stdio-common/vfprintf.c (vfprintf): Slightly more compact code.Ulrich Drepper2009-04-104-20/+17
|
* function if it is not defined. Add some necessary casts.Ulrich Drepper2009-04-093-9/+27
|
* * sysdeps/unix/sysv/linux/preadv.c: Avoid prototype for staticUlrich Drepper2009-04-093-0/+8
| | | | | function if it is not defined. * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
* * sysdeps/unix/sysv/linux/kernel-features.h: SPARC and IA64 alsoUlrich Drepper2009-04-092-1/+7
| | | | have preadv/pwritev in 2.6.30.
* * malloc/malloc.c (malloc_info): New function. cvs/fedora-glibc-20090409T1422Ulrich Drepper2009-04-095-4/+160
| | | | | | | * malloc/malloc.h: Declare it. * malloc/Versions: Export malloc_info for GLIBC_2.10. * resolv/nss_dns/dns-host.c (getanswer_r): Use strcasecmp
* * sysdeps/unix/sysv/linux/preadv64.c (PREAD): Use __libc_pread64Ulrich Drepper2009-04-082-1/+4
| | | | to avoid PLT slot.
* * malloc/malloc.c (_int_realloc): Add parameter with old blockUlrich Drepper2009-04-085-22/+49
| | | | | | size. Remove duplicated test. Don't handle mmap'ed blocks here. Adjust all callers. * malloc/hooks.c (realloc_check): Adjust _int_realloc call.
* * sysdeps/x86_64/strchrnul.S: New file. cvs/fedora-glibc-20090408T1602Ulrich Drepper2009-04-073-3/+69
| | | | depending libcrypt on -lfreebl3.
* * crypt/Makefile (LDLIBS-crypt.so): Use this variable instead ofUlrich Drepper2009-04-072-1/+4
| | | | depending libcrypt in -lfreebl3.
* * sysdeps/unix/sysv/linux/kernel-features.h: Power also hasUlrich Drepper2009-04-072-1/+4
| | | | preadv/pwritev in 2.6.30.
* * resolv/res_hconf.c (_res_hconf_trim_domain): Use strcasecmpUlrich Drepper2009-04-073-3/+7
| | | | | instead of __strcasecmp. * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
* * wcsmbs/wcsatcliff.c (MEMCHR): Define.Ulrich Drepper2009-04-073-0/+7
|
* * string/stratcliff.c (do_test): Add memchr tests..Ulrich Drepper2009-04-074-48/+50
| | | | | * sysdeps/x86_64/memchr.S: Fix handling of end of buffer after first read quad word.
* * string/strverscmp.c (__strverscmp): Fix last cleanups. cvs/fedora-glibc-20090407T0657Ulrich Drepper2009-04-076-5/+14
| | | | | | * 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.Ulrich Drepper2009-04-074-1861/+2065
|
* * resolv/resolv.h (RES_SNGLKUP): Define. cvs/fedora-glibc-20090407T0545Ulrich Drepper2009-04-074-11/+38
| | | | | | | * 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.
* * locales/ks_IN: New file.Ulrich Drepper2009-04-063-3/+220
| | | | | Patch by Mohammad Nayeem <mohammad.nayeem@gmail.com> and Pravin Satpute <psatpute@redhat.com>.
* * sysdeps/x86_64/strchr.S: Likewise.Ulrich Drepper2009-04-063-268/+48
|
* * sysdeps/x86_64/strlen.S: Optimize by using SSE2 instructions.Ulrich Drepper2009-04-054-3686/+2791
|
* * configure.in: We need to test for the compiler earlier.Ulrich Drepper2009-04-032-8/+11
|
* * misc/Makefile (routines): Add preadv, preadv64, pwritev, pwritev64.Ulrich Drepper2009-04-0320-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.
* * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Fix calling ofUlrich Drepper2009-04-033-51/+37
| | | | | | | compatibility code. * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise. 2009-04-01 Ulrich Drepper <drepper@redhat.com>
* * sysdeps/unix/sysv/linux/kernel-features.h: DefineUlrich Drepper2009-04-036-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>
* Add missing protocol numbers.Ulrich Drepper2009-04-032-1/+13
| | | | * sysdeps/unix/sysv/linux/bits/socket.h: Add missing protocol numbers.
* * configure.in: Recognize --enable-nss-crypt.Ulrich Drepper2009-04-028-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.
* Add nss-crypt entry. Rename pic_default to libc_cv_pic_default.Ulrich Drepper2009-04-021-1/+3
|
* Missed copyright year updateRoland McGrath2009-04-021-1/+1
|
* * elf/elf.h (R_SPARC_GLOB_JMP): New macro.Roland McGrath2009-04-021-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-01 Roland McGrath <roland@redhat.com>Roland McGrath2009-04-021-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>.
* * sysdeps/unix/sysv/linux/sys/eventfd.h (EFD_SEMAPHORE): Define.Ulrich Drepper2009-04-012-0/+6
|
* * elf/dl-open.c: Keep track of used name spaces and only iterate over cvs/fedora-glibc-20090401T0935Ulrich Drepper2009-04-0113-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.
* * elf/dl-load.c: Remove support for systems without MAP_ANON.Ulrich Drepper2009-03-316-45/+13
| | | | | | | * elf/dl-minimal.c: Likewise. * elf/dl-misc.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise.
* * elf/do-lookup.h (do_lookup_x): Minor optimization and cleanup.Ulrich Drepper2009-03-302-7/+10
| | | | Avoid reuse of complex expression.
* * po/fr.po: Update from translation team.Ulrich Drepper2009-03-301-0/+4
|
* Update from translation team.Ulrich Drepper2009-03-301-638/+795
|
* [BZ #9985] Jakub Jelinek2009-03-232-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>.
* * td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE): cvs/fedora-glibc-20090320T1944Roland McGrath2009-03-191-0/+5
| | | | Use STRINGIFY macro in place of #argument.
* 2009-03-19 Roland McGrath <roland@redhat.com>Roland McGrath2009-03-191-2/+2
| | | | | * td_symbol_list.c (DB_LOOKUP_NAME, DB_LOOKUP_NAME_TH_UNIQUE): Use STRINGIFY macro in place of #argument.
* Yet more changes to match sort function type change.Ulrich Drepper2009-03-174-21/+24
|
* * include/dirent.h: Yet more changes to match sort function typeUlrich Drepper2009-03-171-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.
* * dirent/scandir64.c (scandir64): Adjust declaration to type change.Ulrich Drepper2009-03-162-2/+7
|
* * nscd/connections.c (restart): Try to preserve the process nameUlrich Drepper2009-03-162-1/+22
| | | | | by reading the /proc/self/exe symlink and using the return name. Patch by Jeff Bastian <jbastian@redhat.com>.
* [BZ #9733]Ulrich Drepper2009-03-166-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.
* * elf/rtld.c (dl_main): Extend help message for --audit option.Ulrich Drepper2009-03-162-1/+4
|