Commit 61049394 authored by Ian Lance Taylor's avatar Ian Lance Taylor

runtime: pass dummy argc/argv correctly in r0_386_android_lib

Fix breakage introduced in CL 70530.

Change-Id: I87f3da6b20554d4f405a1143b0d894c5953b63aa
Reviewed-on: https://go-review.googlesource.com/88516
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: 's avatarHyang-Ah Hana Kim <hyangah@gmail.com>
parent 919e85ae
...@@ -10,7 +10,10 @@ TEXT _rt0_386_android(SB),NOSPLIT,$0 ...@@ -10,7 +10,10 @@ TEXT _rt0_386_android(SB),NOSPLIT,$0
TEXT _rt0_386_android_lib(SB),NOSPLIT,$0 TEXT _rt0_386_android_lib(SB),NOSPLIT,$0
PUSHL $_rt0_386_android_argv(SB) // argv PUSHL $_rt0_386_android_argv(SB) // argv
PUSHL $1 // argc PUSHL $1 // argc
JMP _rt0_386_lib(SB) CALL _rt0_386_lib(SB)
POPL AX
POPL AX
RET
DATA _rt0_386_android_argv+0x00(SB)/4,$_rt0_386_android_argv0(SB) DATA _rt0_386_android_argv+0x00(SB)/4,$_rt0_386_android_argv0(SB)
DATA _rt0_386_android_argv+0x04(SB)/4,$0 // argv terminate DATA _rt0_386_android_argv+0x04(SB)/4,$0 // argv terminate
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment