aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/newlink/testdata/layout.s
diff options
context:
space:
mode:
authorChris Broadfoot <cbro@golang.org>2016-01-27 15:44:35 -0800
committerChris Broadfoot <cbro@golang.org>2016-01-28 00:06:14 +0000
commit036b8fd40b60830ca1d152f17148e52b96d8aa6c (patch)
tree854edbcd7a831050e04eecd63ce8cf580c6e833a /src/cmd/newlink/testdata/layout.s
parent6c6aabe0bca7209d646c840d6274b1ffd199bba0 (diff)
downloadgo1.6rc1.tar.xz
[release-branch.go1.6] cmd/newlink: remove from release branchgo1.6rc1
Change-Id: Iec73b9a4279b5d6b458615c265e75b6becff320e Reviewed-on: https://go-review.googlesource.com/19023 Run-TryBot: Chris Broadfoot <cbro@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/cmd/newlink/testdata/layout.s')
-rw-r--r--src/cmd/newlink/testdata/layout.s29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/cmd/newlink/testdata/layout.s b/src/cmd/newlink/testdata/layout.s
deleted file mode 100644
index c3e55ef49a..0000000000
--- a/src/cmd/newlink/testdata/layout.s
+++ /dev/null
@@ -1,29 +0,0 @@
-// Copyright 2014 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.
-
-// Test of section assignment in layout.go.
-// Each symbol should end up in the section named by the symbol name prefix (up to the underscore).
-
-#include "textflag.h"
-
-TEXT text_start(SB),7,$0
- MOVQ $rodata_sym(SB), AX
- MOVQ $noptrdata_sym(SB), AX
- MOVQ $data_sym(SB), AX
- MOVQ $bss_sym(SB), AX
- MOVQ $noptrbss_sym(SB), AX
- RET
-
-DATA rodata_sym(SB)/4, $1
-GLOBL rodata_sym(SB), RODATA, $4
-
-DATA noptrdata_sym(SB)/4, $1
-GLOBL noptrdata_sym(SB), NOPTR, $4
-
-DATA data_sym(SB)/4, $1
-GLOBL data_sym(SB), $4
-
-GLOBL bss_sym(SB), $4
-
-GLOBL noptrbss_sym(SB), NOPTR, $4