aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/internal/abi/abi_test.s
blob: 93ace3ef48df5d968aab94f3d53784374a7896a8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// Copyright 2021 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"

#ifdef GOARCH_386
#define PTRSIZE 4
#endif
#ifdef GOARCH_arm
#define PTRSIZE 4
#endif
#ifdef GOARCH_mips
#define PTRSIZE 4
#endif
#ifdef GOARCH_mipsle
#define PTRSIZE 4
#endif
#ifndef PTRSIZE
#define PTRSIZE 8
#endif

TEXT	internalabi·FuncPCTestFn(SB),NOSPLIT,$0-0
	RET

GLOBL	internalabi·FuncPCTestFnAddr(SB), NOPTR, $PTRSIZE
DATA	internalabi·FuncPCTestFnAddr(SB)/PTRSIZE, $internalabi·FuncPCTestFn(SB)