...

Text file src/cmd/link/testdata/dynimportvar/asm/a_amd64.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	MOVQ	$libc_mach_task_self_(SB), AX
     9	MOVQ	(AX), AX
    10	MOVL	AX, ret+0(FP)
    11	RET

View as plain text