diff options
| author | Andrew Gerrand <adg@golang.org> | 2015-08-06 03:45:35 +0000 |
|---|---|---|
| committer | Andrew Gerrand <adg@golang.org> | 2015-08-06 04:06:12 +0000 |
| commit | 0d20a61e68ba22fb416fe2aa8b6532026822bad0 (patch) | |
| tree | 577de59a5d28417196964e7a20aff1fa6c8fb529 /src/cmd/newlink/testdata/autoweak.s | |
| parent | e7f6a244a2a1c9a597a96356476484157c3c19f8 (diff) | |
| download | go1.5rc1.tar.xz | |
[release-branch.go1.5] cmd/newlink: remove from release branchgo1.5rc1
Change-Id: Iad86bde6f2e0482745a4000ec4e192ade352983b
Reviewed-on: https://go-review.googlesource.com/13292
Reviewed-by: Russ Cox <rsc@golang.org>
Run-TryBot: Andrew Gerrand <adg@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/newlink/testdata/autoweak.s')
| -rw-r--r-- | src/cmd/newlink/testdata/autoweak.s | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/cmd/newlink/testdata/autoweak.s b/src/cmd/newlink/testdata/autoweak.s deleted file mode 100644 index 2d11330db2..0000000000 --- a/src/cmd/newlink/testdata/autoweak.s +++ /dev/null @@ -1,30 +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 go.weak symbols. - -TEXT start(SB),7,$0 - MOVQ $autotab(SB),AX - MOVQ $autoptr(SB),AX - RET - -// go.weak.sym should resolve to sym, because sym is in the binary. -DATA autotab+0(SB)/8, $go·weak·sym(SB) -DATA autotab+8(SB)/8, $sym(SB) - -// go.weak.missingsym should resolve to 0, because missingsym is not in the binary. -DATA autotab+16(SB)/8, $go·weak·missingsym(SB) -DATA autotab+24(SB)/8, $0 - -// go.weak.deadsym should resolve to 0, because deadsym is discarded during dead code removal -DATA autotab+32(SB)/8, $go·weak·deadsym(SB) -DATA autotab+40(SB)/8, $0 - -GLOBL autotab(SB), $48 - -GLOBL sym(SB), $1 - -GLOBL deadsym(SB), $1 - -GLOBL autoptr(SB), $0 |
