summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/x86_64/crt1.S4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/x86_64/crt1.S b/libc/sysdeps/linux/x86_64/crt1.S
index ddd1e5683..f6e76cd02 100644
--- a/libc/sysdeps/linux/x86_64/crt1.S
+++ b/libc/sysdeps/linux/x86_64/crt1.S
@@ -96,10 +96,6 @@ _start:
movq %rdx, %r9 /* Address of the shared library termination function. */
popq %rsi /* Pop the argument count. */
movq %rsp, %rdx /* argv starts just at the current stack top. */
- movq %rsi, %rbx /* now we calc envp ... envp = argc */
- addq $8, %rbx
- shl $0x3, %rbx /* envp *= 8 */
- addq %rdx, %rbx /* envp += argv */
/* Align the stack to a 16 byte boundary to follow the ABI. */
andq $~15, %rsp