aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/rt0_linux_amd64.s
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2013-06-11 16:49:24 -0400
committerRuss Cox <rsc@golang.org>2013-06-11 16:49:24 -0400
commit6120ef079948340d6819b8f9a9d526ad4292e26e (patch)
treec17a12fed98218f268161f886ea99604efe69242 /src/pkg/runtime/rt0_linux_amd64.s
parent880d86976454d228d4b2d4cbfd264873a8bcab31 (diff)
downloadgo-6120ef079948340d6819b8f9a9d526ad4292e26e.tar.xz
runtime: rename _rt0_$GOARCH to _rt0_go
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
Diffstat (limited to 'src/pkg/runtime/rt0_linux_amd64.s')
-rw-r--r--src/pkg/runtime/rt0_linux_amd64.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/rt0_linux_amd64.s b/src/pkg/runtime/rt0_linux_amd64.s
index dfc9c0421b..4c1897adcd 100644
--- a/src/pkg/runtime/rt0_linux_amd64.s
+++ b/src/pkg/runtime/rt0_linux_amd64.s
@@ -9,5 +9,5 @@ TEXT _rt0_amd64_linux(SB),7,$-8
JMP AX
TEXT main(SB),7,$-8
- MOVQ $_rt0_amd64(SB), AX
+ MOVQ $_rt0_go(SB), AX
JMP AX