mirror of
https://github.com/go-i2p/gomobile-java.git
synced 2025-07-13 11:54:44 -04:00
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:
@ -2,7 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style
|
// Use of this source code is governed by a BSD-style
|
||||||
// license that can be found in the LICENSE file.
|
// 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.
|
// Package callfn provides an android entry point.
|
||||||
//
|
//
|
||||||
|
11
app/internal/callfn/callfn_386.s
Normal file
11
app/internal/callfn/callfn_386.s
Normal file
@ -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
|
11
app/internal/callfn/callfn_amd64.s
Normal file
11
app/internal/callfn/callfn_amd64.s
Normal file
@ -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
|
Reference in New Issue
Block a user