blob: 9fcad4f00d8a6d876a928be473f52a817f901833 [file] [log] [blame]
// Copyright 2023 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.
#include "textflag.h"
TEXT _rt0_ppc64_openbsd(SB),NOSPLIT,$0
BR main(SB)
TEXT main(SB),NOSPLIT,$-8
// Make sure R0 is zero before _main
XOR R0, R0
MOVD $runtime┬Ěrt0_go(SB), R12
MOVD R12, CTR
BR (CTR)