mirror of
https://github.com/golang/go
synced 2024-10-04 22:31:22 -06:00
6120ef0799
There's no reason to use a different name on each architecture, and doing so makes it impossible for portable code to refer to the original Go runtime entry point. Rename it _rt0_go everywhere. This is a global search and replace only. R=golang-dev, bradfitz, minux.ma CC=golang-dev https://golang.org/cl/10196043
15 lines
316 B
ArmAsm
15 lines
316 B
ArmAsm
// 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.
|
|
|
|
TEXT _rt0_386_freebsd(SB),7,$8
|
|
MOVL 8(SP), AX
|
|
LEAL 12(SP), BX
|
|
MOVL AX, 0(SP)
|
|
MOVL BX, 4(SP)
|
|
CALL main(SB)
|
|
INT $3
|
|
|
|
TEXT main(SB),7,$0
|
|
JMP _rt0_go(SB)
|