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/i386/useldt.h | 2 +- linuxthreads/sysdeps/ia64/pt-machine.h | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'linuxthreads/sysdeps') diff --git a/linuxthreads/sysdeps/i386/useldt.h b/linuxthreads/sysdeps/i386/useldt.h index b9566ace1f..02d079c9ef 100644 --- a/linuxthreads/sysdeps/i386/useldt.h +++ b/linuxthreads/sysdeps/i386/useldt.h @@ -201,5 +201,5 @@ extern int __modify_ldt (int, struct modify_ldt_ldt_s *, size_t); /* We want the OS to assign stack addresses. */ #define FLOATING_STACKS 1 -/* Maximum size o fthe stack if the rlimit is unlimited. */ +/* Maximum size of the stack if the rlimit is unlimited. */ #define ARCH_STACK_MAX_SIZE 8*1024*1024 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