aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-03-31Merge copyright years in resolv/nss_dns/dns-host.cSiddhesh Poyarekar
2012-03-30optimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.SLiubov Dmitrieva
I've improved the following implementation of memcpy: "sysdeps/i386/i686/multiarch/memcpy-ssse3.S". The patch includes some minor style fixes, but the important part is just using prefetch loops for the case: DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and src and dst pointers have unequal 16 byte alignments. This gives from 6% - 50% performance boost on the atom machine, about 24,73% in geometric mean.
2012-03-30Consider TTL of CNAME record and return minimum TTL in the chainSiddhesh Poyarekar
[BZ #13928] A DNS request consists of multiple resources combined into a single hostent, including multiple CNAME records that may have been assigned different TTL values. In such a case, nscd should take the least TTL among all of the resources as the timeout for the hostent before it is reloaded in its cache so that the hostent remains stale in the database for the least amount of time.
2012-03-30 * resolv/nss_dns/dns-host.c: Update copyright year.Jeff Law
2012-03-302012-03-29 Jeff Law <law@redhat.com>Jeff Law
* crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses due to long keys. * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise. * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2012-03-30Better error handling for sendmmsg use in res_sendUlrich Drepper
2012-03-30Correct check for DNS request send successUlrich Drepper
This predates the sendmmsg use. The two requests can use different request sizes but the check for successful transfer always only used buflen.
2012-03-30Speed up DNS by avoiding a system call if possibleUlrich Drepper
2012-03-30Comment fixes for mmsghdrUlrich Drepper
2012-03-30Fix a bug when converting strings with 1 character using TCVN5712-1Tulio Magno Quites Machado Filho
It isn't necessary to buffer the last character of strings. This can cause a bug with strings that have 1 character between 0x0041 and 0x01b0. [BZ #13691] * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings with only 1 character between 0x0041 and 0x01b0. * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs. * wcsmbs/tst-mbsnrtowcs.c: New file.
2012-03-29Remove xsputn small copy optimization.David S. Miller
* libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize small copies by hand.
2012-03-29 [BZ #13761]Jeff Law
* nis/nss_compat/compat-initgroups.c (getgrent_next_nss, _nss_compat_initgroups_dyn): Fall back to malloc/free for large group memberships.
2012-03-28Optimize mempcpy on sparc.David S. Miller
* sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub that branches into memcpy. * sysdeps/sparc/sparc64/memcpy.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch bits. * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy implementation too. * sysdeps/sparc/mempcpy.S: New file.
2012-03-28Do not elide the libc hidden def of sparc's memset/memcpy when multiarching.David S. Miller
* sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to the IFUNC routine in the libc case. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2012-03-28Use generic memset/memcpy in rtld on sparcv9/sparc64.David S. Miller
* sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file. * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file. * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file. * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file. * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file. * sysdeps/sparc/sparc64/rtld-memset.c: New file. * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
2012-03-28Fix bugs and improve performance of niagara memset/bzero.David S. Miller
* sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main loop to 256 bytes instead of 64 bytes and fix test signedness.
2012-03-28Make sparc's -fPIC addition to ASFLAGS-.os more robust.David S. Miller
* sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here.... * sysdeps/sparc/sparc32/Makefile: rather than here... * sysdeps/sparc/sparc64/Makefile: and here.
2012-03-28Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper
Conflicts: ChangeLog
2012-03-28Avoid warnings in test malloc programUlrich Drepper
2012-03-28 [BZ #13760]Jeff Law
* resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno in the right place. Discard and retry query if response is larger than input buffer size.
2012-03-28Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers
2012-03-28Bug 3868 also fixed by __kernel_standard_l changes.Joseph Myers
2012-03-28Avoid overflows from long double functions using __kernel_standard.Joseph Myers
2012-03-28Fix whitespaceAndreas Jaeger
2012-03-28Regenerate configure filesAndreas Jaeger
2012-03-28Remove sysdeps/elf support from configure.Andreas Jaeger
* configure.in: Remove support for elf directories in sysdeps.
2012-03-28Move sysdeps/s390/s390-64/elf filesAndreas Jaeger
* sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ... * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here. * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ... * sysdeps/s390/s390-64/bsd-setjmp.S: ... here. * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ... * sysdeps/s390/s390-64/setjmp.S: ... here. * sysdeps/s390/s390-64/elf/configure.in: Moved to ... * sysdeps/s390/s390-64/configure.in: ... here * sysdeps/s390/s390-64/elf/configure: Delete file. * sysdeps/s390/s390-64/elf/start.S: Moved to ... * sysdeps/s390/s390-64/start.S: ... here. * sysdeps/s390/s390-64/elf/configure: Delete.
2012-03-28Move sysdeps/s390/s390-32/elf filesAndreas Jaeger
* sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ... * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here. * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ... * sysdeps/s390/s390-32/bsd-setjmp.S: ... here. * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ... * sysdeps/s390/s390-32/setjmp.S: ... here. * sysdeps/s390/s390-32/elf/configure.in: Moved to ... * sysdeps/s390/s390-32/configure.in: ... here. * sysdeps/s390/s390-32/elf/configure: Delete file. * sysdeps/s390/s390-32/elf/start.S: Moved to ... * sysdeps/s390/s390-32/start.S: ... here.
2012-03-28Fix sparc64/elf mergeDavid S. Miller
* sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before have-as-vis3 check.
2012-03-28Move sysdeps/sparc/{,sparc32,sparc64}/elf filesAndreas Jaeger
* sysdeps/sparc/elf/configure.in: Moved to ... * sysdeps/sparc/configure.in: ... here. * sysdeps/sparc/elf/configure: Delete file. * sysdeps/sparc/sparc32/elf/start.S: Moved to ... * sysdeps/sparc/sparc32/start.S: ... here. * sysdeps/sparc/sparc64/elf/start.S: Moved to ... * sysdeps/sparc/sparc64/start.S: ... here. * sysdeps/sparc/sparc32/elf/Makefile: Merged into ... * sysdeps/sparc/sparc32/Makefile: ... this. * sysdeps/sparc/sparc64/elf/Makefile: Merged into ... * sysdeps/sparc/sparc64/Makefile: ... this.
2012-03-28Move sysdeps/powerpc/elf filesAndreas Jaeger
* sysdeps/powerpc/elf/ifunc-sel.h: Moved to ... * sysdeps/powerpc/ifunc-sel.h: ... here. * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ... * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
2012-03-28Move sysdeps/powerpc/powerpc32/elf filesAndreas Jaeger
* sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ... * sysdeps/powerpc/powerpc32/bzero.S: ... here. * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ... * sysdeps/powerpc/powerpc32/start.S: ... here. * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ... * sysdeps/powerpc/powerpc32/configure.in: ... this. * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
2012-03-28Move sysdeps/powerpc/powerpc64/elf filesAndreas Jaeger
* sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ... * sysdeps/powerpc/powerpc64/bzero.S: ... here. * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ... * sysdeps/powerpc/powerpc64/entry.h: ... here. * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ... * sysdeps/powerpc/powerpc64/start.S: here. * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ... * sysdeps/powerpc/powerpc64/Makefile: ... this. * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ... * sysdeps/powerpc/powerpc64/configure.in: ... this. * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
2012-03-28Delete sysdeps/sh/elfAndreas Jaeger
* sysdeps/sh/elf/configure.in: Moved to ... * sysdeps/sh/configure.in: ... here. * sysdeps/sh/elf/start.S: Moved to ... * sysdeps/sh/start.S: ... here. * sysdeps/sh/elf/configure: Delete file.
2012-03-28Fix last commitAndreas Jaeger
Merge the current i386 version of sysdeps/i386/configure.in Regenerate configure
2012-03-27Define MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.Anton Blanchard
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and MAP_HUGETLB. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2012-03-27Run conformtest script explicitly using BASH.David S. Miller
* conform/Makefile: Run run-conformtest.sh using $(BASH).
2012-03-27Fix nptl/tst-cond1{6,7,8}.c on 32-bit with many cpus.David S. Miller
* tst-cond16.c (do_test): Use a thread stack size which is either PTHREAD_STACK_MIN or the page size, whichever is larger. * tst-cond18.c (do_test): Likewise.
2012-03-27RegenerateAndreas Jaeger
2012-03-27Merge branch 'elf-move'Andreas Jaeger
Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in
2012-03-26Update powerpc libm test ULPsAndreas Schwab
2012-03-26Fix undue underflow in ldbl-128ibm version of explAndreas Schwab
2012-03-25Fix last change.Roland McGrath
2012-03-25Fix confstr use of local buffer outside its extent.Roland McGrath
2012-03-232012-03-23 Jeff Law <law@redhat.com>Jeff Law
* nss/getnssent.c (__nss_getent): Fix typo.
2012-03-23Update sparc ULPs for recently added tests and bug fixes.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-23Make sure x86_64 GOT entry slot is always 8 bytesH.J. Lu
2012-03-232012-03-23 Daniel Jacobowitz <dmj@google.com>Paul Pluzhnikov
Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #6528] * grp/Makefile (otherlibs): Don't set it. * inet/Makefile (otherlibs): Likewise. * login/Makefile (otherlibs): Likewise. * nscd/Makefile (otherlibs): Likewise. * posix/Makefile (otherlibs): Likewise. * pwd/Makefile (otherlibs): Likewise. * rt/Makefile (otherlibs): Likewise. * sunrpc/Makefile (otherlibs): Likewise. * nss/Makefile (otherlibs): Likewise. Add libnss_files to routines and static-only-routines. ($(objpfx)getent): Remove rule. * resolv/Makefile: Add libnss_dns and libresolv to routines and static-only-routines.
2012-03-22Fix cexp overflow (bug 13892).Joseph Myers
2012-03-22Replace Elf64_XXX with ElfW(XXX) in dl-irel.hH.J. Lu