diff options
Diffstat (limited to 'lib/csu/i386-elf/crt1.c')
-rw-r--r-- | lib/csu/i386-elf/crt1.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/csu/i386-elf/crt1.c b/lib/csu/i386-elf/crt1.c index 9e8acaa..c6774b0 100644 --- a/lib/csu/i386-elf/crt1.c +++ b/lib/csu/i386-elf/crt1.c @@ -78,6 +78,9 @@ _start(char *ap, ...) char **env; const char *s; +#ifdef __GNUC__ + __asm__("and $0xfffffff0,%esp"); +#endif cleanup = get_rtld_cleanup(); argv = ≈ argc = *(long *)(void *)(argv - 1); |