There is some cleanup to be done in this package now, but I'm deferring it until later in the cycle. We should probably also change the semantics slightly: main should be called for all-Go apps (that is, apps that use NativeActivity), but it would be more consistent with buildmode=c-shared and c-archive if we did not call main for Go shared libraries being included in Java android apps. Change-Id: I13ca797a478edb22b0c602c1ee6e616fe4fea1e6 Reviewed-on: https://go-review.googlesource.com/9016 Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
12 lines
261 B
ArmAsm
12 lines
261 B
ArmAsm
// Copyright 2015 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
#include "textflag.h"
|
|
#include "funcdata.h"
|
|
|
|
TEXT ·CallFn(SB),$0-4
|
|
MOVW fn+0(FP), R0
|
|
BL (R0)
|
|
RET
|