diff options
| author | David Crawshaw <crawshaw@golang.org> | 2015-04-06 18:43:25 -0400 |
|---|---|---|
| committer | David Crawshaw <crawshaw@golang.org> | 2015-04-06 22:54:52 +0000 |
| commit | ede863c6734a3789dea0eda2ed169af76b63e6a7 (patch) | |
| tree | 5dbb82ffa80aa6c5f8cf007cba75e97cb1016742 /src/runtime | |
| parent | e449b5705b4cffc29e9f24f6d24386d64dbd5dbb (diff) | |
| download | go-ede863c6734a3789dea0eda2ed169af76b63e6a7.tar.xz | |
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 <hyangah@gmail.com>
Diffstat (limited to 'src/runtime')
| -rw-r--r-- | src/runtime/rt0_android_arm.s | 6 |
1 files changed, 6 insertions, 0 deletions
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 |
