diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-09 00:27:42 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-09 00:27:42 +0000 |
commit | 794fe95b6cd960250f772bc2e561dc92d9cebe0c (patch) | |
tree | 0f62fc65cb1fe92177d21653f61e42a4e28b9699 /libc/sysdeps/linux | |
parent | f983b69c2b45b16e20f3133e5e06d041c7774c07 (diff) |
setting envp is pointless since no other arch does it
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r-- | libc/sysdeps/linux/x86_64/crt1.S | 4 |
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 |