From: David Crawshaw Date: Mon, 6 Apr 2015 22:43:25 +0000 (-0400) Subject: runtime: add _rt0_arm_android_lib X-Git-Tag: go1.5beta1~1294 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ede863c6734a3789dea0eda2ed169af76b63e6a7;p=gostls13.git runtime: add _rt0_arm_android_lib At the moment this function does nothing, runtime initialization is still done in android.c:init_go_runtime. Fixes #10358 Change-Id: I1d762383ba61efcbcf0bbc7c77895f5c1dbf8968 Reviewed-on: https://go-review.googlesource.com/8510 Reviewed-by: Hyang-Ah Hana Kim --- diff --git a/src/runtime/rt0_android_arm.s b/src/runtime/rt0_android_arm.s index 6b65fb47b1..ad5cf88baa 100644 --- a/src/runtime/rt0_android_arm.s +++ b/src/runtime/rt0_android_arm.s @@ -9,3 +9,9 @@ TEXT _rt0_arm_android(SB),NOSPLIT,$-4 MOVW $4(R13), R1 // argv MOVW $_rt0_arm_linux1(SB), R4 B (R4) + +// This symbol is called when a shared library is loaded. +TEXT _rt0_arm_android_lib(SB),NOSPLIT,$0 + // TODO(crawshaw): initialize runtime. + // At the moment this is done in mobile/app/android.c:init_go_runtime + RET