mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Commit for blight: fix stack alignment.
svn path=/trunk/; revision=14588
This commit is contained in:
parent
093d9f292c
commit
298503a6e4
1 changed files with 2 additions and 6 deletions
|
@ -11,12 +11,8 @@ void *alloca(size_t s)
|
|||
if ( s == 0 )
|
||||
return NULL;
|
||||
|
||||
|
||||
if ( (s & 0xfffffffc) != 0 )
|
||||
as += 4;
|
||||
|
||||
as &= 0xfffffffc;
|
||||
|
||||
as = (as + 3) & (~3);
|
||||
|
||||
__asm__ __volatile__(
|
||||
"mov %0, %%edx \n"
|
||||
// "popl %%ebp \n"
|
||||
|
|
Loading…
Reference in a new issue