aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-04-05Reduce down to one definition of _ELF_DYNAMIC_DO_RELOC.David S. Miller6-60/+18
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one definition. * sysdeps/powerpc/powerpc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Delete. * sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2012-04-05Fix CL typos.Marek Polacek1-2/+2
2012-04-05[BZ #6770] Add first_weekday and first_workday to ca_ES.Petr Baudis3-9/+16
Patch from Fedora by Jeff Law. Acknowledged by Jordi Mallach.
2012-04-05Locale ca_ES is now maintained by Jordi MallachPetr Baudis2-2/+7
[BZ #6770] It was impossible to contact the original maintainer by phone or email, despite Jordi's multiple tries, either directly or via 3rd parties.
2012-04-05Fix DL_DEBUG_UNUSED to elide the VDSO and handle PLT references properly.David S. Miller3-2/+26
* elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off lazy binding. * elf/dl-lookup (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore undefined symbol errors. * elf/rtlc.c (dl_main): Skip VDSO when checking for unused DT_NEEDED entries.
2012-04-05Fix size parameter comparisions.Michael Matz3-11/+16
[BZ #13592] There are several signed compares of the size argument, whereas it really is unsigned. Depending on situations e.g. a "memset(ptr, 0, -1)" segfault (but for the wrong reasons, because jumping into nirvana) or succeeds even. In normal use this is harmless, as a size with signbit set indicates more than half the address space which on x86_64 is impossible to allocate, but as the size is used to index some jump tables this potentially could have other unwanted side effects.
2012-04-05Don't warn about unused result of mktempAndreas Jaeger3-4/+11
[BZ #13908] mktemp always returns TEMPLATE, the caller should check TEMPLATE[0] instead of TEMPLATE, so do not warn about the unused result. Fix also the comment for mktemp
2012-04-05[BZ #12340] Fix return code of the Hurd's ttyname_r.Thomas Schwinge1-7/+7
2012-04-05Fix return value of SH fesetround.Kaz Kojima2-3/+8
2012-04-05Set SH fpcsr register which read again.Kaz Kojima3-1/+14
2012-04-05Fix SH4 fraiseexcpt so to generate exceptions appropriately.Kaz Kojima2-6/+48
2012-04-05Add support fedisableexcept, feenableexcept, fegetexcept and feupdateenvKaz Kojima4-0/+151
for SH.
2012-04-05[BZ #12340] Fix return code of the Hurd's ttyname_r.Simon Josefsson2-2/+8
2012-04-05[BZ #13553] Remove pre-ISO C supportThomas Schwinge3-5/+11
The bits missing from a784e502472fb3a1afa4d01a47c66b52d23e00f6.
2012-04-042012-04-04 Dmitry V. Levin <ldv@altlinux.org>Jeff Law3-8/+15
[BZ #10346] * locales/ru_UA (LC_TIME): Add first_weekday and first_workday.
2012-04-03Fix typo in manualAndreas Jaeger3-8/+12
[BZ # 13938] * manual/setjmp.texi (System V contexts): Fix sentence.
2012-04-03Add __bswap_64 definition for non GCC compilers.Andreas Jaeger8-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.
2012-04-02Fix bug in previous tcvn5712 commit e64d2de52.Tulio Magno Quites Machado Filho2-2/+9
[BZ #13691] * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using inptr and inend, rather than using last_ch.
2012-04-02Tighten up vfprintf width, precision, and total length overflow handling.David S. Miller5-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.
2012-04-02Testsuite #include fixes.Thomas Schwinge5-3/+16
2012-04-02Call __ctype_init in early glibc startup.Thomas Schwinge6-6/+33
This adds the bits missing from fd5bdc0924e0cfd1688b632068c1b26f3b0c88da.
2012-04-01Updated Vietnamese translationUlrich Drepper2-693/+996
2012-04-01Updated Russian translationsUlrich Drepper2-1/+5
2012-03-31Merge copyright years in resolv/nss_dns/dns-host.cSiddhesh Poyarekar2-1/+5
2012-03-30optimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.SLiubov Dmitrieva2-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.
2012-03-30Consider TTL of CNAME record and return minimum TTL in the chainSiddhesh Poyarekar3-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.
2012-03-30 * resolv/nss_dns/dns-host.c: Update copyright year.Jeff Law2-1/+3
2012-03-302012-03-29 Jeff Law <law@redhat.com>Jeff Law4-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.
2012-03-30Better error handling for sendmmsg use in res_sendUlrich Drepper1-5/+7
2012-03-30Correct check for DNS request send successUlrich Drepper2-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.
2012-03-30Speed up DNS by avoiding a system call if possibleUlrich Drepper2-17/+86
2012-03-30Comment fixes for mmsghdrUlrich Drepper2-3/+9
2012-03-30Fix a bug when converting strings with 1 character using TCVN5712-1Tulio Magno Quites Machado Filho5-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.
2012-03-29Remove xsputn small copy optimization.David S. Miller2-15/+9
* libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize small copies by hand.
2012-03-29 [BZ #13761]Jeff Law3-18/+69
* 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. Miller9-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.
2012-03-28Do not elide the libc hidden def of sparc's memset/memcpy when multiarching.David S. Miller3-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.
2012-03-28Use generic memset/memcpy in rtld on sparcv9/sparc64.David S. Miller9-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.
2012-03-28Fix bugs and improve performance of niagara memset/bzero.David S. Miller2-4/+53
* 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. Miller4-6/+9
* 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 Drepper3-4/+17
Conflicts: ChangeLog
2012-03-28Avoid warnings in test malloc programUlrich Drepper2-9/+16
2012-03-28 [BZ #13760]Jeff Law3-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.
2012-03-28Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers8-27/+436
2012-03-28Bug 3868 also fixed by __kernel_standard_l changes.Joseph Myers2-2/+3
2012-03-28Avoid overflows from long double functions using __kernel_standard.Joseph Myers30-66/+197
2012-03-28Fix whitespaceAndreas Jaeger2-2/+1
2012-03-28Regenerate configure filesAndreas Jaeger6-18/+456
2012-03-28Remove sysdeps/elf support from configure.Andreas Jaeger1-18/+1
* configure.in: Remove support for elf directories in sysdeps.
2012-03-28Move sysdeps/s390/s390-64/elf filesAndreas Jaeger9-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.