mirror of
https://github.com/golang/go
synced 2024-10-05 02: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
13 lines
335 B
ArmAsm
13 lines
335 B
ArmAsm
// Copyright 2010 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_plan9(SB),7,$-8
|
|
LEAQ 8(SP), SI // argv
|
|
MOVQ 0(SP), DI // argc
|
|
MOVQ $_rt0_go(SB), AX
|
|
JMP AX
|
|
|
|
DATA runtime·isplan9(SB)/4, $1
|
|
GLOBL runtime·isplan9(SB), $4
|