github.com/twelsh-aw/go/src@v0.0.0-20230516233729-a56fe86a7c81/runtime/rt0_freebsd_386.s (about) 1 // Copyright 2009 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 7 TEXT _rt0_386_freebsd(SB),NOSPLIT,$0 8 JMP _rt0_386(SB) 9 10 TEXT _rt0_386_freebsd_lib(SB),NOSPLIT,$0 11 JMP _rt0_386_lib(SB) 12 13 TEXT main(SB),NOSPLIT,$0 14 // Remove the return address from the stack. 15 // rt0_go doesn't expect it to be there. 16 ADDL $4, SP 17 JMP runtime·rt0_go(SB)