This website works better with JavaScript
Home
Explore
Help
Register
Sign In
oss
/
uclibc-ng
Watch
4
Star
1
Fork
0
Files
Issues
3
Pull Requests
0
Wiki
Browse Source
Somehow the bit of code that add the offset of envp to argv got lost
and envp was a very small number and not an address. I think this fixes
most of the SH platform.
David McCullough
23 years ago
parent
e647e8e70e
commit
cc6148b1d2
1 changed files
with
1 additions
and
0 deletions
Split View
Show Diff Stats
1
0
libc/sysdeps/linux/sh/crt0.S
+ 1
- 0
libc/sysdeps/linux/sh/crt0.S
View File
@@ -62,6 +62,7 @@ _start:
mov r4,r6
add #1,r6
shll2 r6
+ add r5,r6
/* call main */
mov.l L_main, r0