summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-09 00:52:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-09 00:52:25 +0000
commitc574991ee789468150bbbca8c0fa5fa3debadec6 (patch)
tree7cbb316f11663f6b4aa3c9bfe0b8802538c6aa6b /libc/sysdeps
parent3807152f3b4c833f63035a0400eed55c53e2f00b (diff)
drop the envp code
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/sparc/crt1.S5
1 files changed, 0 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/sparc/crt1.S b/libc/sysdeps/linux/sparc/crt1.S
index 9d88c0bdf..8b5d3d5f0 100644
--- a/libc/sysdeps/linux/sparc/crt1.S
+++ b/libc/sysdeps/linux/sparc/crt1.S
@@ -91,11 +91,6 @@ _start:
* argument info starts after one register window (16 words) past the SP. */
LD [%sp+STACK_BIAS+22*ELE_SIZE], %o1 /* %o1 = argc */
add %sp, STACK_BIAS+23*ELE_SIZE, %o2 /* %o2 = argv */
-#if 0
- mov %o1, %o7 /* envp = argc */
- sll %o7, ELE_SIZE/2, %o7 /* envp *= 4 */
- add %o2, %o7, %o7 /* envp += argv */
-#endif
/* Load the addresses of the user entry points. */
sethi %hi(main), %o0