projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6f28c2
)
Formerly ../mach/setup-thread.c.~10~
author
roland
<roland>
Fri, 22 Apr 1994 23:34:35 +0000
(23:34 +0000)
committer
roland
<roland>
Fri, 22 Apr 1994 23:34:35 +0000
(23:34 +0000)
mach/setup-thread.c
patch
|
blob
|
history
diff --git
a/mach/setup-thread.c
b/mach/setup-thread.c
index
4bec113
..
87412d5
100644
(file)
--- a/
mach/setup-thread.c
+++ b/
mach/setup-thread.c
@@
-78,8
+78,7
@@
__mach_setup_thread (task_t task, thread_t thread, void *pc,
memset (&ts, 0, sizeof (ts));
ts.PC = (int) pc;
#ifdef STACK_GROWTH_DOWN
- ts.SP = stack + size;
- stack -= __vm_page_size;
+ ts.SP = stack + __vm_page_size + size;
#elif defined (STACK_GROWTH_UP)
ts.SP = stack;
stack += size;