1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Align stack address for new threads.

This commit is contained in:
Tor Egge 2004-11-22 17:57:45 +00:00
parent 1257aab50d
commit 71623572da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122164
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= linuxthreads
PORTVERSION= 2.2.3
PORTREVISION= 15
PORTREVISION= 16
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= glibc

View File

@ -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)