external/glibc.git
15 years agoFix possible race when freeing object in fast bin list.
Ulrich Drepper [Thu, 2 Jul 2009 10:30:55 +0000 (03:30 -0700)]
Fix possible race when freeing object in fast bin list.

15 years agoFix NIS and NIS+ getnetbyaddr backends.
Ulrich Drepper [Wed, 1 Jul 2009 10:41:30 +0000 (03:41 -0700)]
Fix NIS and NIS+ getnetbyaddr backends.

The addresses were interpreted as class-based network addresses.

15 years agoFix getent networks lookup and resulting incorrect NSS change.
Ulrich Drepper [Wed, 1 Jul 2009 10:33:26 +0000 (03:33 -0700)]
Fix getent networks lookup and resulting incorrect NSS change.

I changed the files NSS backend for networks because I thought the
getent use of getnetbyaddr is correct.  But it isn't.  Undo parts
of the last change and fix getent.

15 years agoFix getnetbyaddr implementation.
Ulrich Drepper [Wed, 1 Jul 2009 09:42:59 +0000 (02:42 -0700)]
Fix getnetbyaddr implementation.

There were two problems in the getnetbyaddr implementation.  The type
argument is pretty much useless since (almost) no input file contains
this information and the NSS backends make up the value they fill in
for the n_addrtype field.  Therefore we now declare that passing AF_UNSPEC
is always recognized.  Secondly, the files backend didn't compare the network
numbers with the correct endianess.

Also change getent to take advantage of the type parameter change.

15 years agoRegenerated.
Ulrich Drepper [Tue, 30 Jun 2009 12:33:52 +0000 (05:33 -0700)]
Regenerated.

15 years agoFix little checkin problem in last patch.
Ulrich Drepper [Tue, 30 Jun 2009 11:41:38 +0000 (04:41 -0700)]
Fix little checkin problem in last patch.

15 years agoDetermine and store processor family and model on x86-64.
H.J. Lu [Tue, 30 Jun 2009 11:39:09 +0000 (04:39 -0700)]
Determine and store processor family and model on x86-64.

15 years agoImplement second fallback mode for DNS requests.
Ulrich Drepper [Fri, 26 Jun 2009 10:47:47 +0000 (03:47 -0700)]
Implement second fallback mode for DNS requests.

There is some more shardware/software out there which has problems
if two DNS requests are sent using the same tuple

  (source addr, source port, dest addr, dest port)

This can range from firewalls to load balancers.  Some of the vendors
already fixed it in response to this problem.  Still, we need a way
to make glibc work with broken environments.  The single-request-reopen
flag can be used or we fall back automatically to this mode.

15 years agoWhitespace fix.
Ulrich Drepper [Thu, 25 Jun 2009 15:57:44 +0000 (08:57 -0700)]
Whitespace fix.

15 years agoFix text relocation on ppc32.
Andreas Schwab [Thu, 25 Jun 2009 15:56:20 +0000 (08:56 -0700)]
Fix text relocation on ppc32.

The ____longjmp_chk implementation didn't load from memory the
right way.

15 years agoFix cfa offset for saved registers in PPC sqrt implementations.
Andreas Schwab [Wed, 24 Jun 2009 18:36:57 +0000 (11:36 -0700)]
Fix cfa offset for saved registers in PPC sqrt implementations.

15 years agoHandle empty TZ strings at the end of new-style timzeone files correctly.
Andreas Schwab [Tue, 23 Jun 2009 16:13:30 +0000 (09:13 -0700)]
Handle empty TZ strings at the end of new-style timzeone files correctly.

15 years agoUpdate from translation team.
Ulrich Drepper [Tue, 23 Jun 2009 05:53:20 +0000 (22:53 -0700)]
Update from translation team.

15 years agoUpdate from translation team.
Ulrich Drepper [Tue, 23 Jun 2009 04:55:15 +0000 (21:55 -0700)]
Update from translation team.

15 years agoClean up whitespaces in last patch.
Ulrich Drepper [Tue, 23 Jun 2009 03:39:37 +0000 (20:39 -0700)]
Clean up whitespaces in last patch.

15 years agoAdd SSE4.2 support for strcmp and strncmp on x86-64.
H.J. Lu [Tue, 23 Jun 2009 03:38:41 +0000 (20:38 -0700)]
Add SSE4.2 support for strcmp and strncmp on x86-64.

15 years agoMore whitespace cleanups.
Ulrich Drepper [Mon, 22 Jun 2009 22:11:18 +0000 (15:11 -0700)]
More whitespace cleanups.

15 years agoClean up whitespaces in last patch.
Ulrich Drepper [Mon, 22 Jun 2009 22:10:30 +0000 (15:10 -0700)]
Clean up whitespaces in last patch.

15 years agoAdd more IFUNC tests.
H.J. Lu [Mon, 22 Jun 2009 22:07:40 +0000 (15:07 -0700)]
Add more IFUNC tests.

Mostly tests around not-exported IFUNC functions, IFUNC in statically
linked binaries and PIEs, etc.

15 years agoFix broken up NIS groups for compat NSS module.
Ulrich Drepper [Sun, 21 Jun 2009 03:39:19 +0000 (20:39 -0700)]
Fix broken up NIS groups for compat NSS module.

The check for the inclusion of a group in the result gave up too early
in case of broken-up NIS groups.  We now fall back automatically to
the slow mode of using getgrent_r.  As an optimization, if there is
not blacklist we need not perform the check in the first place and
therefore can just accept the results of the initgroups_dyn callback.

15 years agoAdd some more tests to malloc to detect corruptions.
Ulrich Drepper [Fri, 19 Jun 2009 05:37:31 +0000 (22:37 -0700)]
Add some more tests to malloc to detect corruptions.

15 years agoAdd 802.15.4 definitions to header files.
Ulrich Drepper [Thu, 18 Jun 2009 14:52:38 +0000 (07:52 -0700)]
Add 802.15.4 definitions to header files.

15 years agoUse +link-pie Makefile rule to link PIE ifunc tests.
H.J. Lu [Thu, 18 Jun 2009 02:55:18 +0000 (19:55 -0700)]
Use +link-pie Makefile rule to link PIE ifunc tests.

15 years agoBuild pt_chown as PIE.
Ulrich Drepper [Wed, 17 Jun 2009 03:46:42 +0000 (20:46 -0700)]
Build pt_chown as PIE.

15 years agoDon't treat bug reporting message as a format string.
Andreas Schwab [Wed, 17 Jun 2009 03:34:55 +0000 (20:34 -0700)]
Don't treat bug reporting message as a format string.

15 years agoGit didn't see the ChangeLog entry.
Ulrich Drepper [Tue, 16 Jun 2009 22:59:35 +0000 (15:59 -0700)]
Git didn't see the ChangeLog entry.

15 years agoExtend pt_chown to drop privileges.
Ulrich Drepper [Tue, 16 Jun 2009 22:58:07 +0000 (15:58 -0700)]
Extend pt_chown to drop privileges.

If libcap is available, use it to drop privileges in pt_chown before
starting the work to change the permissions and ownership of the
slave device.

15 years agoFix x86-64 memchr for large lengths.
Jakub Jelinek [Tue, 16 Jun 2009 17:23:31 +0000 (10:23 -0700)]
Fix x86-64 memchr for large lengths.

15 years agoConsolidate PIE linking Makefile rules.
H.J. Lu [Tue, 16 Jun 2009 16:19:59 +0000 (09:19 -0700)]
Consolidate PIE linking Makefile rules.

15 years agoFix incorrect use of cmpldi in 32-bit PPC code.
Ryan S. Arnold [Tue, 16 Jun 2009 15:29:04 +0000 (08:29 -0700)]
Fix incorrect use of cmpldi in 32-bit PPC code.

The 32-bit PowerPC POWER6 memcpy uses the cmpldi insn when it should use a cmplwi.
BZ #10107

15 years agoDefine week, first_weekday, first_workday in de_AT locale.
Ulrich Drepper [Tue, 16 Jun 2009 15:25:01 +0000 (08:25 -0700)]
Define week, first_weekday, first_workday in de_AT locale.

BZ #10011

15 years agoAdd missing include.
Ulrich Drepper [Tue, 16 Jun 2009 15:00:10 +0000 (08:00 -0700)]
Add missing include.

15 years agoFold Linux-specific grantpt code into Unix version.
Ulrich Drepper [Tue, 16 Jun 2009 14:59:09 +0000 (07:59 -0700)]
Fold Linux-specific grantpt code into Unix version.

15 years agoRun tst-fgetwc with necessary envvar.
Ulrich Drepper [Tue, 16 Jun 2009 14:48:27 +0000 (07:48 -0700)]
Run tst-fgetwc with necessary envvar.

15 years agoOptimize pt_chown.
Ulrich Drepper [Tue, 16 Jun 2009 05:58:21 +0000 (22:58 -0700)]
Optimize pt_chown.

Don't call chown and chmod if not necessary.

15 years agoFix permission of slave device on devpts if necessary.
Ulrich Drepper [Tue, 16 Jun 2009 05:56:51 +0000 (22:56 -0700)]
Fix permission of slave device on devpts if necessary.

If devptr is misconfigured the slave device permission after grantpt
might not be 0620.  BZ #10166

15 years agoWhen iterating over CPU bitmask, don't try more than CPU_SETSIZE.
Ulrich Drepper [Tue, 16 Jun 2009 04:12:57 +0000 (21:12 -0700)]
When iterating over CPU bitmask, don't try more than CPU_SETSIZE.

15 years agoFix type of nd_opt_home_agent_info_preference.
Arnaud Ebalard [Tue, 16 Jun 2009 03:33:39 +0000 (20:33 -0700)]
Fix type of nd_opt_home_agent_info_preference.

15 years agoExtend getent to handle the shadow database.
Aurelien Jarno [Tue, 16 Jun 2009 00:49:35 +0000 (17:49 -0700)]
Extend getent to handle the shadow database.

BZ #10207

15 years agoFix memory leak when batch-reading large NIS password maps.
Joe Landers [Tue, 16 Jun 2009 00:37:40 +0000 (17:37 -0700)]
Fix memory leak when batch-reading large NIS password maps.

Not the whole was traversed in the function to free all buffers.
BZ #10203

15 years ago(do_test): Use de_DE.UTF-8 as locale name.
Bruce Dubbs [Tue, 16 Jun 2009 00:27:48 +0000 (17:27 -0700)]
(do_test): Use de_DE.UTF-8 as locale name.

15 years agoPreserve message printed before abort.
Ulrich Drepper [Mon, 15 Jun 2009 23:17:09 +0000 (16:17 -0700)]
Preserve message printed before abort.

The terminal output etc is not visible in a core file.  The new
libc-internal variable __abort_msg will point to a string with the
message which has been printed before the abort in case abort is
called from inside libc.  BZ #10217

15 years agoFix computation of tzspec_len.
Ulrich Drepper [Mon, 15 Jun 2009 18:00:08 +0000 (11:00 -0700)]
Fix computation of tzspec_len.

Without this it should never have worked that we can use the
embedded envvar in the timezone data files for dates after the last
matching rule.

15 years agoHandle leap seconds even if no DST rule exists.
Akinori Hattori [Mon, 15 Jun 2009 17:54:26 +0000 (10:54 -0700)]
Handle leap seconds even if no DST rule exists.

This fixes BZ #10211.

15 years agoexempt timezone files from the no-bad-whitespace policy
Jim Meyering [Mon, 15 Jun 2009 16:03:56 +0000 (18:03 +0200)]
exempt timezone files from the no-bad-whitespace policy

* .gitattributes: New file.  Exempt imported timezone files from
the no-bad-whitespace rules.

15 years agoUpdate from tzcode2009i.
Ulrich Drepper [Mon, 15 Jun 2009 15:49:18 +0000 (08:49 -0700)]
Update from tzcode2009i.

15 years agoUpdate timezone data from tzdata2009i.
Ulrich Drepper [Mon, 15 Jun 2009 15:39:40 +0000 (08:39 -0700)]
Update timezone data from tzdata2009i.

15 years agolibc part of prelink IFUNC support.
Jakub Jelinek [Mon, 15 Jun 2009 14:46:53 +0000 (07:46 -0700)]
libc part of prelink IFUNC support.

The dl-lookup.c changes are needed for prelink (support in prelink
checked into SVN, tested for both i?86 and x86-64), dl-irel.h just
something I discovered by code inspection.

15 years agoMissing BZ number.
Ulrich Drepper [Mon, 15 Jun 2009 14:25:14 +0000 (07:25 -0700)]
Missing BZ number.

15 years agoDhivehi language locale for Maldives.
Sofwath [Mon, 15 Jun 2009 14:24:29 +0000 (07:24 -0700)]
Dhivehi language locale for Maldives.

15 years agoUpdate from translation team.
Ulrich Drepper [Mon, 15 Jun 2009 01:11:09 +0000 (18:11 -0700)]
Update from translation team.

15 years agoFix warnings when using <sys/select.h>.
Ulrich Drepper [Sun, 14 Jun 2009 23:09:42 +0000 (16:09 -0700)]
Fix warnings when using <sys/select.h>.

gcc 4.4 is more picky.  And the x86-64 version of <bits/select.h>
contained a now unnecessary asm optimization.  Remove it.

15 years agoImplement pthread_sigqueue.
Ulrich Drepper [Fri, 12 Jun 2009 15:34:02 +0000 (08:34 -0700)]
Implement pthread_sigqueue.

The kernel from 2.3.31 on supports the rt_tgsigqueueinfo syscall.
Use it to implement the non-standard extension which, like
sigqueue, can pass additional data to the receiving thread.

15 years agoFix futex syscall parameter for x86 absolute timeout waits.
Bryan Kadzban [Thu, 11 Jun 2009 18:32:51 +0000 (11:32 -0700)]
Fix futex syscall parameter for x86 absolute timeout waits.

This affects only installations compiled for kernels older than 2.6.18.

15 years agoRemember we switched to single-request mode.
Ulrich Drepper [Thu, 11 Jun 2009 17:07:33 +0000 (10:07 -0700)]
Remember we switched to single-request mode.

This change prevents repetition in most later calls of the resolver
in case the DNS server or the network connection is broken.

15 years agoRemove comma at end of enum.
J.H.M. Dassen [Tue, 9 Jun 2009 14:58:02 +0000 (07:58 -0700)]
Remove comma at end of enum.

15 years agoUrdu language locale for India.
Pravin Satpute [Tue, 9 Jun 2009 14:46:30 +0000 (07:46 -0700)]
Urdu language locale for India.

15 years agoDon't premature stop parsing mode string of fopen.
Ulrich Drepper [Tue, 9 Jun 2009 14:01:42 +0000 (07:01 -0700)]
Don't premature stop parsing mode string of fopen.

15 years ago(_IO_new_file_fopen): Don't prematurely stop parsing mode string.
Ulrich Drepper [Tue, 9 Jun 2009 13:59:02 +0000 (06:59 -0700)]
(_IO_new_file_fopen): Don't prematurely stop parsing mode string.

15 years agoAdd SSE4.2 optimized rawmemchr implementation for x86-64.
Ulrich Drepper [Fri, 5 Jun 2009 23:54:50 +0000 (16:54 -0700)]
Add SSE4.2 optimized rawmemchr implementation for x86-64.

15 years agoForgot some more cleanups for the SSE4.2 strlen on x86-64.
Ulrich Drepper [Fri, 5 Jun 2009 18:51:59 +0000 (11:51 -0700)]
Forgot some more cleanups for the SSE4.2 strlen on x86-64.

15 years agoAdd missing cleanups from SSE4.2 x86-64 strlen.
Ulrich Drepper [Fri, 5 Jun 2009 18:39:45 +0000 (11:39 -0700)]
Add missing cleanups from SSE4.2 x86-64 strlen.

15 years agoOptimize x86-64 strlen for SSE4.2.
Ulrich Drepper [Fri, 5 Jun 2009 18:32:00 +0000 (11:32 -0700)]
Optimize x86-64 strlen for SSE4.2.

The SSE4.2 implementation is used in the DSO only.  The patch also adds
some infrastructure to be used in similar code later one.

15 years agoFix build problems with old binutils.
Ulrich Drepper [Fri, 5 Jun 2009 16:42:32 +0000 (09:42 -0700)]
Fix build problems with old binutils.

Old binutils don't provide IFUNC and don't generate the section start/end
symbols we expect.  At least for now only add the initializer code for
static IFUNC relocations if multi-arch support is requested.

15 years agoMore small optimizations for x86-64 strlen.
Ulrich Drepper [Thu, 4 Jun 2009 23:45:35 +0000 (16:45 -0700)]
More small optimizations for x86-64 strlen.

15 years agoTiny strlen for x86-64 optimization.
Ulrich Drepper [Thu, 4 Jun 2009 17:54:29 +0000 (10:54 -0700)]
Tiny strlen for x86-64 optimization.

I didn't remove an instruction from a previous version in the final
version.

15 years agoTest for ELF IFUNC functionality.
H.J. Lu [Wed, 3 Jun 2009 23:21:40 +0000 (16:21 -0700)]
Test for ELF IFUNC functionality.

15 years agoTerminate correct buffer.
Ulrich Drepper [Wed, 3 Jun 2009 15:30:35 +0000 (08:30 -0700)]
Terminate correct buffer.

Little typo could cause additional characters to be printed.

15 years agoAdd missing __execvpe prototype.
Ulrich Drepper [Tue, 2 Jun 2009 14:11:51 +0000 (07:11 -0700)]
Add missing __execvpe prototype.

Avoids warnings.

15 years agoImplement execvpe.
Ulrich Drepper [Tue, 2 Jun 2009 14:03:02 +0000 (07:03 -0700)]
Implement execvpe.

There is some existing practice in other OSes and it's trivial to
implement giving the existing code.  Fixes BZ #10221.

15 years agoSmall optimization of STT_GNU_IFUNC handling.
Ulrich Drepper [Mon, 1 Jun 2009 18:49:05 +0000 (11:49 -0700)]
Small optimization of STT_GNU_IFUNC handling.

The test to call the indirect function now includes a subtest to
checked whether the symbol is defined.  When coming to that point
this is almost always the case.  The test for STT_GNU_IFUNC on the
other hand rarely is true.  Move it to the front means we don't have
to perform the second test unless really necessary.

15 years agoFix mbrtowc example.
André Goddard Rosa [Mon, 1 Jun 2009 18:43:26 +0000 (11:43 -0700)]
Fix mbrtowc example.

The remaining bytes were not copied correctly.

15 years agoBetter error message for invalid relocatio in static binary.
Ulrich Drepper [Mon, 1 Jun 2009 18:39:24 +0000 (11:39 -0700)]
Better error message for invalid relocatio in static binary.

15 years agoDescribe latest IFUNC changes.
Ulrich Drepper [Mon, 1 Jun 2009 06:50:25 +0000 (23:50 -0700)]
Describe latest IFUNC changes.

15 years agoFix up sched_cpucount in x86-64.
Ulrich Drepper [Mon, 1 Jun 2009 06:46:42 +0000 (23:46 -0700)]
Fix up sched_cpucount in x86-64.

Now that static executables can handle IFUNC functions don't exclude
optimization for sched_cpucount for !SHARED.

15 years agoFinish IFUNC support for x86 and x86-64.
Ulrich Drepper [Mon, 1 Jun 2009 06:45:33 +0000 (23:45 -0700)]
Finish IFUNC support for x86 and x86-64.

Add support for the IRELAIVE relocation and IFUNC in static executables.

15 years agoSimplify CPUID value handling.
Ulrich Drepper [Mon, 1 Jun 2009 00:52:05 +0000 (17:52 -0700)]
Simplify CPUID value handling.

SO far Intel and AMD use exactly the same bits meaning the same
things in CPUID index 1.  Simplify the code.  Should an architecture
come along which doesn't use the same semantics then it must use a
different index value than COMMON_CPUID_INDEX_1.

15 years agoAdd missing file from accept4 commit.
Ulrich Drepper [Mon, 1 Jun 2009 00:46:55 +0000 (17:46 -0700)]
Add missing file from accept4 commit.

Hidden by previous .gitignore content.

15 years agoMove AC_CANONICAL_HOST before first use of $host and $build.
Andreas Schwab [Sun, 31 May 2009 23:54:28 +0000 (16:54 -0700)]
Move AC_CANONICAL_HOST before first use of $host and $build.

15 years agoRemove arch directory names from .gitignore.
Roland McGrath [Sat, 30 May 2009 22:06:51 +0000 (15:06 -0700)]
Remove arch directory names from .gitignore.

15 years agoFix errno for boundary conditions in 128-bit long double.
Ulrich Drepper [Fri, 29 May 2009 19:00:22 +0000 (12:00 -0700)]
Fix errno for boundary conditions in 128-bit long double.

Similar to the changes which went already in for the other formats,
follow POSIX rules for errno.

15 years agoImplement longjmp checking for s390.
Ulrich Drepper [Fri, 29 May 2009 18:58:04 +0000 (11:58 -0700)]
Implement longjmp checking for s390.

15 years agoCompact cache info data structure for x86/x86-64.
Ulrich Drepper [Fri, 29 May 2009 18:53:36 +0000 (11:53 -0700)]
Compact cache info data structure for x86/x86-64.

This saves about 1.5kB in the DSO.

15 years ago[BZ #10200]
Aurelien Jarno [Wed, 27 May 2009 23:41:00 +0000 (16:41 -0700)]
[BZ #10200]
* db-symbols.awk: Use the last field for the symbol name instead
of the 8th one.

15 years agoDescribe nss_dns parallel lookup workaround in 2.10 NEWS.
Ulrich Drepper [Fri, 22 May 2009 16:07:00 +0000 (09:07 -0700)]
Describe nss_dns parallel lookup workaround in 2.10 NEWS.

15 years agoFix errno for IBM long double.
Andreas Schwab [Fri, 22 May 2009 15:35:15 +0000 (08:35 -0700)]
Fix errno for IBM long double.

After the last addition to the math test suite PPC routines haven't
been adjusted so far.

15 years agoAdd ___longjmp_chk support for powerpc{32,64}.
Andreas Schwab [Fri, 22 May 2009 15:28:20 +0000 (08:28 -0700)]
Add ___longjmp_chk support for powerpc{32,64}.

15 years agoImplement accept4 for more archs using socketcall.
Jakub Jelinek [Fri, 22 May 2009 15:25:34 +0000 (08:25 -0700)]
Implement accept4 for more archs using socketcall.

So far accept4 was only supported on archs using socketcall for x86.
This patch adds support for the remaining archs.

15 years agoAdd missing file from previous IA-64 longjmp commit.
Ulrich Drepper [Fri, 22 May 2009 01:54:47 +0000 (18:54 -0700)]
Add missing file from previous IA-64 longjmp commit.

15 years agoHandle -g option for IA-64 assembler.
Ulrich Drepper [Fri, 22 May 2009 01:54:05 +0000 (18:54 -0700)]
Handle -g option for IA-64 assembler.

15 years agoFix IA-64 memchr read-ahead.
Ulrich Drepper [Fri, 22 May 2009 01:47:59 +0000 (18:47 -0700)]
Fix IA-64 memchr read-ahead.

The latest stratcliff extension exposed a bug in the IA-64 memchr which
uses non-speculative loads to prefetch data.  Change the code to use
speculative loads with appropriate fixup.  Fixes BZ 10162.

15 years agoAdd ____longjmp_chk support for IA-64.
H.J. Lu [Fri, 22 May 2009 01:43:45 +0000 (18:43 -0700)]
Add ____longjmp_chk support for IA-64.

15 years agoAdd missing .text directives.
H.J. Lu [Fri, 22 May 2009 01:38:11 +0000 (18:38 -0700)]
Add missing .text directives.

The ____longjmp_chk functions on x86 and x86-64 were placed in .rodata.str1.1.

15 years agoDon't define __ASSUME_ACCEPT4 for IA-64.
Ulrich Drepper [Fri, 22 May 2009 01:23:57 +0000 (18:23 -0700)]
Don't define __ASSUME_ACCEPT4 for IA-64.

15 years agoRemove __NR_accept4 definition.
Jakub Jelinek [Fri, 22 May 2009 01:16:59 +0000 (18:16 -0700)]
Remove __NR_accept4 definition.

This definition was meant to be removed before the checkin.  It was
used in the development.

15 years agoCorrect socketcall argument for accept4.
Jakub Jelinek [Fri, 22 May 2009 01:15:26 +0000 (18:15 -0700)]
Correct socketcall argument for accept4.

The header had the old name (paccept).

15 years agoSun agreed to a change of the license for the RPC code to a BSD-like license.
Ulrich Drepper [Thu, 21 May 2009 04:57:37 +0000 (21:57 -0700)]
Sun agreed to a change of the license for the RPC code to a BSD-like license.

15 years agoDanish translation update from translation team.
Ulrich Drepper [Wed, 20 May 2009 14:12:32 +0000 (07:12 -0700)]
Danish translation update from translation team.

15 years agoAdd ____longjmp_chk for SH.
Kaz Kojima [Mon, 18 May 2009 22:44:09 +0000 (15:44 -0700)]
Add ____longjmp_chk for SH.

Following the previous changes for x86 and x86-64.

15 years agoFix forced loop termination in nscd database lookup.
Jakub Jelinek [Mon, 18 May 2009 17:19:50 +0000 (10:19 -0700)]
Fix forced loop termination in nscd database lookup.

There are two issues with the forced loop exit in the nscd lookup:
1. the estimate of the entry size isn't pessimistic enough for all
   databases, resulting potentially is too early exits
2. the combination of 64-bit process and 32-bit nscd would lead to
   rejecting valid records in the database.