platform/upstream/linaro-glibc.git
13 years agoRewrite -z relro configure check to be empirical.
Roland McGrath [Sat, 9 Jul 2011 20:55:24 +0000 (13:55 -0700)]
Rewrite -z relro configure check to be empirical.

13 years agoFind readelf with AC_CHECK_TOOL for use in configure tests.
Roland McGrath [Sat, 9 Jul 2011 11:06:34 +0000 (04:06 -0700)]
Find readelf with AC_CHECK_TOOL for use in configure tests.

13 years ago(memalign_check): No need to use checked_request2size.
Ulrich Drepper [Fri, 8 Jul 2011 17:20:41 +0000 (13:20 -0400)]
(memalign_check): No need to use checked_request2size.

13 years agoAdd test case strtod underflow
Andreas Jaeger [Fri, 8 Jul 2011 17:16:26 +0000 (13:16 -0400)]
Add test case strtod underflow

13 years agoHandle ext4 in {,f}pathconf
Ulrich Drepper [Thu, 7 Jul 2011 14:53:16 +0000 (10:53 -0400)]
Handle ext4 in {,f}pathconf

ext4 has a higher LINK_MAX limit than ext2/3.  Unfortunately it is
not easy to distinguish the filesystems from userlevel.

13 years agoHandle Lustre filesystem
Andreas Dilger [Thu, 7 Jul 2011 04:20:32 +0000 (00:20 -0400)]
Handle Lustre filesystem

13 years agoFix warnings in resolver code
Andreas Jaeger [Thu, 7 Jul 2011 02:29:45 +0000 (22:29 -0400)]
Fix warnings in resolver code

13 years agonis/nss_nisplus: Kill warnings
Ulrich Drepper [Thu, 7 Jul 2011 02:22:48 +0000 (22:22 -0400)]
nis/nss_nisplus: Kill warnings

13 years agoAdd string/test-strncat.c
Ulrich Drepper [Thu, 7 Jul 2011 01:44:29 +0000 (21:44 -0400)]
Add string/test-strncat.c

13 years agoiconvdata/johab.c: Don't inline unlikely called function
Ulrich Drepper [Thu, 7 Jul 2011 01:42:59 +0000 (21:42 -0400)]
iconvdata/johab.c: Don't inline unlikely called function

13 years agoFix for installation in sysdeps/s390/s390-64/Makefile
Ulrich Drepper [Thu, 7 Jul 2011 01:38:49 +0000 (21:38 -0400)]
Fix for installation in sysdeps/s390/s390-64/Makefile

13 years agoRebuild configure scripts
Ulrich Drepper [Thu, 7 Jul 2011 01:29:02 +0000 (21:29 -0400)]
Rebuild configure scripts

13 years agoHandle W; without long options in getopt
Ulrich Drepper [Thu, 7 Jul 2011 01:27:14 +0000 (21:27 -0400)]
Handle W; without long options in getopt

13 years agoChange error code for underflows in strtod
Ulrich Drepper [Thu, 7 Jul 2011 00:57:55 +0000 (20:57 -0400)]
Change error code for underflows in strtod

13 years agoFix typo in last patch
Ulrich Drepper [Thu, 7 Jul 2011 00:39:42 +0000 (20:39 -0400)]
Fix typo in last patch

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Thu, 7 Jul 2011 00:39:06 +0000 (20:39 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoAdd the extra check also in innetgr
Ulrich Drepper [Wed, 6 Jul 2011 15:38:42 +0000 (11:38 -0400)]
Add the extra check also in innetgr

13 years agoFix handling of chained netgroups
Ulrich Drepper [Wed, 6 Jul 2011 14:52:31 +0000 (10:52 -0400)]
Fix handling of chained netgroups

13 years agoDefault install_root value from DESTDIR.
Roland McGrath [Tue, 5 Jul 2011 16:57:47 +0000 (09:57 -0700)]
Default install_root value from DESTDIR.

13 years agoAvoid warning.
Ulrich Drepper [Tue, 5 Jul 2011 10:56:12 +0000 (06:56 -0400)]
Avoid warning.

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Sun, 3 Jul 2011 18:26:29 +0000 (14:26 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

13 years agoComplete last patch
Ulrich Drepper [Sun, 3 Jul 2011 00:46:37 +0000 (20:46 -0400)]
Complete last patch

13 years agoFail if format.lds comes out empty.
Roland McGrath [Sat, 2 Jul 2011 23:59:14 +0000 (16:59 -0700)]
Fail if format.lds comes out empty.

13 years agoRemove an unused variable in localedata tests.
Roland McGrath [Sat, 2 Jul 2011 23:32:24 +0000 (16:32 -0700)]
Remove an unused variable in localedata tests.

13 years agoGenerate testrun.sh to use relative directory names.
Roland McGrath [Sat, 2 Jul 2011 23:03:04 +0000 (16:03 -0700)]
Generate testrun.sh to use relative directory names.

13 years agoRewrite local headers check to be more robust and informative.
Roland McGrath [Sat, 2 Jul 2011 22:52:51 +0000 (15:52 -0700)]
Rewrite local headers check to be more robust and informative.

13 years agoExplicitly remove .gnu.glibc-stub sections with objcopy when not using
Roland McGrath [Sat, 25 Jun 2011 07:06:42 +0000 (00:06 -0700)]
Explicitly remove .gnu.glibc-stub sections with objcopy when not using
linker script.

13 years agoAdd --with-default-link configure option.
Roland McGrath [Sat, 11 Jun 2011 11:16:49 +0000 (04:16 -0700)]
Add --with-default-link configure option.

13 years agoConsolidate shlib.lds references in new variables.
Roland McGrath [Sat, 11 Jun 2011 10:41:23 +0000 (03:41 -0700)]
Consolidate shlib.lds references in new variables.

13 years agoMake asserts accept DT_FLAGS/DT_FLAGS_1 with zero flags.
Roland McGrath [Sat, 11 Jun 2011 10:35:31 +0000 (03:35 -0700)]
Make asserts accept DT_FLAGS/DT_FLAGS_1 with zero flags.

13 years agoUse -defsym=_begin=0 instead of linker script munging.
Roland McGrath [Sat, 11 Jun 2011 09:04:14 +0000 (02:04 -0700)]
Use -defsym=_begin=0 instead of linker script munging.

13 years agoFix last patch for big-endian machines
Ulrich Drepper [Sat, 2 Jul 2011 17:03:53 +0000 (13:03 -0400)]
Fix last patch for big-endian machines

13 years agoOptimize long-word additions in SHA implementation
Ulrich Drepper [Sat, 2 Jul 2011 16:30:03 +0000 (12:30 -0400)]
Optimize long-word additions in SHA implementation

13 years agonscd cleanups
Ulrich Drepper [Sat, 2 Jul 2011 03:02:09 +0000 (23:02 -0400)]
nscd cleanups

Cleanup and optimize last patch.  Add timeout fixes also to the
services cache.

13 years agoHandle nscd negtimeout==0
Thorsten Kukuk [Sat, 2 Jul 2011 02:53:01 +0000 (22:53 -0400)]
Handle nscd negtimeout==0

13 years agonss_compat: query NIS domain only when needed
Andreas Schwab [Fri, 1 Jul 2011 22:37:28 +0000 (18:37 -0400)]
nss_compat: query NIS domain only when needed

13 years agoFix robust mutex handling after fork
Ulrich Drepper [Fri, 1 Jul 2011 00:41:34 +0000 (20:41 -0400)]
Fix robust mutex handling after fork

13 years agoMake sure RES_USE_INET6 is always restored
Andreas Schwab [Thu, 30 Jun 2011 10:33:32 +0000 (06:33 -0400)]
Make sure RES_USE_INET6 is always restored

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Thu, 30 Jun 2011 03:36:11 +0000 (23:36 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agoAvoid write to invalid file descriptor in nscd
Ulrich Drepper [Thu, 30 Jun 2011 03:33:38 +0000 (23:33 -0400)]
Avoid write to invalid file descriptor in nscd

When readding entries to the group and services cache and the lookup
is unsuccesful, we tried to write the notfound record.  Just don't
do it in this case.

13 years agoFix build with multiarch disabled.
Aurelien Jarno [Wed, 29 Jun 2011 12:00:49 +0000 (05:00 -0700)]
Fix build with multiarch disabled.

13 years agoFix quoting in some installed shell scripts
Ulrich Drepper [Tue, 28 Jun 2011 22:14:01 +0000 (18:14 -0400)]
Fix quoting in some installed shell scripts

13 years agoRemove the --experimental-malloc option
Ulrich Drepper [Tue, 28 Jun 2011 20:53:01 +0000 (16:53 -0400)]
Remove the --experimental-malloc option

It's well tested, make it the default.

13 years agoFix crash in GB18030 encoder
Andreas Schwab [Tue, 28 Jun 2011 07:15:30 +0000 (03:15 -0400)]
Fix crash in GB18030 encoder

13 years agoDistinguish configure check for .ctors/.dtors header/trailers.
Roland McGrath [Tue, 28 Jun 2011 03:39:05 +0000 (20:39 -0700)]
Distinguish configure check for .ctors/.dtors header/trailers.

13 years agoFix missing .ctors/.dtors lead word in soinit
Roland McGrath [Sat, 25 Jun 2011 08:23:01 +0000 (01:23 -0700)]
Fix missing .ctors/.dtors lead word in soinit

13 years agoFix handling of RES_USE_INET6 big in nscd
Ulrich Drepper [Mon, 27 Jun 2011 17:10:44 +0000 (13:10 -0400)]
Fix handling of RES_USE_INET6 big in nscd

This fixes BZ #12350 also for nscd.

13 years agoAdd missing HAVE_SENDFILE definition
Ulrich Drepper [Mon, 27 Jun 2011 16:29:04 +0000 (12:29 -0400)]
Add missing HAVE_SENDFILE definition

13 years agoMinimal cleanup in innetgr.
Ulrich Drepper [Mon, 27 Jun 2011 14:57:37 +0000 (10:57 -0400)]
Minimal cleanup in innetgr.

13 years agoUse __gettimeofday instead of gettimeofday
H.J. Lu [Sun, 26 Jun 2011 07:08:01 +0000 (03:08 -0400)]
Use __gettimeofday instead of gettimeofday

13 years agoWe don't use linkobj/libc.so at runtmie, no need to check for text rels
Ulrich Drepper [Sun, 26 Jun 2011 07:04:07 +0000 (03:04 -0400)]
We don't use linkobj/libc.so at runtmie, no need to check for text rels

This also works around a toolchain issu.

13 years agoFix unwind info in 32bit SSE2/SSSE3 strncpy
H.J. Lu [Sat, 25 Jun 2011 05:32:27 +0000 (01:32 -0400)]
Fix unwind info in 32bit SSE2/SSSE3 strncpy

13 years agoImproved st{r,p}{,n}cpy for SSE2 and SSSE3 on x86-64
H.J. Lu [Fri, 24 Jun 2011 19:14:22 +0000 (15:14 -0400)]
Improved st{r,p}{,n}cpy for SSE2 and SSSE3 on x86-64

13 years agoWork around limit in writev in 2.6.38+ kernels
Ulrich Drepper [Fri, 24 Jun 2011 18:59:17 +0000 (14:59 -0400)]
Work around limit in writev in 2.6.38+ kernels

13 years agoOptimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32
H.J. Lu [Fri, 24 Jun 2011 18:15:32 +0000 (14:15 -0400)]
Optimized st{r,p}{,n}cpy for SSE2/SSSE3 on x86-32

13 years agonss_db: Quash read implicit declaration warning
Marek Polacek [Fri, 24 Jun 2011 06:57:27 +0000 (02:57 -0400)]
nss_db: Quash read implicit declaration warning

In the function `internal_setent' is used the function read, but the forward
declaration is missing.  Thusly fixed.

13 years agoAvoid __check_pf calls in getaddrinfo unless really needed
Ulrich Drepper [Wed, 22 Jun 2011 19:00:54 +0000 (15:00 -0400)]
Avoid __check_pf calls in getaddrinfo unless really needed

13 years agoFix Ipv4&IPv6 lookup in getaddrinfo
Andreas Schwab [Wed, 22 Jun 2011 18:35:49 +0000 (14:35 -0400)]
Fix Ipv4&IPv6 lookup in getaddrinfo

Problem introduced in the last patch.

13 years agoUse a /sys/devices/system/cpu/online for _SC_NPROCESSORS_ONLN implementation
Ulrich Drepper [Wed, 22 Jun 2011 14:32:07 +0000 (10:32 -0400)]
Use a /sys/devices/system/cpu/online for _SC_NPROCESSORS_ONLN implementation

13 years agoRate limit expensive _SC_NPROCESSORS_ONLN computation
Ulrich Drepper [Wed, 22 Jun 2011 13:50:39 +0000 (09:50 -0400)]
Rate limit expensive _SC_NPROCESSORS_ONLN computation

13 years agoClean up after kernel sigcontext header mess
Ulrich Drepper [Wed, 22 Jun 2011 12:32:55 +0000 (08:32 -0400)]
Clean up after kernel sigcontext header mess

13 years agoFix crash in unsuccessful uses of nss_db
Ulrich Drepper [Tue, 21 Jun 2011 21:09:44 +0000 (17:09 -0400)]
Fix crash in unsuccessful uses of nss_db

13 years agoFix IPv6-only lookups through getaddrinfo
Ulrich Drepper [Tue, 21 Jun 2011 21:03:38 +0000 (17:03 -0400)]
Fix IPv6-only lookups through getaddrinfo

A recent patch introduced a problem where IPv6 lookups happily returned
IPv4 addresses.

13 years agoMinor optimization of getaddrinfo after recent patch
Ulrich Drepper [Tue, 21 Jun 2011 17:06:42 +0000 (13:06 -0400)]
Minor optimization of getaddrinfo after recent patch

13 years agoRevert unwanted patch
Ulrich Drepper [Tue, 21 Jun 2011 16:40:22 +0000 (12:40 -0400)]
Revert unwanted patch

13 years agoAdd missing DL_CALL_FCT
Ulrich Drepper [Tue, 21 Jun 2011 15:23:25 +0000 (11:23 -0400)]
Add missing DL_CALL_FCT

13 years agoAdd an elf_ifunc_invoke interface so that architectures can implement
David S. Miller [Tue, 21 Jun 2011 02:56:40 +0000 (19:56 -0700)]
Add an elf_ifunc_invoke interface so that architectures can implement
the ifunc resolver calls however they wish.

13 years agoFix typo in recent resolver change which causes segvs
Ulrich Drepper [Thu, 16 Jun 2011 02:43:58 +0000 (22:43 -0400)]
Fix typo in recent resolver change which causes segvs

13 years agoImprove 64-bit build
Andreas Schwab [Thu, 16 Jun 2011 01:46:20 +0000 (21:46 -0400)]
Improve 64-bit build

An imperfect version of fxstatat64 was used in ld.so.

13 years agoInstall db-Makefile
Ulrich Drepper [Thu, 16 Jun 2011 01:26:56 +0000 (21:26 -0400)]
Install db-Makefile

13 years agoCleanup of db-XXX.c
Ulrich Drepper [Thu, 16 Jun 2011 01:00:59 +0000 (21:00 -0400)]
Cleanup of db-XXX.c

13 years agoAdd initgroups lookups to nss_db
Ulrich Drepper [Thu, 16 Jun 2011 01:00:21 +0000 (21:00 -0400)]
Add initgroups lookups to nss_db

13 years agoAdd initgroups lookup support to getent
Ulrich Drepper [Thu, 16 Jun 2011 00:54:31 +0000 (20:54 -0400)]
Add initgroups lookup support to getent

13 years agoFix handling of initgroups database.
Ulrich Drepper [Thu, 16 Jun 2011 00:53:22 +0000 (20:53 -0400)]
Fix handling of initgroups database.

13 years agoOptimize hash table generation in makedb
Ulrich Drepper [Wed, 15 Jun 2011 14:20:21 +0000 (10:20 -0400)]
Optimize hash table generation in makedb

13 years agoReenable nss_db with a completely new implementation
Ulrich Drepper [Wed, 15 Jun 2011 02:21:51 +0000 (22:21 -0400)]
Reenable nss_db with a completely new implementation

No longer is Berkeley db used.  Instead a simple hash function is used.
The database files are not updated once they are created and therefore
no complicated database is needed.

13 years agoRewrite makedb to avoid using db library
Ulrich Drepper [Thu, 2 Jun 2011 18:43:16 +0000 (14:43 -0400)]
Rewrite makedb to avoid using db library

13 years agoQuash two memset undeclared warnings.
Andreas Jaeger [Tue, 14 Jun 2011 20:11:39 +0000 (13:11 -0700)]
Quash two memset undeclared warnings.

13 years agoFix memory leak in getaddrinfo
Ulrich Drepper [Mon, 13 Jun 2011 12:31:50 +0000 (08:31 -0400)]
Fix memory leak in getaddrinfo

13 years agoBetter detect total failure of linker script generation.
Roland McGrath [Sat, 11 Jun 2011 06:37:35 +0000 (23:37 -0700)]
Better detect total failure of linker script generation.

13 years agoQuash some new warnings from GCC 4.6.
Roland McGrath [Fri, 10 Jun 2011 19:45:09 +0000 (12:45 -0700)]
Quash some new warnings from GCC 4.6.

13 years agoUse AC_LANG_PROGRAM in nss-crypt check.
Roland McGrath [Fri, 10 Jun 2011 18:09:12 +0000 (11:09 -0700)]
Use AC_LANG_PROGRAM in nss-crypt check.

13 years agoRevert -r -> -Wl,-r change.
Roland McGrath [Fri, 10 Jun 2011 17:34:45 +0000 (10:34 -0700)]
Revert -r -> -Wl,-r change.

13 years agoUse -Wl,-r instead of plain -r.
Roland McGrath [Fri, 10 Jun 2011 00:06:46 +0000 (17:06 -0700)]
Use -Wl,-r instead of plain -r.

13 years agoOOps, wrong version number for development version
Ulrich Drepper [Thu, 9 Jun 2011 11:21:04 +0000 (07:21 -0400)]
OOps, wrong version number for development version

13 years agoAdd pldd program
Ulrich Drepper [Thu, 9 Jun 2011 11:06:21 +0000 (07:06 -0400)]
Add pldd program

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Thu, 9 Jun 2011 11:03:25 +0000 (07:03 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agosparc: Fix LD_BIND_NOW with multiarch.
David S. Miller [Wed, 8 Jun 2011 02:51:06 +0000 (19:51 -0700)]
sparc: Fix LD_BIND_NOW with multiarch.

13 years agoStart 2.15 development
Ulrich Drepper [Wed, 8 Jun 2011 02:22:10 +0000 (22:22 -0400)]
Start 2.15 development

13 years agoS/390 longlong.h: Fix smul_ppmm with -m31 -mzarch
Andreas Krebbel [Tue, 7 Jun 2011 11:26:27 +0000 (07:26 -0400)]
S/390 longlong.h: Fix smul_ppmm with -m31 -mzarch

13 years agoUse canonical FSF .texi files for LGPL and FDL texts.
Roland McGrath [Mon, 6 Jun 2011 22:57:10 +0000 (15:57 -0700)]
Use canonical FSF .texi files for LGPL and FDL texts.

13 years agoFix <bits/mqueue2.h> for C++
Jakub Jelinek [Sat, 4 Jun 2011 18:21:45 +0000 (14:21 -0400)]
Fix <bits/mqueue2.h> for C++

13 years agoMerge branch 'master' of ssh://sourceware.org/git/glibc
Ulrich Drepper [Fri, 3 Jun 2011 11:02:32 +0000 (07:02 -0400)]
Merge branch 'master' of ssh://sourceware.org/git/glibc

Conflicts:
ChangeLog

13 years agoAssume Intel Core i3/i5/i7 processor if AVX is available
H.J. Lu [Fri, 3 Jun 2011 11:01:25 +0000 (07:01 -0400)]
Assume Intel Core i3/i5/i7 processor if AVX is available

13 years agoFix typo in stack guard setup code for old kernels
Ulrich Drepper [Tue, 31 May 2011 18:23:01 +0000 (14:23 -0400)]
Fix typo in  stack guard setup code for old kernels

13 years agoDon't free non-malloced memory and fix memory leak
Ulrich Drepper [Tue, 31 May 2011 12:45:44 +0000 (08:45 -0400)]
Don't free non-malloced memory and fix memory leak

13 years ago2.14 release
Ulrich Drepper [Tue, 31 May 2011 04:12:33 +0000 (00:12 -0400)]
2.14 release

13 years agoNo need for RANLIB make variable anymore
Ulrich Drepper [Tue, 31 May 2011 04:09:58 +0000 (00:09 -0400)]
No need for RANLIB make variable anymore

13 years agoUpdated translation template file
Ulrich Drepper [Tue, 31 May 2011 04:09:20 +0000 (00:09 -0400)]
Updated translation template file

13 years agoAlso translation messages in .ksh files
Ulrich Drepper [Tue, 31 May 2011 04:09:03 +0000 (00:09 -0400)]
Also translation messages in .ksh files