about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--crt/i386/crt1.s9
1 files changed, 3 insertions, 6 deletions
diff --git a/crt/i386/crt1.s b/crt/i386/crt1.s
index 66ee11ab..f520745c 100644
--- a/crt/i386/crt1.s
+++ b/crt/i386/crt1.s
@@ -10,13 +10,10 @@ _start:
 	pushl %esp
 	pushl %esp
 	pushl %edx
-	call 1f
-1:	addl $[_fini-.],(%esp)
-	call 1f
-1:	addl $[_init-.],(%esp)
+	pushl $_fini
+	pushl $_init
 	pushl %eax
 	pushl %ecx
-	call 1f
-1:	addl $[main-.],(%esp)
+	pushl $main
 	call __libc_start_main
 1:	jmp 1b