2009-03-31 16:45:12 -06:00
|
|
|
// Copyright 2009 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.
|
|
|
|
|
2013-08-07 13:20:05 -06:00
|
|
|
#include "../../cmd/ld/textflag.h"
|
|
|
|
|
|
|
|
TEXT _rt0_386_linux(SB),NOSPLIT,$8
|
2013-03-07 20:57:10 -07:00
|
|
|
MOVL 8(SP), AX
|
|
|
|
LEAL 12(SP), BX
|
|
|
|
MOVL AX, 0(SP)
|
|
|
|
MOVL BX, 4(SP)
|
2011-08-29 08:36:06 -06:00
|
|
|
CALL runtime·linux_setup_vdso(SB)
|
2013-03-07 20:57:10 -07:00
|
|
|
CALL main(SB)
|
|
|
|
INT $3
|
|
|
|
|
2013-08-07 13:20:05 -06:00
|
|
|
TEXT main(SB),NOSPLIT,$0
|
2013-06-11 14:49:24 -06:00
|
|
|
JMP _rt0_go(SB)
|
2011-08-29 08:36:06 -06:00
|
|
|
|
2013-08-07 13:20:05 -06:00
|
|
|
TEXT _fallback_vdso(SB),NOSPLIT,$0
|
2011-08-29 08:36:06 -06:00
|
|
|
INT $0x80
|
|
|
|
RET
|
|
|
|
|
|
|
|
DATA runtime·_vdso(SB)/4, $_fallback_vdso(SB)
|
|
|
|
GLOBL runtime·_vdso(SB), $4
|
2009-09-30 14:47:15 -06:00
|
|
|
|