OSDN Git Service
(root)
/
uclinux-h8
/
uclibc-ng.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3807152
)
drop the envp code
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 9 Jul 2005 00:52:25 +0000
(
00:52
-0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 9 Jul 2005 00:52:25 +0000
(
00:52
-0000)
libc/sysdeps/linux/sparc/crt1.S
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/sparc/crt1.S
b/libc/sysdeps/linux/sparc/crt1.S
index
9d88c0b
..
8b5d3d5
100644
(file)
--- 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