iter/abi/abi_test.s

28 lines
603 B
ArmAsm
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

// 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)