...
1// Copyright 2026 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5//go:build !purego
6
7#include "textflag.h"
8
9DATA StaticData<>(SB)/4, $10
10GLOBL StaticData<>(SB), NOPTR, $4
11
12TEXT StaticText<>(SB), $0
13 RET
14
15TEXT ·PtrStaticData(SB), $0-8
16 MOVV $StaticData<>(SB), R4
17 MOVV R4, ret+0(FP)
18 RET
19
20TEXT ·PtrStaticText(SB), $0-8
21 MOVV $StaticText<>(SB), R4
22 MOVV R4, ret+0(FP)
23 RET
View as plain text