about summary refs log tree commit diff
path: root/linuxthreads/sysdeps/ia64/pt-machine.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-07-22 23:41:12 +0000
committerUlrich Drepper <drepper@redhat.com>2001-07-22 23:41:12 +0000
commit8d42e2e526839af70dc5ae38f18aeaf7ffe959e9 (patch)
tree8c4069204f3426242c839a0a0b7f584d5ce5b33f /linuxthreads/sysdeps/ia64/pt-machine.h
parent47bd306e41f556b29160b8ff9b47319f0876de36 (diff)
downloadglibc-8d42e2e526839af70dc5ae38f18aeaf7ffe959e9.tar.gz
glibc-8d42e2e526839af70dc5ae38f18aeaf7ffe959e9.tar.xz
glibc-8d42e2e526839af70dc5ae38f18aeaf7ffe959e9.zip
Update.
2001-07-19  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/i386/useldt.h: Fix typo in ARCH_STACK_MAX_SIZE comment.

	* sysdeps/ia64/pt-machine.h (FLOATING_STACKS): Define.
	(ARCH_STACK_MAX_SIZE): Define.
	* manager.c (pthread_allocate_stack): Handle FLOATING_STACKS with
	NEED_SEPARATE_REGISTER_STACK.
Diffstat (limited to 'linuxthreads/sysdeps/ia64/pt-machine.h')
-rw-r--r--linuxthreads/sysdeps/ia64/pt-machine.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/sysdeps/ia64/pt-machine.h b/linuxthreads/sysdeps/ia64/pt-machine.h
index a243c8b577..216485ea68 100644
--- a/linuxthreads/sysdeps/ia64/pt-machine.h
+++ b/linuxthreads/sysdeps/ia64/pt-machine.h
@@ -31,6 +31,12 @@
 
 #define NEED_SEPARATE_REGISTER_STACK
 
+/* We want the OS to assign stack addresses.  */
+#define FLOATING_STACKS 1
+
+/* Maximum size of the stack if the rlimit is unlimited.  */
+#define ARCH_STACK_MAX_SIZE     32*1024*1024
+
 /* Get some notion of the current stack.  Need not be exactly the top
    of the stack, just something somewhere in the current frame.
    r12 (sp) is the stack pointer. */