app/internal/callfn: allow android/386,amd64
For golang/go#10743 Change-Id: I374fae9d6e0a7926b26647fe462968df3c0e3298 Reviewed-on: https://go-review.googlesource.com/17679 Reviewed-by: David Crawshaw <crawshaw@golang.org>
This commit is contained in:
parent
2e06e2c92c
commit
aebde7cd7d
|
@ -2,7 +2,8 @@
|
|||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build android,arm
|
||||
// +build android
|
||||
// +build arm 386 amd64
|
||||
|
||||
// Package callfn provides an android entry point.
|
||||
//
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
// 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
|
||||
MOVL fn+0(FP), AX
|
||||
CALL AX
|
||||
RET
|
|
@ -0,0 +1,11 @@
|
|||
// 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-8
|
||||
MOVQ fn+0(FP), AX
|
||||
CALL AX
|
||||
RET
|
Loading…
Reference in New Issue