platform/upstream/glibc.git
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 glibc-2.14
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

13 years agoHandle DNS server failures in case of AF_UNSPEC lookups correctly
Ulrich Drepper [Tue, 31 May 2011 02:48:47 +0000 (22:48 -0400)]
Handle DNS server failures in case of AF_UNSPEC lookups correctly

13 years agoUndo last patch
Ulrich Drepper [Mon, 30 May 2011 16:33:37 +0000 (12:33 -0400)]
Undo last patch

13 years agoAdd BZ number to NEWS
Ulrich Drepper [Mon, 30 May 2011 16:33:12 +0000 (12:33 -0400)]
Add BZ number to NEWS

13 years agoHandle DSOs without any dependency in ld.so
Ulrich Drepper [Mon, 30 May 2011 16:31:25 +0000 (12:31 -0400)]
Handle DSOs without any dependency in ld.so

13 years agoOne more thinko in CL
Ulrich Drepper [Mon, 30 May 2011 15:57:50 +0000 (11:57 -0400)]
One more thinko in CL

13 years agoFix typo in CL
Ulrich Drepper [Mon, 30 May 2011 15:14:06 +0000 (11:14 -0400)]
Fix typo in CL

13 years agoPrevent loader from loading itself
Ulrich Drepper [Mon, 30 May 2011 05:55:40 +0000 (01:55 -0400)]
Prevent loader from loading itself

13 years agoRestore _res correctly
Ulrich Drepper [Mon, 30 May 2011 03:49:49 +0000 (23:49 -0400)]
Restore _res correctly

getaddrinfo works around the resolver functionality to avoid automatic
IPv6 lookups.  The restoring didn't allow for the resolver to set
additional bits in _res.

13 years agoReference wrong BZ
Ulrich Drepper [Mon, 30 May 2011 02:28:01 +0000 (22:28 -0400)]
Reference wrong BZ

13 years agoInterpret numeric values in shadow file as signed
Ulrich Drepper [Mon, 30 May 2011 02:26:43 +0000 (22:26 -0400)]
Interpret numeric values in shadow file as signed

13 years agoMake resolv.conf parsing more compact
Ulrich Drepper [Mon, 30 May 2011 02:07:49 +0000 (22:07 -0400)]
Make resolv.conf parsing more compact

13 years agoRecognize use-vc option in resolv.conf
Ulrich Drepper [Mon, 30 May 2011 01:43:33 +0000 (21:43 -0400)]
Recognize use-vc option in resolv.conf

13 years agoRecord when bug 11577 was fixed and by which patch
Ulrich Drepper [Mon, 30 May 2011 01:33:30 +0000 (21:33 -0400)]
Record when bug 11577 was fixed and by which patch

13 years agoDon't build AVX tests with old compilers
Ulrich Drepper [Mon, 30 May 2011 01:25:58 +0000 (21:25 -0400)]
Don't build AVX tests with old compilers

13 years agoMark malloc hook variables as deprecated
Ulrich Drepper [Mon, 30 May 2011 01:10:23 +0000 (21:10 -0400)]
Mark malloc hook variables as deprecated

13 years agoPerhaps the real definition of __MALLOC_HOOK_VOLATILE should be added
Ulrich Drepper [Mon, 30 May 2011 00:43:54 +0000 (20:43 -0400)]
Perhaps the real definition of __MALLOC_HOOK_VOLATILE should be added

13 years agoMissed one malloc hook variable
Ulrich Drepper [Mon, 30 May 2011 00:41:09 +0000 (20:41 -0400)]
Missed one malloc hook variable

13 years agoDeclare malloc hook variables as volatile.
Ulrich Drepper [Mon, 30 May 2011 00:40:08 +0000 (20:40 -0400)]
Declare malloc hook variables as volatile.

13 years agoFix typo in last patch to locarchive.c
Ulrich Drepper [Mon, 30 May 2011 00:26:04 +0000 (20:26 -0400)]
Fix typo in last patch to locarchive.c

13 years agoSame change for the other siginfi.h files
Ulrich Drepper [Mon, 30 May 2011 00:12:15 +0000 (20:12 -0400)]
Same change for the other siginfi.h files

13 years agoDon't document si_code used for raise()
Ulrich Drepper [Mon, 30 May 2011 00:05:30 +0000 (20:05 -0400)]
Don't document si_code used for raise()

13 years agoFix unnecessary overallocation due to incomplete character
Ulrich Drepper [Sat, 28 May 2011 21:14:30 +0000 (17:14 -0400)]
Fix unnecessary overallocation due to incomplete character

When incomplete characters are found at the end of a string the
code ran amok and allocated lots of memory.  Stricter limits
are now in place.

13 years agoHandle failure of _nl_explode_name in all cases
Ulrich Drepper [Sat, 28 May 2011 20:59:30 +0000 (16:59 -0400)]
Handle failure of _nl_explode_name in all cases