blob: d5d270be20c34f8cde0391425a09a7136731a6cc [file] [log] [blame]
Russ Cox4702c0e2009-03-31 15:45:12 -07001// 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// Darwin and Linux use the same linkage to main
6
7TEXT _rt0_386_linux(SB),7,$0
Russ Coxe67a5082009-09-30 13:47:15 -07008 MOVL initcgo(SB), AX
9 TESTL AX, AX
10 JZ 2(PC)
11 CALL AX
12
Russ Cox4702c0e2009-03-31 15:45:12 -070013 JMP _rt0_386(SB)
Russ Coxe67a5082009-09-30 13:47:15 -070014
15GLOBL initcgo(SB), $4