X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=crt%2Fi386%2Fcrt1.s;h=4d5f572fee958e11736f54218981b5443274e898;hp=8702052a75f330f4985e1a70e9af241a5e55884d;hb=e2ee1bdd8df7637267f5daae74e2849f77751f6e;hpb=cfcbea1e4373ad5db085f7efed302e6f229e2171 diff --git a/crt/i386/crt1.s b/crt/i386/crt1.s index 8702052a..4d5f572f 100644 --- a/crt/i386/crt1.s +++ b/crt/i386/crt1.s @@ -12,6 +12,8 @@ _start: pushl %ebp pushl %eax pushl %ecx - pushl $main + call 1f +1: addl $[main-.],(%esp) + //pushl $main call __libc_start_main -.L0: jmp .L0 +1: jmp 1b