...

Text file src/runtime/rt0_openbsd_ppc64.s

Documentation: runtime

     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#include "textflag.h"
     6
     7TEXT _rt0_ppc64_openbsd(SB),NOSPLIT,$0
     8	BR	main(SB)
     9
    10TEXT main(SB),NOSPLIT,$-8
    11	// Make sure R0 is zero before _main
    12	XOR	R0, R0
    13
    14	MOVD	$runtime·rt0_go(SB), R12
    15	MOVD	R12, CTR
    16	BR	(CTR)

View as plain text