make startup code PIE-compatible
This commit is contained in:
1 parent
cfcbea1e43
commit
e2ee1bdd8d
1 file changed
+4
-2
+4
-2
@@ -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
|
||||
Reference in new issue
Block a user