|
@@ -48,10 +48,10 @@ _start:
|
|
movq %rsi,(%rax)
|
|
movq %rsi,(%rax)
|
|
movq operatingsystem_parameter_argv@GOTPCREL(%rip),%rax
|
|
movq operatingsystem_parameter_argv@GOTPCREL(%rip),%rax
|
|
movq %rsp,(%rax) /* argv starts just at the current stack top. */
|
|
movq %rsp,(%rax) /* argv starts just at the current stack top. */
|
|
- leaq 8(,%rsi,8),%rax
|
|
|
|
- addq %rsp,%rax
|
|
|
|
- movq operatingsystem_parameter_envp@GOTPCREL(%rip),%rsi
|
|
|
|
- movq %rax,(%rsi)
|
|
|
|
|
|
+ leaq 8(,%rsi,8),%rax
|
|
|
|
+ addq %rsp,%rax
|
|
|
|
+ movq operatingsystem_parameter_envp@GOTPCREL(%rip),%rcx
|
|
|
|
+ movq %rax,(%rcx)
|
|
|
|
|
|
/* Align the stack to a 16 byte boundary to follow the ABI. */
|
|
/* Align the stack to a 16 byte boundary to follow the ABI. */
|
|
andq $~15, %rsp
|
|
andq $~15, %rsp
|