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.
|
|
|
|
|
2014-09-04 21:05:18 -06:00
|
|
|
#include "textflag.h"
|
2013-08-07 13:20:05 -06:00
|
|
|
|
2017-10-12 20:46:42 -06:00
|
|
|
TEXT _rt0_386_darwin(SB),NOSPLIT,$0
|
|
|
|
JMP _rt0_386(SB)
|
2009-03-31 16:45:12 -06:00
|
|
|
|
2015-07-20 10:33:39 -06:00
|
|
|
TEXT _rt0_386_darwin_lib(SB),NOSPLIT,$0
|
2017-10-12 20:46:42 -06:00
|
|
|
JMP _rt0_386_lib(SB)
|
2015-07-20 10:33:39 -06:00
|
|
|
|
2013-08-07 13:20:05 -06:00
|
|
|
TEXT main(SB),NOSPLIT,$0
|
2017-10-12 20:46:42 -06:00
|
|
|
// Remove the return address from the stack.
|
|
|
|
// rt0_go doesn't expect it to be there.
|
|
|
|
ADDL $4, SP
|
2014-09-03 09:11:16 -06:00
|
|
|
JMP runtime·rt0_go(SB)
|