* crt0.o (mainCRTStartup): 16 byte align stack for main function.
This commit is contained in:
parent
ad7ba32b2d
commit
423ea473f4
|
@ -1,3 +1,7 @@
|
|||
2004-05-04 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* crt0.o (mainCRTStartup): 16 byte align stack for main function.
|
||||
|
||||
2004-05-04 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* path.cc (check_sysfile): Don't scan string twice.
|
||||
|
|
|
@ -36,6 +36,8 @@ void
|
|||
mainCRTStartup ()
|
||||
{
|
||||
#ifdef __i386__
|
||||
(void)__builtin_return_address(1);
|
||||
asm volatile ("andl $-16,%%esp" ::: "%esp");
|
||||
if (__cygwin_crt0_bp)
|
||||
asm volatile ("int3");
|
||||
|
||||
|
|
Loading…
Reference in New Issue