From 8ccd78e202c6f6e29b3ca30604b71323a4bfef8c Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 19 Nov 2018 14:41:18 +0200 Subject: loader: fix comments --- src/loader.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/loader.c b/src/loader.c index 7e2a472..79dc3fb 100644 --- a/src/loader.c +++ b/src/loader.c @@ -165,13 +165,13 @@ raw_start(void *entry, int argc, const char *argv[]) // XXX: make this part of the linker when it's rewritten #if ANDROID_X86_LINKER __asm__("mov 2*4(%ebp),%eax"); /* entry */ - __asm__("mov 3*4(%ebp),%ecx"); /* original_argc */ - __asm__("mov 4*4(%ebp),%edx"); /* original_argv */ - __asm__("mov %edx,%esp"); /* Trim stack. */ - __asm__("push %edx"); /* New argv */ - __asm__("push %ecx"); /* New argc */ + __asm__("mov 3*4(%ebp),%ecx"); /* argc */ + __asm__("mov 4*4(%ebp),%edx"); /* argv */ + __asm__("mov %edx,%esp"); /* trim stack. */ + __asm__("push %edx"); /* push argv */ + __asm__("push %ecx"); /* push argc */ __asm__("sub %edx,%edx"); /* no rtld_fini function */ - __asm__("jmp *%eax"); /* Goto entry. */ + __asm__("jmp *%eax"); /* goto entry */ #else warnx("raw_start not implemented for this asm platform, can't execute binaries."); #endif -- cgit v1.2.3