| 1 | // Copyright 2013 The Go Authors. All rights reserved. |
|---|---|
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | // +build amd64 |
| 6 | |
| 7 | // Test cases for symbolic NOSPLIT etc. on TEXT symbols. |
| 8 | |
| 9 | TEXT ·noprof(SB),NOPROF,$0-8 |
| 10 | RET |
| 11 | |
| 12 | TEXT ·dupok(SB),DUPOK,$0-8 |
| 13 | RET |
| 14 | |
| 15 | TEXT ·nosplit(SB),NOSPLIT,$0 |
| 16 | RET |
| 17 | |
| 18 | TEXT ·rodata(SB),RODATA,$0-8 |
| 19 | RET |
| 20 | |
| 21 | TEXT ·noptr(SB),NOPTR|NOSPLIT,$0 |
| 22 | RET |
| 23 | |
| 24 | TEXT ·wrapper(SB),WRAPPER,$0-8 |
| 25 | RET |
| 26 |
Members