aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-22 20:09:42 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-22 20:09:42 +0000
commit7d58530341304d403a6626d7f7a1913165fe2f32 (patch)
tree471ef022d415c89ff4b5544a5e0239a9ac45d841 /sysdeps/unix
parentec8c29dc013a5e0ca3330ce5e4ae989e811491e6 (diff)
downloadglibc-7d58530341304d403a6626d7f7a1913165fe2f32.zip
glibc-7d58530341304d403a6626d7f7a1913165fe2f32.tar.gz
glibc-7d58530341304d403a6626d7f7a1913165fe2f32.tar.bz2
Test for stack alignment.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/i386/clone.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/clone.S b/sysdeps/unix/sysv/linux/i386/clone.S
index acd43df..c7d31f7 100644
--- a/sysdeps/unix/sysv/linux/i386/clone.S
+++ b/sysdeps/unix/sysv/linux/i386/clone.S
@@ -67,7 +67,7 @@ ENTRY (BP_SYM (__clone))
/* 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
+ subl $28,%ecx
movl ARG(%esp),%eax /* no negative argument counts */
movl %eax,12(%ecx)