Jeff Law
b8dc394ddf
2012-03-29 Jeff Law <law@redhat.com>
...
* 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-30 09:51:27 -06:00
Ulrich Drepper
8e6d108343
Correct check for DNS request send success
...
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-30 08:27:11 -04:00
Ulrich Drepper
c030f70c87
Speed up DNS by avoiding a system call if possible
2012-03-30 07:42:29 -04:00
Ulrich Drepper
1d39e35923
Comment fixes for mmsghdr
2012-03-30 06:35:29 -04:00
Tulio Magno Quites Machado Filho
e64d2de526
Fix a bug when converting strings with 1 character using TCVN5712-1
...
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-30 10:43:43 +02:00
David S. Miller
20fde22738
Remove xsputn small copy optimization.
...
* libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
small copies by hand.
2012-03-29 14:38:27 -07:00
Jeff Law
984a42374c
[BZ #13761 ]
...
* nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
_nss_compat_initgroups_dyn): Fall back to malloc/free for
large group memberships.
2012-03-29 09:56:27 -06:00
David S. Miller
88d85d4f00
Optimize mempcpy on sparc.
...
* 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-28 22:35:26 -07:00
David S. Miller
e5aa83e16d
Do not elide the libc hidden def of sparc's memset/memcpy when multiarching.
...
* 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-28 22:26:38 -07:00
David S. Miller
88570753ec
Use generic memset/memcpy in rtld on sparcv9/sparc64.
...
* 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-28 22:22:15 -07:00
David S. Miller
249d7567cc
Fix bugs and improve performance of niagara memset/bzero.
...
* sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
loop to 256 bytes instead of 64 bytes and fix test signedness.
2012-03-28 21:59:43 -07:00
David S. Miller
18c9d62b9c
Make sparc's -fPIC addition to ASFLAGS-.os more robust.
...
* sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
* sysdeps/sparc/sparc32/Makefile: rather than here...
* sysdeps/sparc/sparc64/Makefile: and here.
2012-03-28 14:25:42 -07:00
Ulrich Drepper
fb289bde9a
Merge branch 'master' of ssh://sourceware.org/git/glibc
...
Conflicts:
ChangeLog
2012-03-28 13:06:05 -04:00
Ulrich Drepper
05f3d1f6c6
Avoid warnings in test malloc program
2012-03-28 13:05:11 -04:00
Jeff Law
86ae07a8c9
[BZ #13760 ]
...
* 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-28 10:09:29 -06:00
Joseph Myers
d6270972f7
Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).
2012-03-28 14:57:58 +00:00
Joseph Myers
414fca039e
Bug 3868 also fixed by __kernel_standard_l changes.
2012-03-28 09:52:05 +00:00
Joseph Myers
41bf21a1e7
Avoid overflows from long double functions using __kernel_standard.
2012-03-28 09:32:12 +00:00
Anton Blanchard
dd62fda6cc
Define MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.
...
* 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-27 18:37:16 -07:00
David S. Miller
b855ab8539
Run conformtest script explicitly using BASH.
...
* conform/Makefile: Run run-conformtest.sh using $(BASH).
2012-03-27 15:02:19 -07:00
Andreas Jaeger
1e3cdfda74
Merge branch 'elf-move'
...
Conflicts:
debug/backtracesymsfd.c
sysdeps/generic/elf/backtracesymsfd.c
sysdeps/i386/configure.in
2012-03-27 21:35:36 +02:00
Andreas Schwab
c876e002a2
Update powerpc libm test ULPs
2012-03-26 14:20:28 +02:00
Andreas Schwab
a3f61311c0
Fix undue underflow in ldbl-128ibm version of expl
2012-03-26 14:19:35 +02:00
Roland McGrath
ac4c54f0cc
Fix confstr use of local buffer outside its extent.
2012-03-25 11:36:35 -07:00
Jeff Law
6a9b9c02fa
2012-03-23 Jeff Law <law@redhat.com>
...
* nss/getnssent.c (__nss_getent): Fix typo.
2012-03-23 14:56:42 -06:00
David S. Miller
4c42a0c1d5
Update sparc ULPs for recently added tests and bug fixes.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-23 11:57:53 -07:00
H.J. Lu
1532c7ac9a
Make sure x86_64 GOT entry slot is always 8 bytes
2012-03-23 11:06:57 -07:00
Paul Pluzhnikov
3ff4252677
2012-03-23 Daniel Jacobowitz <dmj@google.com>
...
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-23 09:47:03 -07:00
Joseph Myers
7c69cd143b
Fix cexp overflow (bug 13892).
2012-03-22 19:38:09 +00:00
H.J. Lu
81b035fe63
Replace Elf64_XXX with ElfW(XXX) in dl-irel.h
2012-03-22 10:17:05 -07:00
H.J. Lu
1da7940c77
Replace unsigned long with uint64_t
2012-03-22 10:02:57 -07:00
H.J. Lu
b749dbb9b7
Add forward declaration for La_x32_regs/La_x32_retval
2012-03-22 09:01:16 -07:00
H.J. Lu
2ff87f3f18
Add sysdeps/x86_64/preconfigure
2012-03-22 08:28:39 -07:00
Joseph Myers
48e44791e4
Fix exp2l inaccuracy (bug 13824).
2012-03-22 12:55:19 +00:00
Joseph Myers
c0df8e693f
Fix low-part sign handling in sin/cos for ldbl-128 and ldbl-128ibm.
2012-03-22 12:52:50 +00:00
H.J. Lu
c8e43ba739
Add x32 support to dynamic linker audit
2012-03-21 17:14:49 -07:00
Andreas Schwab
dcb3398838
Fix missing overflow/underflow exception in ldbl-128ibm version of powl
2012-03-21 23:59:22 +01:00
Andreas Schwab
233fc56343
Update powerpc libm-test ULPs
2012-03-21 23:59:22 +01:00
Andreas Schwab
7998fa7899
Disable use of FMA instructions in branred
2012-03-21 23:58:50 +01:00
H.J. Lu
8e95c99a7a
Add _ITOA_NEEDED and _ITOA_WORD_TYPE
...
Add _ITOA_NEEDED and _ITOA_WORD_TYPE to override _itoa and _itowa.
2012-03-21 14:38:47 -07:00
David S. Miller
6f4db457f8
Update sparc ULPs for recently added tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-03-21 14:20:46 -07:00
H.J. Lu
7785fe5a0b
Check x86_64* instead of x86_64
2012-03-21 12:37:38 -07:00
Joseph Myers
4535cd55e2
Don't document varargs.h.
2012-03-21 17:52:19 +00:00
Thomas Schwinge
1722813295
Weaken -fstack-protector configure test to a compile test.
2012-03-21 17:51:08 +00:00
Thomas Schwinge
8149f97606
Don't tamper with $HOME.
2012-03-21 18:10:03 +01:00
Joseph Myers
be22ce65d7
Remove NOTES.
2012-03-21 16:56:28 +00:00
Joseph Myers
40b601fbb7
Use autoconf macro for testing compiler options with empty input.
2012-03-21 16:33:57 +00:00
Joseph Myers
1a4ac776eb
Remove inaccurate x86 cexp implementations (bug 13883).
2012-03-21 15:28:05 +00:00
Allan McRae
a458e7fe38
Do not install iso3166.tab and zone.tab
...
2012-03-21 Allan McRae <allan@archlinux.org>
* timezone/Makefile: Do not install iso3166.tab and zone.tab
2012-03-21 16:13:21 +01:00
Joseph Myers
0cb7efc517
Fix missing exp2 overflow exception (bug 13871).
2012-03-21 12:17:26 +00:00