Text file src/runtime/rt0_openbsd_386.s

     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_openbsd(SB),NOSPLIT,$0
     8  	JMP	_rt0_386(SB)
     9  
    10  TEXT _rt0_386_openbsd_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)
    18  

View as plain text