瀏覽代碼

remove unused instructions

Mike Frysinger 20 年之前
父節點
當前提交
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"