notaz.gp2x.de
/
ginge.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
loader: unmix wiz start/select, pnd root check
[ginge.git]
/
loader
/
loader.c
diff --git
a/loader/loader.c
b/loader/loader.c
index
28bdf8e
..
fea8bb6
100644
(file)
--- a/
loader/loader.c
+++ b/
loader/loader.c
@@
-125,7
+125,7
@@
int main(int argc, char *argv[])
return 1;
}
return 1;
}
-
printf
("load %d %08x-%08x from %08x\n", phdr[i].p_type,
+
log
("load %d %08x-%08x from %08x\n", phdr[i].p_type,
phdr[i].p_vaddr, end_addr, phdr[i].p_offset);
align = phdr[i].p_vaddr & 0xfff;
phdr[i].p_vaddr, end_addr, phdr[i].p_offset);
align = phdr[i].p_vaddr & 0xfff;
@@
-170,7
+170,7
@@
int main(int argc, char *argv[])
stack_frame[sfp++] = (long)environ[i];
stack_frame[sfp++] = 0;
stack_frame[sfp++] = (long)environ[i];
stack_frame[sfp++] = 0;
-
printf
("entering %08x, %d stack entries\n", hdr.e_entry, sfp);
+
log
("entering %08x, %d stack entries\n", hdr.e_entry, sfp);
do_entry(hdr.e_entry, stack_frame, sfp, NULL);
fprintf(stderr, "do_entry failed!\n");
do_entry(hdr.e_entry, stack_frame, sfp, NULL);
fprintf(stderr, "do_entry failed!\n");