platform/upstream/linaro-glibc.git
13 years agoFix infloop on persistent failing calloc in regex.
Jim Meyering [Mon, 27 Dec 2010 23:19:56 +0000 (18:19 -0500)]
Fix infloop on persistent failing calloc in regex.

13 years agoUpdate BZs.
Ulrich Drepper [Sun, 26 Dec 2010 18:54:08 +0000 (13:54 -0500)]
Update BZs.

13 years agoUse prlimit64 for 32-bit [gs]etrlimit64 implementation.
Ulrich Drepper [Sun, 26 Dec 2010 01:12:27 +0000 (20:12 -0500)]
Use prlimit64 for 32-bit [gs]etrlimit64 implementation.

13 years agoUse fastbin macro everywhere.
Ulrich Drepper [Sat, 25 Dec 2010 19:15:42 +0000 (14:15 -0500)]
Use fastbin macro everywhere.

13 years agoChange XPG-compliant strerror_r function to return error code.
Ulrich Drepper [Sat, 25 Dec 2010 18:56:48 +0000 (13:56 -0500)]
Change XPG-compliant strerror_r function to return error code.

13 years agoPretty printing.
Ulrich Drepper [Sat, 25 Dec 2010 01:15:45 +0000 (20:15 -0500)]
Pretty printing.

13 years agoRemove `.ctors' and `.dtors' output sections
H.J. Lu [Sat, 25 Dec 2010 01:14:37 +0000 (20:14 -0500)]
Remove `.ctors' and `.dtors' output sections

13 years agoAlways allow overwriting printf modifiers etc.
Ulrich Drepper [Sat, 25 Dec 2010 00:28:32 +0000 (19:28 -0500)]
Always allow overwriting printf modifiers etc.

13 years agoFix ChangeLogs.
Ulrich Drepper [Mon, 20 Dec 2010 03:52:57 +0000 (22:52 -0500)]
Fix ChangeLogs.

13 years agoMake PowerPC64 default to nonexecutable stack
Ryan S. Arnold [Mon, 20 Dec 2010 03:49:01 +0000 (22:49 -0500)]
Make PowerPC64 default to nonexecutable stack

13 years agoMore accurate computatin of reclen in readdir_r.
Ulrich Drepper [Sun, 19 Dec 2010 21:00:59 +0000 (16:00 -0500)]
More accurate computatin of reclen in readdir_r.

Alignment issue can increase the reclen limit.
Make sure Linux 64-bit readdir_r also accounts for 64-bit alignment
in getdents.

13 years agoUndo accidental checkin.
Ulrich Drepper [Tue, 14 Dec 2010 18:09:28 +0000 (13:09 -0500)]
Undo accidental checkin.

13 years agoDeclare wcpcpy and wcpncpy only under _GNU_SOURCE
Andreas Schwab [Fri, 10 Dec 2010 14:16:12 +0000 (09:16 -0500)]
Declare wcpcpy and wcpncpy only under _GNU_SOURCE

13 years agoFix use of restrict in wchar.h
Andreas Schwab [Fri, 10 Dec 2010 14:15:01 +0000 (09:15 -0500)]
Fix use of restrict in wchar.h

13 years agoFix typo in comment.
Ulrich Drepper [Fri, 10 Dec 2010 00:22:52 +0000 (19:22 -0500)]
Fix typo in comment.

13 years agoFix race in qsort_r initialization.
Ulrich Drepper [Thu, 9 Dec 2010 17:12:58 +0000 (12:12 -0500)]
Fix race in qsort_r initialization.

13 years agoFix -D_FORTIFY_SOURCE memmove and bcop
Jakub Jelinek [Thu, 9 Dec 2010 15:38:18 +0000 (10:38 -0500)]
Fix -D_FORTIFY_SOURCE memmove and bcop

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 3 Dec 2010 14:50:35 +0000 (09:50 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agoUpdate Italian translation.
Ulrich Drepper [Fri, 3 Dec 2010 14:49:21 +0000 (09:49 -0500)]
Update Italian translation.

13 years agoRemove dead code from x86-32 SSSE3 strncmp.
H.J. Lu [Thu, 2 Dec 2010 03:18:31 +0000 (22:18 -0500)]
Remove dead code from x86-32 SSSE3 strncmp.

13 years agoRelax libm tests for x86-32.
Ulrich Drepper [Tue, 30 Nov 2010 19:57:57 +0000 (14:57 -0500)]
Relax libm tests for x86-32.

13 years agoDon't ignore zero TTL in DNS answers
Andreas Schwab [Fri, 26 Nov 2010 01:50:16 +0000 (20:50 -0500)]
Don't ignore zero TTL in DNS answers

13 years agoldbl-128 fmal compile fix
Jakub Jelinek [Mon, 22 Nov 2010 20:38:35 +0000 (15:38 -0500)]
ldbl-128 fmal compile fix

13 years agoAllow aux_cache_file open()ing to fail silently even in the chroot mode.
Petr Baudis [Mon, 22 Nov 2010 17:47:57 +0000 (12:47 -0500)]
Allow aux_cache_file open()ing to fail silently even in the chroot mode.

The aux_cache fix of bug 11149 introduced a new bug - normally,
ldconfig -r never cares if the auxiliary cache is not available and
that is not a fatal problem, however this is not the case in case
of ldconfig -r when executed as non-root. In that case, ldconfig -r
fails hard unless var/cache/ldconfig/ exists within the chroot. This
patch fixes that.

Conflicts:

ChangeLog

13 years agoOptimize last initgroups patch a bit.
Ulrich Drepper [Mon, 22 Nov 2010 16:15:08 +0000 (11:15 -0500)]
Optimize last initgroups patch a bit.

13 years agoFix multiple nss_compat initgroups() bugs
Ulrich Drepper [Mon, 22 Nov 2010 16:11:24 +0000 (11:11 -0500)]
Fix multiple nss_compat initgroups() bugs

Compat initgroups() is completely broken; the code will always set
skip_initgroups_dyn to true, so initgroups() will never be actually
called, but due to the nature of the code, setgrent() won't be called
either - thus, subsequent invocations of initgroups() will not return
the NIS group list anymore.

This is a simple patch that makes sure skip_initgroups_dyn is set only
in case initgroups is not available; it also attempts to handle the
unavailability of other NSS interfaces better.

Conflicts:

ChangeLog

13 years agoDefine MAP_HUGETLB.
Ulrich Drepper [Fri, 19 Nov 2010 14:35:39 +0000 (09:35 -0500)]
Define MAP_HUGETLB.

13 years agoDefine SWAP_FLAG_DISCARD.
Ulrich Drepper [Tue, 16 Nov 2010 17:17:04 +0000 (12:17 -0500)]
Define SWAP_FLAG_DISCARD.

13 years agoFix memory leak in fnmatch
Andreas Schwab [Fri, 12 Nov 2010 08:51:28 +0000 (03:51 -0500)]
Fix memory leak in fnmatch

13 years agoSupport Intel processor model 6 and model 0x2.
H.J. Lu [Fri, 12 Nov 2010 08:48:52 +0000 (03:48 -0500)]
Support Intel processor model 6 and model 0x2.

13 years agoFix comparison in sqrtl for IBM long double 128.
Luis Machado [Wed, 10 Nov 2010 21:15:05 +0000 (16:15 -0500)]
Fix comparison in sqrtl for IBM long double 128.

13 years agoFix one exit path in x86-64 SSE4.2 str{,n}casecmp.
H.J. Lu [Wed, 10 Nov 2010 08:05:37 +0000 (03:05 -0500)]
Fix one exit path in x86-64 SSE4.2 str{,n}casecmp.

13 years agoFix warnings in __bswap_16.
Ulrich Drepper [Wed, 10 Nov 2010 07:38:35 +0000 (02:38 -0500)]
Fix warnings in __bswap_16.

14 years agoUse IFUNC on x86-64 memset
H.J. Lu [Mon, 8 Nov 2010 08:41:34 +0000 (03:41 -0500)]
Use IFUNC on x86-64 memset

14 years agopower7-optimized mempcpy
Luis Machado [Fri, 5 Nov 2010 12:01:13 +0000 (08:01 -0400)]
power7-optimized mempcpy

14 years ago32bit memset-sse2.S fails with uneven cache size
Ulrich Drepper [Fri, 5 Nov 2010 11:57:46 +0000 (07:57 -0400)]
32bit memset-sse2.S fails with uneven cache size

32bit memset-sse2.S assumes cache size is multiple of 128 bytes.  If
it isn't true, memset-sse2.S will fail.  For example, a processor can
have 24576 KB L3 cache and 20 cores. That is 2516582 byte per core. Half
of it is 1258291, which isn't helpful for vector instructions.  This
patch rounds cache sizes to multiple of 256 bytes and adds "raw" cache
sizes.

14 years agoVerify in ttyname() that the symlink is valid.
Miklos Szeredi [Wed, 3 Nov 2010 04:25:45 +0000 (00:25 -0400)]
Verify in ttyname() that the symlink is valid.

14 years agoFix typo in comment.
Erich Ritz [Mon, 1 Nov 2010 18:50:24 +0000 (14:50 -0400)]
Fix typo in comment.

14 years agoUpdate Danish translations.
Ulrich Drepper [Mon, 1 Nov 2010 18:27:55 +0000 (14:27 -0400)]
Update Danish translations.

14 years agoFix assertion in ld.so, introduced by delayed adding to global list.
Ulrich Drepper [Tue, 26 Oct 2010 17:01:46 +0000 (13:01 -0400)]
Fix assertion in ld.so, introduced by delayed adding to global list.

14 years agoAdd missing file.
Ulrich Drepper [Tue, 26 Oct 2010 04:23:45 +0000 (00:23 -0400)]
Add missing file.

14 years agoFix concurrency problem between dl_open and dl_iterate_phdr
Andreas Krebbel [Tue, 26 Oct 2010 04:23:14 +0000 (00:23 -0400)]
Fix concurrency problem between dl_open and dl_iterate_phdr

14 years agoFix x86-64 strchr propagation of search byte into all bytes of SSE register
Richard Li [Mon, 25 Oct 2010 18:13:17 +0000 (14:13 -0400)]
Fix x86-64 strchr propagation of search byte into all bytes of SSE register

14 years agoFix perturbing in malloc on free.
Ulrich Drepper [Mon, 25 Oct 2010 02:37:00 +0000 (22:37 -0400)]
Fix perturbing in malloc on free.

14 years agopowerpc: PPCA2/A2 optimized memcpy function
Michael B. Brutman [Mon, 25 Oct 2010 01:47:33 +0000 (21:47 -0400)]
powerpc: PPCA2/A2 optimized memcpy function

14 years agoRequire suid bit on audit objects in privileged programs
Andreas Schwab [Mon, 25 Oct 2010 01:43:15 +0000 (21:43 -0400)]
Require suid bit on audit objects in privileged programs

14 years agoWork around shortest-stem feature in make 3.82+
Andreas Schwab [Mon, 25 Oct 2010 01:42:39 +0000 (21:42 -0400)]
Work around shortest-stem feature in make 3.82+

14 years agoDon't expand DST twice in dl_open
Andreas Schwab [Mon, 25 Oct 2010 00:40:14 +0000 (20:40 -0400)]
Don't expand DST twice in dl_open

14 years agoProvide FP_FAST_FMA{,F,L} definitions for x86/x86-64.
Ulrich Drepper [Tue, 19 Oct 2010 16:56:42 +0000 (12:56 -0400)]
Provide FP_FAST_FMA{,F,L} definitions for x86/x86-64.

14 years agoAdd C99 FP_FAST_FMA{,F,L} macros to math.h
Michael Meissner [Tue, 19 Oct 2010 16:49:05 +0000 (12:49 -0400)]
Add C99 FP_FAST_FMA{,F,L} macros to math.h

14 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Tue, 19 Oct 2010 16:47:13 +0000 (12:47 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

14 years agoIEEE quad fmal fixes
Jakub Jelinek [Mon, 18 Oct 2010 11:29:50 +0000 (07:29 -0400)]
IEEE quad fmal fixes

14 years agoMissing CL.
Jakub Jelinek [Fri, 15 Oct 2010 19:27:16 +0000 (15:27 -0400)]
Missing CL.

14 years agoImplement fmal, some fma bugfixes
Jakub Jelinek [Fri, 15 Oct 2010 19:26:06 +0000 (15:26 -0400)]
Implement fmal, some fma bugfixes

14 years agoFix some more dbl-64/s_fma.c issue
Jakub Jelinek [Fri, 15 Oct 2010 19:25:14 +0000 (15:25 -0400)]
Fix some more dbl-64/s_fma.c issue

14 years agoExpect PLT call to _Unwind_Find_FDE on s390*-linux
Andreas Schwab [Fri, 15 Oct 2010 11:29:38 +0000 (07:29 -0400)]
Expect PLT call to _Unwind_Find_FDE on s390*-linux

14 years agoImplement accurate fma.
Jakub Jelinek [Thu, 14 Oct 2010 02:27:03 +0000 (22:27 -0400)]
Implement accurate fma.

14 years agoFix alignment of AVX safe area on x86-64.
H.J. Lu [Thu, 14 Oct 2010 02:12:03 +0000 (22:12 -0400)]
Fix alignment of AVX safe area on x86-64.

14 years agoOne more regex memory leak fixed.
Ulrich Drepper [Tue, 12 Oct 2010 13:00:33 +0000 (09:00 -0400)]
One more regex memory leak fixed.

14 years agoMore regex memory leak fixes and tests.
Ulrich Drepper [Tue, 12 Oct 2010 02:46:44 +0000 (22:46 -0400)]
More regex memory leak fixes and tests.

14 years agoTest case for last regex problem.
Ulrich Drepper [Mon, 11 Oct 2010 16:34:53 +0000 (12:34 -0400)]
Test case for last regex problem.

14 years agoFix memory leak for some invalid regular expressions.
Ulrich Drepper [Mon, 11 Oct 2010 15:46:22 +0000 (11:46 -0400)]
Fix memory leak for some invalid regular expressions.

14 years agopsiginfo relied too much on sys_siglist.
Ulrich Drepper [Mon, 11 Oct 2010 14:58:31 +0000 (10:58 -0400)]
psiginfo relied too much on sys_siglist.

14 years agoLinux getifaddrs might return entries with ->ifa_addr being NULL.
Ulrich Drepper [Mon, 11 Oct 2010 13:38:00 +0000 (09:38 -0400)]
Linux getifaddrs might return entries with ->ifa_addr being NULL.

14 years agoCorrect implementation of fmaf.
Jakub Jelinek [Mon, 11 Oct 2010 13:27:05 +0000 (09:27 -0400)]
Correct implementation of fmaf.

14 years agoFix BZ reference in last checkin.
Ulrich Drepper [Mon, 11 Oct 2010 13:19:36 +0000 (09:19 -0400)]
Fix BZ reference in last checkin.

14 years agoUnify psiginfo output.
Ulrich Drepper [Mon, 11 Oct 2010 13:10:41 +0000 (09:10 -0400)]
Unify psiginfo output.

14 years agoAdd test case for strstr problem.
Ulrich Drepper [Wed, 6 Oct 2010 17:48:51 +0000 (13:48 -0400)]
Add test case for strstr problem.

14 years agoFix strstr and memmem algorithm.
Eric Blake [Wed, 6 Oct 2010 17:48:07 +0000 (13:48 -0400)]
Fix strstr and memmem algorithm.

14 years agoMore NEWS changes.
Ulrich Drepper [Mon, 4 Oct 2010 02:53:24 +0000 (22:53 -0400)]
More NEWS changes.

14 years agoUpdate NEWS.
Ulrich Drepper [Mon, 4 Oct 2010 02:51:30 +0000 (22:51 -0400)]
Update NEWS.

14 years agoRemove specific binutils version recommendation in INSTALL file.
Ulrich Drepper [Mon, 4 Oct 2010 02:30:11 +0000 (22:30 -0400)]
Remove specific binutils version recommendation in INSTALL file.

14 years agoHandle large requests.
Ulrich Drepper [Mon, 4 Oct 2010 02:27:21 +0000 (22:27 -0400)]
Handle large requests.

14 years agoFix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmp
Ulrich Drepper [Mon, 4 Oct 2010 02:10:30 +0000 (22:10 -0400)]
Fix handling of tail bytes of buffer in SSE2/SSSE3 x86-64 version strn{,case}cmp

14 years agosh: Add "extern "C"" to __set_fpscr function
Nobuhiro Iwamatsu [Fri, 1 Oct 2010 23:40:36 +0000 (19:40 -0400)]
sh: Add "extern "C"" to __set_fpscr function

14 years agoFix last checkin.
Andreas Jaeger [Fri, 1 Oct 2010 23:05:26 +0000 (19:05 -0400)]
Fix last checkin.

14 years agoHandle cgroup and btrfs filesystems
Andreas Jaeger [Fri, 1 Oct 2010 14:49:47 +0000 (10:49 -0400)]
Handle cgroup and btrfs filesystems

14 years agopowerpc: Use generic memset for RTLD for ppc32/64
Luis Machado [Wed, 29 Sep 2010 16:21:14 +0000 (12:21 -0400)]
powerpc: Use generic memset for RTLD for ppc32/64

14 years agoS/390: Fix highgprs check in startup code
Andreas Krebbel [Wed, 29 Sep 2010 15:31:42 +0000 (11:31 -0400)]
S/390: Fix highgprs check in startup code

14 years agoRevert "powerpc: PPCA2 optimized memcpy function"
Ulrich Drepper [Tue, 28 Sep 2010 03:02:55 +0000 (23:02 -0400)]
Revert "powerpc: PPCA2 optimized memcpy function"

This reverts commit 44f91d3884e241e4402eb3e8b9b6dfa2acc9f80c.

Conflicts:

ChangeLog

14 years agoProperly convert f_fsid in statvfs
Andreas Schwab [Tue, 28 Sep 2010 02:34:21 +0000 (22:34 -0400)]
Properly convert f_fsid in statvfs

14 years agoAdd two forgotten licence exceptions
Petr Baudis [Sat, 25 Sep 2010 01:06:00 +0000 (03:06 +0200)]
Add two forgotten licence exceptions

The two files in debug/ are included in libc_nonshared.a and the
functions may be included in linked executables. Use the same text
as in other files going to libc_nonshared.a.

14 years agopowerpc: PPCA2 optimized memcpy function
Michael B. Brutman [Tue, 21 Sep 2010 21:06:46 +0000 (14:06 -0700)]
powerpc: PPCA2 optimized memcpy function

14 years agogetdents64 fallback d_type support
Joseph Myers [Tue, 21 Sep 2010 21:02:08 +0000 (14:02 -0700)]
getdents64 fallback d_type support

14 years agoWhitespace cleanup.
Ulrich Drepper [Tue, 21 Sep 2010 20:53:31 +0000 (13:53 -0700)]
Whitespace cleanup.

14 years agoMove freeres function from ld.so to libc.so.
Andreas Schwab [Tue, 21 Sep 2010 20:52:12 +0000 (13:52 -0700)]
Move freeres function from ld.so to libc.so.

14 years agoUndo feature selection for ftruncate.
Ulrich Drepper [Tue, 21 Sep 2010 18:01:10 +0000 (11:01 -0700)]
Undo feature selection for ftruncate.

14 years agoFix namespace pollution in pthread_cleanup_push.
Andreas Schwab [Tue, 21 Sep 2010 17:47:14 +0000 (10:47 -0700)]
Fix namespace pollution in pthread_cleanup_push.

14 years agoBetter CL.
Ulrich Drepper [Tue, 21 Sep 2010 06:09:06 +0000 (23:09 -0700)]
Better CL.

14 years agoRe-enable all strncasecmp versions.
Ulrich Drepper [Tue, 21 Sep 2010 03:18:00 +0000 (20:18 -0700)]
Re-enable all strncasecmp versions.

14 years agoFix limit detection in x86-64 SSE2 strncasecmp.
Ulrich Drepper [Mon, 20 Sep 2010 21:02:23 +0000 (14:02 -0700)]
Fix limit detection in x86-64 SSE2 strncasecmp.

14 years agoAdd support for fanotify_mark on sparc32 and s390
Andreas Schwab [Mon, 20 Sep 2010 13:58:15 +0000 (06:58 -0700)]
Add support for fanotify_mark on sparc32 and s390

14 years agoFix register conflict in s390 ____longjmp_chk
Andreas Schwab [Wed, 15 Sep 2010 14:38:19 +0000 (07:38 -0700)]
Fix register conflict in s390 ____longjmp_chk

14 years agoDon't try to free rpath strings allocated during startup
Andreas Schwab [Wed, 15 Sep 2010 14:20:57 +0000 (07:20 -0700)]
Don't try to free rpath strings allocated during startup

14 years agoActually make it possible to user the default name server.
Ulrich Drepper [Tue, 14 Sep 2010 07:01:42 +0000 (00:01 -0700)]
Actually make it possible to user the default name server.

14 years agoFix _FORITY_SOURCE version of longjmp for Linux/x86-64.
Chung-Lin Tang [Wed, 8 Sep 2010 22:49:50 +0000 (15:49 -0700)]
Fix _FORITY_SOURCE version of longjmp for Linux/x86-64.

14 years agoFix encoding errors in ChangeLogs
Andreas Schwab [Tue, 7 Sep 2010 12:22:32 +0000 (14:22 +0200)]
Fix encoding errors in ChangeLogs

14 years agoDon't mix pattern rules with normal rules
Andreas Schwab [Mon, 6 Sep 2010 12:55:59 +0000 (14:55 +0200)]
Don't mix pattern rules with normal rules

14 years agoRemove undefined operations
Andreas Schwab [Sun, 18 Jul 2010 12:51:45 +0000 (14:51 +0200)]
Remove undefined operations

14 years agoRemove invalid iconv aliases.
Ulrich Drepper [Sat, 4 Sep 2010 19:48:31 +0000 (12:48 -0700)]
Remove invalid iconv aliases.