mirror of
https://github.com/golang/go
synced 2024-10-04 20:21: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
14 lines
321 B
ArmAsm
14 lines
321 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_amd64_darwin(SB),7,$-8
|
|
LEAQ 8(SP), SI // argv
|
|
MOVQ 0(SP), DI // argc
|
|
MOVQ $main(SB), AX
|
|
JMP AX
|
|
|
|
TEXT main(SB),7,$-8
|
|
MOVQ $_rt0_go(SB), AX
|
|
JMP AX
|