...

Text file src/runtime/rt0_linux_386.s

Documentation: runtime

     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
     7TEXT _rt0_386_linux(SB),NOSPLIT,$0
     8	JMP	_rt0_386(SB)
     9
    10TEXT _rt0_386_linux_lib(SB),NOSPLIT,$0
    11	JMP	_rt0_386_lib(SB)
    12
    13TEXT 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)

View as plain text