...

Text file src/cmd/link/testdata/dynimportvar/asm/a_arm64.s

Documentation: cmd/link/testdata/dynimportvar/asm

     1// Copyright 2023 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 darwin
     6
     7TEXT ·Mach_task_self(SB),0,$0-4
     8	MOVD	$libc_mach_task_self_(SB), R0
     9	MOVD	(R0), R0
    10	MOVW	R0, ret+0(FP)
    11	RET

View as plain text