...
1// Copyright 2024 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-4
16 MOVW $StaticData<>(SB), R1
17 MOVW R1, ret+0(FP)
18 RET
19
20TEXT ·PtrStaticText(SB), $0-4
21 MOVW $StaticText<>(SB), R1
22 MOVW R1, ret+0(FP)
23 RET
View as plain text