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 // +build vet_test 7 8 // Test cases for symbolic NOSPLIT etc. on TEXT symbols. 9 10 TEXT noprof(SB),NOPROF,$0-8 11 RET 12 13 TEXT dupok(SB),DUPOK,$0-8 14 RET 15 16 TEXT nosplit(SB),NOSPLIT,$0 17 RET 18 19 TEXT rodata(SB),RODATA,$0-8 20 RET 21 22 TEXT noptr(SB),NOPTR|NOSPLIT,$0 23 RET 24 25 TEXT wrapper(SB),WRAPPER,$0-8 26 RET 27