mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
Update.
2003-09-17 Ulrich Drepper <drepper@redhat.com> * sysdeps/unix/sysv/linux/i386/clone.S: Make sure child gets a stack which is aligned (mod 16).
This commit is contained in:
parent
92ce46766b
commit
6c052003bd
@ -1,3 +1,8 @@
|
||||
2003-09-17 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/i386/clone.S: Make sure child gets a
|
||||
stack which is aligned (mod 16).
|
||||
|
||||
2003-09-17 Uwe Reimann <Uwe_Reimann@gmx.net>
|
||||
Hans-Peter Nilsson <hp@axis.com>
|
||||
|
||||
|
@ -61,8 +61,10 @@ ENTRY (BP_SYM (__clone))
|
||||
jz SYSCALL_ERROR_LABEL
|
||||
#endif
|
||||
|
||||
/* Insert the argument onto the new stack. */
|
||||
subl $16,%ecx
|
||||
/* Insert the argument onto the new stack. Make sure the new
|
||||
thread is started with an alignment of (mod 16). */
|
||||
andl $0xfffffff0, %ecx
|
||||
subl $24,%ecx
|
||||
movl ARG(%esp),%eax /* no negative argument counts */
|
||||
movl %eax,12(%ecx)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user