1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
2001-03-16  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/ieee754/ldbl-96/s_erfl.c: New file.
	Contributed by Stephen L. Moshier <moshier@na-net.ornl.gov>.

	* sysdeps/i386/fpu/libm-test-ulps: Adjust for addition of erfl and
	erfcl.
	* sysdeps/ia64/fpu/libm-test-ulps: Likewise.

	* sysdeps/unix/sysv/linux/ia64/swapcontext.c: New file.
This commit is contained in:
Ulrich Drepper
2001-03-16 22:26:45 +00:00
parent aeba9785a6
commit a66f0958a1
14 changed files with 550 additions and 304 deletions

View File

@@ -193,16 +193,7 @@ int __pthread_attr_setstacksize(pthread_attr_t *attr, size_t stacksize)
problem if the manager is already started and we determined it. If
this hasn't happened, we have to find the limit outself. */
if (__pthread_max_stacksize == 0)
{
struct rlimit limit;
getrlimit(RLIMIT_STACK, &limit);
# ifdef NEED_SEPARATE_REGISTER_STACK
__pthread_max_stacksize = limit.rlim_max / 2;
# else
__pthread_max_stacksize = limit.rlim_max;
# endif
}
__pthread_init_max_stacksize ();
if (stacksize > __pthread_max_stacksize)
return EINVAL;