svn commit: branches/uClibc_0_9_29/libpthread/linuxthreads.old
vapier at uclibc.org
vapier at uclibc.org
Sat Jan 5 09:21:43 PST 2008
Author: vapier
Date: 2008-01-05 09:21:42 -0800 (Sat, 05 Jan 2008)
New Revision: 20742
Log:
Merge r18709 by vapier from trunk:
Bernd Schmidt writes: make sure custom stacks work properly for no-mmu
Modified:
branches/uClibc_0_9_29/libpthread/linuxthreads.old/manager.c
Changeset:
Modified: branches/uClibc_0_9_29/libpthread/linuxthreads.old/manager.c
===================================================================
--- branches/uClibc_0_9_29/libpthread/linuxthreads.old/manager.c 2008-01-05 17:21:28 UTC (rev 20741)
+++ branches/uClibc_0_9_29/libpthread/linuxthreads.old/manager.c 2008-01-05 17:21:42 UTC (rev 20742)
@@ -355,6 +355,13 @@
guardaddr = NULL;
guardsize = 0;
__pthread_nonstandard_stacks = 1;
+#ifndef __ARCH_USE_MMU__
+ /* check the initial thread stack boundaries so they don't overlap */
+ NOMMU_INITIAL_THREAD_BOUNDS((char *) new_thread, (char *) new_thread_bottom);
+
+ PDEBUG("initial stack: bos=%p, tos=%p\n", __pthread_initial_thread_bos,
+ __pthread_initial_thread_tos);
+#endif
}
else
{
More information about the uClibc-cvs
mailing list