about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
...
* Add __bswap_64 definition for non GCC compilers.Andreas Jaeger2012-04-038-28/+98
| | | | | | | | | [BZ#13926] Currently __bswap_64 is not defined at all for non-GCC compilers. Define it but guard it with __GLIBC_HAVE_LONG_LONG. endian.h uses __bswap_64, make the functions only available if __GLIBC_HAVE_LONG_LONG is defined.
* Fix bug in previous tcvn5712 commit e64d2de52.Tulio Magno Quites Machado Filho2012-04-022-2/+9
| | | | | | [BZ #13691] * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using inptr and inend, rather than using last_ch.
* Tighten up vfprintf width, precision, and total length overflow handling.David S. Miller2012-04-025-39/+147
| | | | | | | | | | | | | | | | With help from Paul Eggert, Carlos O'Donell, and Roland McGrath. * stdio-common/printf-parse.h (read_int): Change return type to 'int', return -1 on INT_MAX overflow. * stdio-common/vfprintf.c (vfprintf): Validate width and precision against overflow of INT_MAX. Set errno to EOVERFLOW when 'done' overflows INT_MAX. Check for overflow of in-format-string precision values properly. Use EOVERFLOW rather than ERANGE throughout. Use SIZE_MAX not INT_MAX for integer overflow test. * stdio-common/printf-parsemb.c: If read_int signals an overflow, skip the construct in the format string but do not record anything. * stdio-common/bug22.c: Adjust to test both width/prevision INT_MAX overflow as well as total length INT_MAX overflow. Check explicitly for proper errno values.
* Testsuite #include fixes.Thomas Schwinge2012-04-025-3/+16
|
* Call __ctype_init in early glibc startup.Thomas Schwinge2012-04-026-6/+33
| | | | This adds the bits missing from fd5bdc0924e0cfd1688b632068c1b26f3b0c88da.
* Updated Vietnamese translationUlrich Drepper2012-04-012-693/+996
|
* Updated Russian translationsUlrich Drepper2012-04-012-1/+5
|
* Merge copyright years in resolv/nss_dns/dns-host.cSiddhesh Poyarekar2012-03-312-1/+5
|
* optimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.SLiubov Dmitrieva2012-03-302-536/+1456
| | | | | | | | | | | | | | 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.
* Consider TTL of CNAME record and return minimum TTL in the chainSiddhesh Poyarekar2012-03-303-4/+26
| | | | | | | | | [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.
* * resolv/nss_dns/dns-host.c: Update copyright year.Jeff Law2012-03-302-1/+3
|
* 2012-03-29 Jeff Law <law@redhat.com>Jeff Law2012-03-304-11/+93
| | | | | | | * 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.
* Better error handling for sendmmsg use in res_sendUlrich Drepper2012-03-301-5/+7
|
* Correct check for DNS request send successUlrich Drepper2012-03-302-2/+2
| | | | | | This predates the sendmmsg use. The two requests can use different request sizes but the check for successful transfer always only used buflen.
* Speed up DNS by avoiding a system call if possibleUlrich Drepper2012-03-302-17/+86
|
* Comment fixes for mmsghdrUlrich Drepper2012-03-302-3/+9
|
* Fix a bug when converting strings with 1 character using TCVN5712-1Tulio Magno Quites Machado Filho2012-03-305-7/+99
| | | | | | | | | | | 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.
* Remove xsputn small copy optimization.David S. Miller2012-03-292-15/+9
| | | | | * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize small copies by hand.
* [BZ #13761]Jeff Law2012-03-293-18/+69
| | | | | | * nis/nss_compat/compat-initgroups.c (getgrent_next_nss, _nss_compat_initgroups_dyn): Fall back to malloc/free for large group memberships.
* Optimize mempcpy on sparc.David S. Miller2012-03-289-13/+124
| | | | | | | | | | | | | | * 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.
* Do not elide the libc hidden def of sparc's memset/memcpy when multiarching.David S. Miller2012-03-283-10/+14
| | | | | | * 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.
* Use generic memset/memcpy in rtld on sparcv9/sparc64.David S. Miller2012-03-289-0/+17
| | | | | | | | | | | * 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.
* Fix bugs and improve performance of niagara memset/bzero.David S. Miller2012-03-282-4/+53
| | | | | * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main loop to 256 bytes instead of 64 bytes and fix test signedness.
* Make sparc's -fPIC addition to ASFLAGS-.os more robust.David S. Miller2012-03-284-6/+9
| | | | | | * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here.... * sysdeps/sparc/sparc32/Makefile: rather than here... * sysdeps/sparc/sparc64/Makefile: and here.
* Merge branch 'master' of ssh://sourceware.org/git/glibcUlrich Drepper2012-03-283-4/+17
|\ | | | | | | | | Conflicts: ChangeLog
| * [BZ #13760]Jeff Law2012-03-283-4/+17
| | | | | | | | | | | | * 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.
* | Avoid warnings in test malloc programUlrich Drepper2012-03-282-9/+16
|/
* Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers2012-03-288-27/+436
|
* Bug 3868 also fixed by __kernel_standard_l changes.Joseph Myers2012-03-282-2/+3
|
* Avoid overflows from long double functions using __kernel_standard.Joseph Myers2012-03-2830-66/+197
|
* Fix whitespaceAndreas Jaeger2012-03-282-2/+1
|
* Regenerate configure filesAndreas Jaeger2012-03-286-18/+456
|
* Remove sysdeps/elf support from configure.Andreas Jaeger2012-03-281-18/+1
| | | | * configure.in: Remove support for elf directories in sysdeps.
* Move sysdeps/s390/s390-64/elf filesAndreas Jaeger2012-03-289-277/+30
| | | | | | | | | | | | | | | * 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.
* Move sysdeps/s390/s390-32/elf filesAndreas Jaeger2012-03-289-310/+29
| | | | | | | | | | | | | | * 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.
* Fix sparc64/elf mergeDavid S. Miller2012-03-281-3/+3
| | | | | * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before have-as-vis3 check.
* Move sysdeps/sparc/{,sparc32,sparc64}/elf filesAndreas Jaeger2012-03-289-261/+80
| | | | | | | | | | | | | | * 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.
* Move sysdeps/powerpc/elf filesAndreas Jaeger2012-03-282-0/+0
| | | | | | | * 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.
* Move sysdeps/powerpc/powerpc32/elf filesAndreas Jaeger2012-03-285-165/+34
| | | | | | | | | | * 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.
* Move sysdeps/powerpc/powerpc64/elf filesAndreas Jaeger2012-03-288-214/+63
| | | | | | | | | | | | | | * 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.
* Delete sysdeps/sh/elfAndreas Jaeger2012-03-283-3/+2
| | | | | | | | * 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.
* Fix last commitAndreas Jaeger2012-03-282-30/+24
| | | | | Merge the current i386 version of sysdeps/i386/configure.in Regenerate configure
* Define MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.Anton Blanchard2012-03-275-7/+20
| | | | | | | | * 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.
* Run conformtest script explicitly using BASH.David S. Miller2012-03-272-1/+3
| | | | * conform/Makefile: Run run-conformtest.sh using $(BASH).
* Fix nptl/tst-cond1{6,7,8}.c on 32-bit with many cpus.David S. Miller2012-03-273-4/+22
| | | | | | * 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.
* RegenerateAndreas Jaeger2012-03-271-1/+0
|
* Merge branch 'elf-move'Andreas Jaeger2012-03-2721-882/+836
|\ | | | | | | | | | | | | Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in
| * Merge branch 'master' into elf-moveAndreas Jaeger2012-03-2020-702/+404
| |\
| * | Remove old debug/backtracesyms files, replace with elf versions.Andreas Jaeger2012-03-204-267/+147
| | |
| * | Remove unused start.c files.Andreas Jaeger2012-03-203-283/+0
| | |