1
0
mirror of https://github.com/golang/go synced 2024-11-17 23:04:56 -07:00

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: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
Ian Lance Taylor 2018-01-19 10:56:59 -08:00
parent 919e85ae05
commit 6104939432

View File

@ -10,7 +10,10 @@ TEXT _rt0_386_android(SB),NOSPLIT,$0
TEXT _rt0_386_android_lib(SB),NOSPLIT,$0
PUSHL $_rt0_386_android_argv(SB) // argv
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+0x04(SB)/4,$0 // argv terminate