rsc.io/go@v0.0.0-20150416155037-e040fd465409/src/runtime/rt0_linux_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_linux(SB),NOSPLIT,$8
     8  	MOVL	8(SP), AX
     9  	LEAL	12(SP), BX
    10  	MOVL	AX, 0(SP)
    11  	MOVL	BX, 4(SP)
    12  	CALL	main(SB)
    13  	INT	$3
    14  
    15  TEXT main(SB),NOSPLIT,$0
    16  	JMP	runtime·rt0_go(SB)
    17  
    18  TEXT _fallback_vdso(SB),NOSPLIT,$0
    19  	INT	$0x80
    20  	RET
    21  
    22  DATA	runtime·_vdso(SB)/4, $_fallback_vdso(SB)
    23  GLOBL	runtime·_vdso(SB), NOPTR, $4
    24