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

     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  
     7  TEXT ·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
    12  

View as plain text