about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* [BZ #5807]Ulrich Drepper2009-03-154-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.
* * crypt/sha256test.c (main): Perform 100,000 'a' test in a second way.Ulrich Drepper2009-03-152-1/+13
|
* * elf/dl-runtime.c (reloc_offset): Define.Ulrich Drepper2009-03-154-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.
* [BZ #9893]Ulrich Drepper2009-03-143-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>.
* [BZ #9913]Ulrich Drepper2009-03-143-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.
* [BZ #9948]Ulrich Drepper2009-03-143-1/+12
| | | | | | | 2009-03-14 Ulrich Drepper <drepper@redhat.com> * locale/iso-639.def: Add Min Nan. [BZ #9948]
* * elf/dl-sysdep.c (_dl_show_auxv): Add support for AT_BASE_PLATFORM.Ulrich Drepper2009-03-146-29/+249
| | | | * elf/dl-sysdep.c (auxvars): Compress data structure.
* * sysdeps/i386/dl-machine.h (elf_machine_rel): ImplementUlrich Drepper2009-03-142-52/+68
| | | | | STT_GNU_IFUNC handling. (elf_machine_rela): Likewise.
* * config.h.in (USE_MULTIARCH): Define.Ulrich Drepper2009-03-1320-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.
* * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Add branchUlrich Drepper2009-03-123-57/+63
| | | | prediction. A few size optimizations.
* * init.c (nptl_freeres): Compile only for SHARED.Ulrich Drepper2009-03-102-3/+7
|
* * time/tzset.c: Optimize a bit for size. cvs/fedora-glibc-20090310T1925Ulrich Drepper2009-03-102-55/+45
|
* * include/stdio.h (fmemopen): Add libc_hidden_proto.Ulrich Drepper2009-03-104-2/+12
| | | | | | * libio/fmemopen.c (fmemopen): Add libc_hidden_def. * elf/sprof.c: Avoid warning about multi-line comment.
* * time/tzset.c (__tzset_parse_tz): Use correct string when parsingUlrich Drepper2009-03-103-12/+45
| | | | | DST name. * time/tst-posixtz.c: Add tests for quoted timezone names.
* * posix/unistd.h (_POSIX_VERSION, _POSIX2_VERSION, _POSIX2_C_BIND,Ulrich Drepper2009-03-103-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>
* * stdlib/quick_exit.c (quick_exit): Pass &__quick_exit_funcsUlrich Drepper2009-03-106-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.
* * po/id.po: Update from translation team.Ulrich Drepper2009-03-102-44/+49
|
* * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: UseUlrich Drepper2009-03-103-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.
* Use .machine push; .machine "power6" and .machine pop around mtfsf insns ↵Ulrich Drepper2009-03-104-4/+22
| | | | outside of _ARCH_PWR6 define.
* * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Define cvs/fedora-glibc-20090309T1421Jakub Jelinek2009-03-092-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.
* * stdlib/Makefile (routines): Add quick_exit, at_quick_exit, andUlrich Drepper2009-03-0813-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.
* * po/id.po: Update from translation team.Ulrich Drepper2009-03-082-664/+899
|
* * po/ru.po: Update from translation team.Ulrich Drepper2009-03-072-755/+839
|
* * po/nl.po: Update from translation team.Ulrich Drepper2009-03-042-656/+885
|
* * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Declare fallocate{,64}.Ulrich Drepper2009-03-0311-2/+131
| | | | | | | | | * 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.Ulrich Drepper2009-03-032-650/+1008
|
* [BZ #7083]Ulrich Drepper2009-03-021-0/+1
|
* * sysdeps/unix/sysv/linux/fallocate.c: New file.Ulrich Drepper2009-03-029-1/+175
| | | | | | | | | | | | | | * 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.
* Pretty printing.Ulrich Drepper2009-03-021-13/+13
|
* * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ Jakub Jelinek2009-03-022-2/+12
| | | | | | | | attribute also for non-C99 inline semantics variant. 2009-03-02 Richard Guenther <rguenther@suse.de> * misc/sys/cdefs.h (__extern_always_inline): Add __artificial__ attribute also for non-C99 inline semantics variant.
* * sysdeps/powerpc/powerpc32/power7/fpu/Implies: New file.Ulrich Drepper2009-03-026-0/+20
| | | | | | | | | | * 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.
* * po/cs.po: Update from translation team.Ulrich Drepper2009-03-022-734/+930
|
* * po/vi.po: Likewise.Ulrich Drepper2009-03-012-652/+808
|
* * po/fi.po: Likewise.Ulrich Drepper2009-02-282-3924/+5079
|
* * po/bg.po: Update from translation team.Ulrich Drepper2009-02-282-655/+818
| | | | * po/sv.po: Likewise.
* po/bg.poUlrich Drepper2009-02-281-649/+799
|
* * Makeconfig (%.v.i): Depend on Makeconfig.Roland McGrath2009-02-289-36/+141
| | | | Exclude % lines from initial #-comment removal.
* 2009-02-27 Roland McGrath <roland@redhat.com>Roland McGrath2009-02-281-3/+3
| | | | | * Makeconfig (%.v.i): Depend on Makeconfig. Exclude % lines from initial #-comment removal.
* * po/ko.po: Update from translation team.Ulrich Drepper2009-02-271-0/+4
|
* Update from translation team.Ulrich Drepper2009-02-271-693/+923
|
* * shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it,Roland McGrath2009-02-261-0/+5
| | | | avoids unused warning.
* 2009-02-26 Roland McGrath <roland@redhat.com>Roland McGrath2009-02-261-3/+2
| | | | | * shadow/lckpwdf.c (__lckpwdf): Move FLAGS inside block using it, avoids unused warning.
* 2009-02-26 Andrew Stubbs <ams@codesourcery.com>Ulrich Drepper2009-02-263-8/+61
| | | | | | | | | | | | | | | | SUGIOKA Toshinobu <sugioka@itonet.co.jp> * 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.
* * wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2009-02-2616-86/+151
| | | | | | | | | | | | | | | | | | | | * 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,Ulrich Drepper2009-02-264-11/+25
| | | | open_memstream, and vdprintf are in POSIX 2008.
* * locale/langinfo.h: nl_langinfo_l is in POSIX 2008.Ulrich Drepper2009-02-269-6/+272
| | | | | | | | | | | | | * 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. * 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.
* * ctype/ctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2009-02-2610-57/+88
| | | | | | * dirent/dirent.h: alphasort, dirfd, scandir, and fdopendir are in POSIX 2008. /proc/sys/kernel/rtsig_max doesn't exist anymore, use getrlimit
* * include/features.h: Define macros for XPG7/POSIX 2008.Ulrich Drepper2009-02-2610-27/+47
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and UTIME_OMIT only with __USE_ATFILE. * 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 selectUlrich Drepper2009-02-267-19/+75
| | | | | | | | | | | | | | | | | | | | | 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.
* ..Ulrich Drepper2009-02-252-0/+18
| | | | | | | | | | 2009-02-24 Ulrich Drepper <drepper@redhat.com> * 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.