[uClibc-cvs] svn commit: trunk/uClibc/libc/sysdeps/linux/x86_64
vapier at uclibc.org
vapier at uclibc.org
Sat Jul 9 00:27:43 UTC 2005
Author: vapier
Date: 2005-07-08 18:27:42 -0600 (Fri, 08 Jul 2005)
New Revision: 10759
Log:
setting envp is pointless since no other arch does it
Modified:
trunk/uClibc/libc/sysdeps/linux/x86_64/crt1.S
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/x86_64/crt1.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/x86_64/crt1.S 2005-07-08 23:37:31 UTC (rev 10758)
+++ trunk/uClibc/libc/sysdeps/linux/x86_64/crt1.S 2005-07-09 00:27:42 UTC (rev 10759)
@@ -96,10 +96,6 @@
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
More information about the uClibc-cvs
mailing list