diff options
| author | Keith Randall <khr@golang.org> | 2013-08-07 12:20:05 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2013-08-07 12:20:05 -0700 |
| commit | 0273dc131e4d5c63875824784e4240d0c8bb23bc (patch) | |
| tree | 4ec06590759061b61ed0035de24de9dfd6c9c034 /src/pkg/runtime/rt0_linux_amd64.s | |
| parent | a08b1d13eaff45b0506369269ee9c597f3355646 (diff) | |
| download | go-0273dc131e4d5c63875824784e4240d0c8bb23bc.tar.xz | |
runtime: convert .s textflags from numbers to symbolic constants.
Remove NOPROF/DUPOK from everything.
Edits done with a script, except pclinetest.asm which depended
on the DUPOK flag on main().
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12613044
Diffstat (limited to 'src/pkg/runtime/rt0_linux_amd64.s')
| -rw-r--r-- | src/pkg/runtime/rt0_linux_amd64.s | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/pkg/runtime/rt0_linux_amd64.s b/src/pkg/runtime/rt0_linux_amd64.s index 4c1897adcd..a887ced8f0 100644 --- a/src/pkg/runtime/rt0_linux_amd64.s +++ b/src/pkg/runtime/rt0_linux_amd64.s @@ -2,12 +2,14 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -TEXT _rt0_amd64_linux(SB),7,$-8 +#include "../../cmd/ld/textflag.h" + +TEXT _rt0_amd64_linux(SB),NOSPLIT,$-8 LEAQ 8(SP), SI // argv MOVQ 0(SP), DI // argc MOVQ $main(SB), AX JMP AX -TEXT main(SB),7,$-8 +TEXT main(SB),NOSPLIT,$-8 MOVQ $_rt0_go(SB), AX JMP AX |
