aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps
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
parent47bd306e41f556b29160b8ff9b47319f0876de36 (diff)
downloadglibc-8d42e2e526839af70dc5ae38f18aeaf7ffe959e9.tar
glibc-8d42e2e526839af70dc5ae38f18aeaf7ffe959e9.tar.gz
glibc-8d42e2e526839af70dc5ae38f18aeaf7ffe959e9.tar.bz2
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')
-rw-r--r--linuxthreads/sysdeps/i386/useldt.h2
-rw-r--r--linuxthreads/sysdeps/ia64/pt-machine.h6
2 files changed, 7 insertions, 1 deletions
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. */