From 8d42e2e526839af70dc5ae38f18aeaf7ffe959e9 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 22 Jul 2001 23:41:12 +0000 Subject: Update. 2001-07-19 Jakub Jelinek * 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. --- linuxthreads/sysdeps/ia64/pt-machine.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'linuxthreads/sysdeps/ia64') 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. */ -- cgit v1.2.3