| // Copyright 2024 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. | |
| //go:build !purego | |
| #include "textflag.h" | |
| DATA StaticData<>(SB)/4, $10 | |
| GLOBL StaticData<>(SB), NOPTR, $4 | |
| TEXT StaticText<>(SB), $0 | |
| RET | |
| TEXT ·PtrStaticData(SB), $0-4 | |
| MOVL $StaticData<>(SB), AX | |
| MOVL AX, ret+0(FP) | |
| RET | |
| TEXT ·PtrStaticText(SB), $0-4 | |
| MOVL $StaticText<>(SB), AX | |
| MOVL AX, ret+0(FP) | |
| RET |