diff options
Diffstat (limited to 'src/pkg/runtime/cgo/asm_386.s')
-rw-r--r-- | src/pkg/runtime/cgo/asm_386.s | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pkg/runtime/cgo/asm_386.s b/src/pkg/runtime/cgo/asm_386.s index 7faaa4097..ab2f1d17a 100644 --- a/src/pkg/runtime/cgo/asm_386.s +++ b/src/pkg/runtime/cgo/asm_386.s @@ -2,11 +2,13 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +#include "../../../cmd/ld/textflag.h" + /* * void crosscall2(void (*fn)(void*, int32), void*, int32) * Save registers and call fn with two arguments. */ -TEXT crosscall2(SB),7,$0 +TEXT crosscall2(SB),NOSPLIT,$0 PUSHL BP MOVL SP, BP PUSHL BX |