aboutsummaryrefslogtreecommitdiff
path: root/devel/linuxthreads/files
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2004-11-22 17:57:45 +0000
committerTor Egge <tegge@FreeBSD.org>2004-11-22 17:57:45 +0000
commit71623572da42d235128aedd3bf6aaa118f1aa247 (patch)
tree846138d26b141e2b9b9c81b236bb9a295e5d376a /devel/linuxthreads/files
parent1257aab50d9e455c59196d63b6ed5491ef9edc4f (diff)
downloadports-71623572da42d235128aedd3bf6aaa118f1aa247.tar.gz
ports-71623572da42d235128aedd3bf6aaa118f1aa247.zip
Notes
Diffstat (limited to 'devel/linuxthreads/files')
-rw-r--r--devel/linuxthreads/files/clone.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/devel/linuxthreads/files/clone.S b/devel/linuxthreads/files/clone.S
index bd4c7601e34b..9782fc52a3e5 100644
--- a/devel/linuxthreads/files/clone.S
+++ b/devel/linuxthreads/files/clone.S
@@ -44,6 +44,7 @@ ENTRY(_clone)
movl 12(%ebp), %esi /* get stack addr */
subl $4, %esi
+ andl $-16, %esi /* Align stack addr */
movl 20(%ebp), %eax /* get __arg */
movl %eax, (%esi)