Mike Frysinger 20 лет назад
Родитель
Сommit
f80ef6bcb8
1 измененных файлов с 0 добавлено и 4 удалено
  1. 0 4
      ldso/ldso/x86_64/dl-startup.h

+ 0 - 4
ldso/ldso/x86_64/dl-startup.h

@@ -27,12 +27,8 @@ asm(
 	"	subl %eax, %edx\n"
 	"	# Push argc back on the stack.\n"
 	"	pushq %rdx\n"
-	"	# argc -> rsi\n"
-	"	movq %rdx, %rsi\n"
 	"	# Pass our finalizer function to the user in %rdx, as per ELF ABI.\n"
 	"	leaq _dl_fini(%rip), %rdx\n"
-	"	# And make sure %rsp points to argc stored on the stack.\n"
-	"	movq %r13, %rsp\n"
 	"	# Jump to the user's entry point.\n"
 	"	jmp *%r12\n"
 	"	.size	_start,.-_start\n"