diff options
Diffstat (limited to 'src/pkg')
123 files changed, 125 insertions, 125 deletions
diff --git a/src/pkg/crypto/aes/asm_amd64.s b/src/pkg/crypto/aes/asm_amd64.s index 5c22881e9..6a6e6ac4b 100644 --- a/src/pkg/crypto/aes/asm_amd64.s +++ b/src/pkg/crypto/aes/asm_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // func hasAsm() bool // returns whether AES-NI is supported diff --git a/src/pkg/crypto/md5/md5block_386.s b/src/pkg/crypto/md5/md5block_386.s index e5c27ac9a..8e426d148 100644 --- a/src/pkg/crypto/md5/md5block_386.s +++ b/src/pkg/crypto/md5/md5block_386.s @@ -6,7 +6,7 @@ // #defines generating 8a assembly, and adjusted for 386, // by the Go Authors. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // MD5 optimized for AMD64. // diff --git a/src/pkg/crypto/md5/md5block_amd64.s b/src/pkg/crypto/md5/md5block_amd64.s index 178e49cd8..a3ae7d97b 100644 --- a/src/pkg/crypto/md5/md5block_amd64.s +++ b/src/pkg/crypto/md5/md5block_amd64.s @@ -5,7 +5,7 @@ // Translated from Perl generating GNU assembly into // #defines generating 6a assembly by the Go Authors. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // MD5 optimized for AMD64. // diff --git a/src/pkg/crypto/md5/md5block_amd64p32.s b/src/pkg/crypto/md5/md5block_amd64p32.s index a78a3f610..d918a67c5 100644 --- a/src/pkg/crypto/md5/md5block_amd64p32.s +++ b/src/pkg/crypto/md5/md5block_amd64p32.s @@ -9,7 +9,7 @@ // replace BP with R11, reloaded before use at return. // replace R15 with R11. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // MD5 optimized for AMD64. // diff --git a/src/pkg/crypto/md5/md5block_arm.s b/src/pkg/crypto/md5/md5block_arm.s index e644bfcd6..3b26e549b 100644 --- a/src/pkg/crypto/md5/md5block_arm.s +++ b/src/pkg/crypto/md5/md5block_arm.s @@ -4,7 +4,7 @@ // // ARM version of md5block.go -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // Register definitions table = 0 // Pointer to MD5 constants table diff --git a/src/pkg/crypto/rc4/rc4_386.s b/src/pkg/crypto/rc4/rc4_386.s index b04fc1fb8..54221036b 100644 --- a/src/pkg/crypto/rc4/rc4_386.s +++ b/src/pkg/crypto/rc4/rc4_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // func xorKeyStream(dst, src *byte, n int, state *[256]byte, i, j *uint8) TEXT ·xorKeyStream(SB),NOSPLIT,$0 diff --git a/src/pkg/crypto/rc4/rc4_amd64.s b/src/pkg/crypto/rc4/rc4_amd64.s index e3234b6c7..57d941c8f 100644 --- a/src/pkg/crypto/rc4/rc4_amd64.s +++ b/src/pkg/crypto/rc4/rc4_amd64.s @@ -2,7 +2,7 @@ // http://www.zorinaq.com/papers/rc4-amd64.html // http://www.zorinaq.com/papers/rc4-amd64.tar.bz2 -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // Local modifications: // diff --git a/src/pkg/crypto/rc4/rc4_amd64p32.s b/src/pkg/crypto/rc4/rc4_amd64p32.s index 27d849507..970b34e08 100644 --- a/src/pkg/crypto/rc4/rc4_amd64p32.s +++ b/src/pkg/crypto/rc4/rc4_amd64p32.s @@ -2,7 +2,7 @@ // http://www.zorinaq.com/papers/rc4-amd64.html // http://www.zorinaq.com/papers/rc4-amd64.tar.bz2 -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // Local modifications: // diff --git a/src/pkg/crypto/rc4/rc4_arm.s b/src/pkg/crypto/rc4/rc4_arm.s index b9ac72301..51be3bf95 100644 --- a/src/pkg/crypto/rc4/rc4_arm.s +++ b/src/pkg/crypto/rc4/rc4_arm.s @@ -4,7 +4,7 @@ // +build !nacl -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // Registers dst = 0 diff --git a/src/pkg/crypto/sha1/sha1block_386.s b/src/pkg/crypto/sha1/sha1block_386.s index 688851c31..a0adabc3c 100644 --- a/src/pkg/crypto/sha1/sha1block_386.s +++ b/src/pkg/crypto/sha1/sha1block_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // SHA1 block routine. See sha1block.go for Go equivalent. // diff --git a/src/pkg/crypto/sha1/sha1block_amd64.s b/src/pkg/crypto/sha1/sha1block_amd64.s index 8ffb9d5d6..4319df63e 100644 --- a/src/pkg/crypto/sha1/sha1block_amd64.s +++ b/src/pkg/crypto/sha1/sha1block_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // SHA1 block routine. See sha1block.go for Go equivalent. // diff --git a/src/pkg/crypto/sha1/sha1block_amd64p32.s b/src/pkg/crypto/sha1/sha1block_amd64p32.s index 3c589d94f..d93fbf1ed 100644 --- a/src/pkg/crypto/sha1/sha1block_amd64p32.s +++ b/src/pkg/crypto/sha1/sha1block_amd64p32.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // SHA1 block routine. See sha1block.go for Go equivalent. // diff --git a/src/pkg/crypto/sha1/sha1block_arm.s b/src/pkg/crypto/sha1/sha1block_arm.s index 5917e8b24..f11f33dc3 100644 --- a/src/pkg/crypto/sha1/sha1block_arm.s +++ b/src/pkg/crypto/sha1/sha1block_arm.s @@ -4,7 +4,7 @@ // // ARM version of md5block.go -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // SHA1 block routine. See sha1block.go for Go equivalent. // diff --git a/src/pkg/crypto/sha256/sha256block_amd64.s b/src/pkg/crypto/sha256/sha256block_amd64.s index b83897c7c..868eaed48 100644 --- a/src/pkg/crypto/sha256/sha256block_amd64.s +++ b/src/pkg/crypto/sha256/sha256block_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // SHA256 block routine. See sha256block.go for Go equivalent. // @@ -140,7 +140,7 @@ MSGSCHEDULE1(index); \ SHA256ROUND(index, const, a, b, c, d, e, f, g, h) -TEXT ·block(SB),0,$264-24 +TEXT ·block(SB),0,$264-32 MOVQ p_base+8(FP), SI MOVQ p_len+16(FP), DX SHRQ $6, DX diff --git a/src/pkg/crypto/sha512/sha512block_amd64.s b/src/pkg/crypto/sha512/sha512block_amd64.s index 8cb6b9e43..2e10233de 100644 --- a/src/pkg/crypto/sha512/sha512block_amd64.s +++ b/src/pkg/crypto/sha512/sha512block_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // SHA512 block routine. See sha512block.go for Go equivalent. // @@ -141,7 +141,7 @@ MSGSCHEDULE1(index); \ SHA512ROUND(index, const, a, b, c, d, e, f, g, h) -TEXT ·block(SB),0,$648-24 +TEXT ·block(SB),0,$648-32 MOVQ p_base+8(FP), SI MOVQ p_len+16(FP), DX SHRQ $7, DX diff --git a/src/pkg/hash/crc32/crc32_amd64.s b/src/pkg/hash/crc32/crc32_amd64.s index 95dc8bf41..30b0d0691 100644 --- a/src/pkg/hash/crc32/crc32_amd64.s +++ b/src/pkg/hash/crc32/crc32_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // func castagnoliSSE42(crc uint32, p []byte) uint32 TEXT ·castagnoliSSE42(SB),NOSPLIT,$0 diff --git a/src/pkg/hash/crc32/crc32_amd64p32.s b/src/pkg/hash/crc32/crc32_amd64p32.s index e34f20867..b6770eba3 100644 --- a/src/pkg/hash/crc32/crc32_amd64p32.s +++ b/src/pkg/hash/crc32/crc32_amd64p32.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // func castagnoliSSE42(crc uint32, p []byte) uint32 TEXT ·castagnoliSSE42(SB),NOSPLIT,$0 diff --git a/src/pkg/math/abs_386.s b/src/pkg/math/abs_386.s index 3490cf66c..f30a439c2 100644 --- a/src/pkg/math/abs_386.s +++ b/src/pkg/math/abs_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Abs(x float64) float64 TEXT ·Abs(SB),NOSPLIT,$0 diff --git a/src/pkg/math/abs_amd64.s b/src/pkg/math/abs_amd64.s index 779c8f548..0424eb5fa 100644 --- a/src/pkg/math/abs_amd64.s +++ b/src/pkg/math/abs_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Abs(x float64) float64 TEXT ·Abs(SB),NOSPLIT,$0 diff --git a/src/pkg/math/abs_arm.s b/src/pkg/math/abs_arm.s index b5117ab39..bfa77eb49 100644 --- a/src/pkg/math/abs_arm.s +++ b/src/pkg/math/abs_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Abs(SB),NOSPLIT,$0 MOVW x_lo+0(FP), R0 diff --git a/src/pkg/math/asin_386.s b/src/pkg/math/asin_386.s index 2c1d27094..4f34e123e 100644 --- a/src/pkg/math/asin_386.s +++ b/src/pkg/math/asin_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Asin(x float64) float64 TEXT ·Asin(SB),NOSPLIT,$0 diff --git a/src/pkg/math/asin_amd64.s b/src/pkg/math/asin_amd64.s index ea48104ac..1a43d489b 100644 --- a/src/pkg/math/asin_amd64.s +++ b/src/pkg/math/asin_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Asin(SB),NOSPLIT,$0 JMP ·asin(SB) diff --git a/src/pkg/math/asin_arm.s b/src/pkg/math/asin_arm.s index b90526003..8fe03b61d 100644 --- a/src/pkg/math/asin_arm.s +++ b/src/pkg/math/asin_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Asin(SB),NOSPLIT,$0 B ·asin(SB) diff --git a/src/pkg/math/atan2_386.s b/src/pkg/math/atan2_386.s index fb649316a..31a74e726 100644 --- a/src/pkg/math/atan2_386.s +++ b/src/pkg/math/atan2_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Atan2(y, x float64) float64 // =atan(y/x) TEXT ·Atan2(SB),NOSPLIT,$0 diff --git a/src/pkg/math/atan2_amd64.s b/src/pkg/math/atan2_amd64.s index f7a5a11d4..fc471f76c 100644 --- a/src/pkg/math/atan2_amd64.s +++ b/src/pkg/math/atan2_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Atan2(SB),NOSPLIT,$0 JMP ·atan2(SB) diff --git a/src/pkg/math/atan2_arm.s b/src/pkg/math/atan2_arm.s index 24bff2c03..06c12ecbc 100644 --- a/src/pkg/math/atan2_arm.s +++ b/src/pkg/math/atan2_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Atan2(SB),NOSPLIT,$0 B ·atan2(SB) diff --git a/src/pkg/math/atan_386.s b/src/pkg/math/atan_386.s index aad8ffcec..f3976b1d3 100644 --- a/src/pkg/math/atan_386.s +++ b/src/pkg/math/atan_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Atan(x float64) float64 TEXT ·Atan(SB),NOSPLIT,$0 diff --git a/src/pkg/math/atan_amd64.s b/src/pkg/math/atan_amd64.s index fc4a91b0d..b801ae99d 100644 --- a/src/pkg/math/atan_amd64.s +++ b/src/pkg/math/atan_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Atan(SB),NOSPLIT,$0 JMP ·atan(SB) diff --git a/src/pkg/math/atan_arm.s b/src/pkg/math/atan_arm.s index defa93a1e..d190a8bb0 100644 --- a/src/pkg/math/atan_arm.s +++ b/src/pkg/math/atan_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Atan(SB),NOSPLIT,$0 B ·atan(SB) diff --git a/src/pkg/math/big/arith_386.s b/src/pkg/math/big/arith_386.s index 15b036c65..1b47c898f 100644 --- a/src/pkg/math/big/arith_386.s +++ b/src/pkg/math/big/arith_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // This file provides fast assembly versions for the elementary // arithmetic operations on vectors implemented in arith.go. diff --git a/src/pkg/math/big/arith_amd64.s b/src/pkg/math/big/arith_amd64.s index e2113a7e3..56c4cb050 100644 --- a/src/pkg/math/big/arith_amd64.s +++ b/src/pkg/math/big/arith_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // This file provides fast assembly versions for the elementary // arithmetic operations on vectors implemented in arith.go. diff --git a/src/pkg/math/big/arith_amd64p32.s b/src/pkg/math/big/arith_amd64p32.s index 227870a00..908dbbdc5 100644 --- a/src/pkg/math/big/arith_amd64p32.s +++ b/src/pkg/math/big/arith_amd64p32.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·mulWW(SB),NOSPLIT,$0 JMP ·mulWW_g(SB) diff --git a/src/pkg/math/big/arith_arm.s b/src/pkg/math/big/arith_arm.s index 8d36761c4..a4c51c212 100644 --- a/src/pkg/math/big/arith_arm.s +++ b/src/pkg/math/big/arith_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // This file provides fast assembly versions for the elementary // arithmetic operations on vectors implemented in arith.go. diff --git a/src/pkg/math/dim_386.s b/src/pkg/math/dim_386.s index f715114c4..c8194fed8 100644 --- a/src/pkg/math/dim_386.s +++ b/src/pkg/math/dim_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Dim(SB),NOSPLIT,$0 JMP ·dim(SB) diff --git a/src/pkg/math/dim_amd64.s b/src/pkg/math/dim_amd64.s index 38423ef02..622cc3fba 100644 --- a/src/pkg/math/dim_amd64.s +++ b/src/pkg/math/dim_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" #define PosInf 0x7FF0000000000000 #define NaN 0x7FF8000000000001 diff --git a/src/pkg/math/dim_arm.s b/src/pkg/math/dim_arm.s index 162f08cda..be6695068 100644 --- a/src/pkg/math/dim_arm.s +++ b/src/pkg/math/dim_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Dim(SB),NOSPLIT,$0 B ·dim(SB) diff --git a/src/pkg/math/exp2_386.s b/src/pkg/math/exp2_386.s index 71959d94d..7d11920c2 100644 --- a/src/pkg/math/exp2_386.s +++ b/src/pkg/math/exp2_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Exp2(x float64) float64 TEXT ·Exp2(SB),NOSPLIT,$0 diff --git a/src/pkg/math/exp2_amd64.s b/src/pkg/math/exp2_amd64.s index 77a53dad4..903c83589 100644 --- a/src/pkg/math/exp2_amd64.s +++ b/src/pkg/math/exp2_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Exp2(SB),NOSPLIT,$0 JMP ·exp2(SB) diff --git a/src/pkg/math/exp2_arm.s b/src/pkg/math/exp2_arm.s index fe51f2522..58283cd08 100644 --- a/src/pkg/math/exp2_arm.s +++ b/src/pkg/math/exp2_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Exp2(SB),NOSPLIT,$0 B ·exp2(SB) diff --git a/src/pkg/math/exp_386.s b/src/pkg/math/exp_386.s index af2d680d5..6a478a5e6 100644 --- a/src/pkg/math/exp_386.s +++ b/src/pkg/math/exp_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Exp(x float64) float64 TEXT ·Exp(SB),NOSPLIT,$0 diff --git a/src/pkg/math/exp_amd64.s b/src/pkg/math/exp_amd64.s index 070b45264..d9cf8fd86 100644 --- a/src/pkg/math/exp_amd64.s +++ b/src/pkg/math/exp_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // The method is based on a paper by Naoki Shibata: "Efficient evaluation // methods of elementary functions suitable for SIMD computation", Proc. diff --git a/src/pkg/math/exp_arm.s b/src/pkg/math/exp_arm.s index 130b502ac..ce36d03ca 100644 --- a/src/pkg/math/exp_arm.s +++ b/src/pkg/math/exp_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Exp(SB),NOSPLIT,$0 B ·exp(SB) diff --git a/src/pkg/math/expm1_386.s b/src/pkg/math/expm1_386.s index b268c58c6..a48ca8a58 100644 --- a/src/pkg/math/expm1_386.s +++ b/src/pkg/math/expm1_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Expm1(x float64) float64 TEXT ·Expm1(SB),NOSPLIT,$0 diff --git a/src/pkg/math/expm1_amd64.s b/src/pkg/math/expm1_amd64.s index 66a75b3d5..b7d5a3be0 100644 --- a/src/pkg/math/expm1_amd64.s +++ b/src/pkg/math/expm1_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Expm1(SB),NOSPLIT,$0 JMP ·expm1(SB) diff --git a/src/pkg/math/expm1_arm.s b/src/pkg/math/expm1_arm.s index 838744447..5f80d872f 100644 --- a/src/pkg/math/expm1_arm.s +++ b/src/pkg/math/expm1_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Expm1(SB),NOSPLIT,$0 B ·expm1(SB) diff --git a/src/pkg/math/floor_386.s b/src/pkg/math/floor_386.s index 37d5a4559..31c9b174d 100644 --- a/src/pkg/math/floor_386.s +++ b/src/pkg/math/floor_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Ceil(x float64) float64 TEXT ·Ceil(SB),NOSPLIT,$0 diff --git a/src/pkg/math/floor_amd64.s b/src/pkg/math/floor_amd64.s index 2fd31c4fa..67b7cdec0 100644 --- a/src/pkg/math/floor_amd64.s +++ b/src/pkg/math/floor_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" #define Big 0x4330000000000000 // 2**52 diff --git a/src/pkg/math/floor_arm.s b/src/pkg/math/floor_arm.s index cb3b98e95..59091765b 100644 --- a/src/pkg/math/floor_arm.s +++ b/src/pkg/math/floor_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Floor(SB),NOSPLIT,$0 B ·floor(SB) diff --git a/src/pkg/math/frexp_386.s b/src/pkg/math/frexp_386.s index c6d0a80ed..5bff7e215 100644 --- a/src/pkg/math/frexp_386.s +++ b/src/pkg/math/frexp_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Frexp(f float64) (frac float64, exp int) TEXT ·Frexp(SB),NOSPLIT,$0 diff --git a/src/pkg/math/frexp_amd64.s b/src/pkg/math/frexp_amd64.s index 03d101243..93a321039 100644 --- a/src/pkg/math/frexp_amd64.s +++ b/src/pkg/math/frexp_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Frexp(SB),NOSPLIT,$0 JMP ·frexp(SB) diff --git a/src/pkg/math/frexp_arm.s b/src/pkg/math/frexp_arm.s index 9d40ae46a..7842eca59 100644 --- a/src/pkg/math/frexp_arm.s +++ b/src/pkg/math/frexp_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Frexp(SB),NOSPLIT,$0 B ·frexp(SB) diff --git a/src/pkg/math/hypot_386.s b/src/pkg/math/hypot_386.s index eec1bf554..d321f465b 100644 --- a/src/pkg/math/hypot_386.s +++ b/src/pkg/math/hypot_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Hypot(p, q float64) float64 TEXT ·Hypot(SB),NOSPLIT,$0 diff --git a/src/pkg/math/hypot_amd64.s b/src/pkg/math/hypot_amd64.s index 5c0ff4dd8..a68eebc8c 100644 --- a/src/pkg/math/hypot_amd64.s +++ b/src/pkg/math/hypot_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" #define PosInf 0x7FF0000000000000 #define NaN 0x7FF8000000000001 diff --git a/src/pkg/math/hypot_arm.s b/src/pkg/math/hypot_arm.s index 2562aa830..9c8abca13 100644 --- a/src/pkg/math/hypot_arm.s +++ b/src/pkg/math/hypot_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Hypot(SB),NOSPLIT,$0 B ·hypot(SB) diff --git a/src/pkg/math/ldexp_386.s b/src/pkg/math/ldexp_386.s index baf377ead..ac8e8ba54 100644 --- a/src/pkg/math/ldexp_386.s +++ b/src/pkg/math/ldexp_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Ldexp(frac float64, exp int) float64 TEXT ·Ldexp(SB),NOSPLIT,$0 diff --git a/src/pkg/math/ldexp_amd64.s b/src/pkg/math/ldexp_amd64.s index c7fc226ef..6063a6480 100644 --- a/src/pkg/math/ldexp_amd64.s +++ b/src/pkg/math/ldexp_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Ldexp(SB),NOSPLIT,$0 JMP ·ldexp(SB) diff --git a/src/pkg/math/ldexp_arm.s b/src/pkg/math/ldexp_arm.s index 16744ea57..fcffa2e0f 100644 --- a/src/pkg/math/ldexp_arm.s +++ b/src/pkg/math/ldexp_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Ldexp(SB),NOSPLIT,$0 B ·ldexp(SB) diff --git a/src/pkg/math/log10_386.s b/src/pkg/math/log10_386.s index 4ae069da6..2897f3c15 100644 --- a/src/pkg/math/log10_386.s +++ b/src/pkg/math/log10_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Log10(x float64) float64 TEXT ·Log10(SB),NOSPLIT,$0 diff --git a/src/pkg/math/log10_amd64.s b/src/pkg/math/log10_amd64.s index b9ae83268..8382ba7ae 100644 --- a/src/pkg/math/log10_amd64.s +++ b/src/pkg/math/log10_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Log10(SB),NOSPLIT,$0 JMP ·log10(SB) diff --git a/src/pkg/math/log10_arm.s b/src/pkg/math/log10_arm.s index fa7580f6f..dbcb8351c 100644 --- a/src/pkg/math/log10_arm.s +++ b/src/pkg/math/log10_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Log10(SB),NOSPLIT,$0 B ·log10(SB) diff --git a/src/pkg/math/log1p_386.s b/src/pkg/math/log1p_386.s index 3b30fd5b7..1c2d683a8 100644 --- a/src/pkg/math/log1p_386.s +++ b/src/pkg/math/log1p_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Log1p(x float64) float64 TEXT ·Log1p(SB),NOSPLIT,$0 diff --git a/src/pkg/math/log1p_amd64.s b/src/pkg/math/log1p_amd64.s index 48c24f41f..1e58fb110 100644 --- a/src/pkg/math/log1p_amd64.s +++ b/src/pkg/math/log1p_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Log1p(SB),NOSPLIT,$0 JMP ·log1p(SB) diff --git a/src/pkg/math/log1p_arm.s b/src/pkg/math/log1p_arm.s index fd2740d0d..95d549678 100644 --- a/src/pkg/math/log1p_arm.s +++ b/src/pkg/math/log1p_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Log1p(SB),NOSPLIT,$0 B ·log1p(SB) diff --git a/src/pkg/math/log_386.s b/src/pkg/math/log_386.s index 21a0633b1..ff998afb4 100644 --- a/src/pkg/math/log_386.s +++ b/src/pkg/math/log_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Log(x float64) float64 TEXT ·Log(SB),NOSPLIT,$0 diff --git a/src/pkg/math/log_amd64.s b/src/pkg/math/log_amd64.s index dffc5aec8..84c60ab4d 100644 --- a/src/pkg/math/log_amd64.s +++ b/src/pkg/math/log_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" #define HSqrt2 7.07106781186547524401e-01 // sqrt(2)/2 #define Ln2Hi 6.93147180369123816490e-01 // 0x3fe62e42fee00000 diff --git a/src/pkg/math/log_arm.s b/src/pkg/math/log_arm.s index 28448aeef..e21d0366e 100644 --- a/src/pkg/math/log_arm.s +++ b/src/pkg/math/log_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Log(SB),NOSPLIT,$0 B ·log(SB) diff --git a/src/pkg/math/mod_386.s b/src/pkg/math/mod_386.s index 9b3b6bd06..10ad98be3 100644 --- a/src/pkg/math/mod_386.s +++ b/src/pkg/math/mod_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Mod(x, y float64) float64 TEXT ·Mod(SB),NOSPLIT,$0 diff --git a/src/pkg/math/mod_amd64.s b/src/pkg/math/mod_amd64.s index bef83fcf7..f99dbe293 100644 --- a/src/pkg/math/mod_amd64.s +++ b/src/pkg/math/mod_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Mod(SB),NOSPLIT,$0 JMP ·mod(SB) diff --git a/src/pkg/math/mod_arm.s b/src/pkg/math/mod_arm.s index 1f51588f8..5afb3594d 100644 --- a/src/pkg/math/mod_arm.s +++ b/src/pkg/math/mod_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Mod(SB),NOSPLIT,$0 B ·mod(SB) diff --git a/src/pkg/math/modf_386.s b/src/pkg/math/modf_386.s index 07a0dc5cf..3debd3b95 100644 --- a/src/pkg/math/modf_386.s +++ b/src/pkg/math/modf_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Modf(f float64) (int float64, frac float64) TEXT ·Modf(SB),NOSPLIT,$0 diff --git a/src/pkg/math/modf_amd64.s b/src/pkg/math/modf_amd64.s index 05feb4bf9..701cf72a3 100644 --- a/src/pkg/math/modf_amd64.s +++ b/src/pkg/math/modf_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Modf(SB),NOSPLIT,$0 JMP ·modf(SB) diff --git a/src/pkg/math/modf_arm.s b/src/pkg/math/modf_arm.s index e6bd26d53..ea3c8dc74 100644 --- a/src/pkg/math/modf_arm.s +++ b/src/pkg/math/modf_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Modf(SB),NOSPLIT,$0 B ·modf(SB) diff --git a/src/pkg/math/remainder_386.s b/src/pkg/math/remainder_386.s index bbe13a0d9..318fa2c46 100644 --- a/src/pkg/math/remainder_386.s +++ b/src/pkg/math/remainder_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Remainder(x, y float64) float64 TEXT ·Remainder(SB),NOSPLIT,$0 diff --git a/src/pkg/math/remainder_amd64.s b/src/pkg/math/remainder_amd64.s index e5e23c7ce..f7fda99d8 100644 --- a/src/pkg/math/remainder_amd64.s +++ b/src/pkg/math/remainder_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Remainder(SB),NOSPLIT,$0 JMP ·remainder(SB) diff --git a/src/pkg/math/remainder_arm.s b/src/pkg/math/remainder_arm.s index 8728afe93..1ae597a60 100644 --- a/src/pkg/math/remainder_arm.s +++ b/src/pkg/math/remainder_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Remainder(SB),NOSPLIT,$0 B ·remainder(SB) diff --git a/src/pkg/math/sin_386.s b/src/pkg/math/sin_386.s index 09271c035..ccc8e64be 100644 --- a/src/pkg/math/sin_386.s +++ b/src/pkg/math/sin_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Cos(x float64) float64 TEXT ·Cos(SB),NOSPLIT,$0 diff --git a/src/pkg/math/sin_amd64.s b/src/pkg/math/sin_amd64.s index 008bf4be5..0c33cecef 100644 --- a/src/pkg/math/sin_amd64.s +++ b/src/pkg/math/sin_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Sin(SB),NOSPLIT,$0 JMP ·sin(SB) diff --git a/src/pkg/math/sin_arm.s b/src/pkg/math/sin_arm.s index a057b4fc9..467af3dea 100644 --- a/src/pkg/math/sin_arm.s +++ b/src/pkg/math/sin_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Sin(SB),NOSPLIT,$0 B ·sin(SB) diff --git a/src/pkg/math/sincos_386.s b/src/pkg/math/sincos_386.s index bf964b168..83af5016e 100644 --- a/src/pkg/math/sincos_386.s +++ b/src/pkg/math/sincos_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Sincos(x float64) (sin, cos float64) TEXT ·Sincos(SB),NOSPLIT,$0 diff --git a/src/pkg/math/sincos_amd64.s b/src/pkg/math/sincos_amd64.s index bccc1ade1..dae636b24 100644 --- a/src/pkg/math/sincos_amd64.s +++ b/src/pkg/math/sincos_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // The method is based on a paper by Naoki Shibata: "Efficient evaluation // methods of elementary functions suitable for SIMD computation", Proc. diff --git a/src/pkg/math/sincos_arm.s b/src/pkg/math/sincos_arm.s index b6866af54..9fe048248 100644 --- a/src/pkg/math/sincos_arm.s +++ b/src/pkg/math/sincos_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Sincos(SB),NOSPLIT,$0 B ·sincos(SB) diff --git a/src/pkg/math/sqrt_386.s b/src/pkg/math/sqrt_386.s index 2d0c786d0..5234a1e88 100644 --- a/src/pkg/math/sqrt_386.s +++ b/src/pkg/math/sqrt_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Sqrt(x float64) float64 TEXT ·Sqrt(SB),NOSPLIT,$0 diff --git a/src/pkg/math/sqrt_amd64.s b/src/pkg/math/sqrt_amd64.s index 1508944c9..443d83fe3 100644 --- a/src/pkg/math/sqrt_amd64.s +++ b/src/pkg/math/sqrt_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Sqrt(x float64) float64 TEXT ·Sqrt(SB),NOSPLIT,$0 diff --git a/src/pkg/math/sqrt_arm.s b/src/pkg/math/sqrt_arm.s index f731ee976..4f9dc2e03 100644 --- a/src/pkg/math/sqrt_arm.s +++ b/src/pkg/math/sqrt_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Sqrt(x float64) float64 TEXT ·Sqrt(SB),NOSPLIT,$0 diff --git a/src/pkg/math/tan_386.s b/src/pkg/math/tan_386.s index 2320326e3..f1bdae153 100644 --- a/src/pkg/math/tan_386.s +++ b/src/pkg/math/tan_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // func Tan(x float64) float64 TEXT ·Tan(SB),NOSPLIT,$0 diff --git a/src/pkg/math/tan_amd64.s b/src/pkg/math/tan_amd64.s index 9fa5f148e..39aa08061 100644 --- a/src/pkg/math/tan_amd64.s +++ b/src/pkg/math/tan_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Tan(SB),NOSPLIT,$0 JMP ·tan(SB) diff --git a/src/pkg/math/tan_arm.s b/src/pkg/math/tan_arm.s index 68fea318d..36c7c128f 100644 --- a/src/pkg/math/tan_arm.s +++ b/src/pkg/math/tan_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·Tan(SB),NOSPLIT,$0 B ·tan(SB) diff --git a/src/pkg/os/signal/sig.s b/src/pkg/os/signal/sig.s index f860924aa..d54c284b5 100644 --- a/src/pkg/os/signal/sig.s +++ b/src/pkg/os/signal/sig.s @@ -6,7 +6,7 @@ // +build amd64 amd64p32 arm 386 -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" #ifdef GOARCH_arm #define JMP B diff --git a/src/pkg/reflect/asm_386.s b/src/pkg/reflect/asm_386.s index a53862408..8c84bba43 100644 --- a/src/pkg/reflect/asm_386.s +++ b/src/pkg/reflect/asm_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // makeFuncStub is the code half of the function returned by MakeFunc. // See the comment on the declaration of makeFuncStub in makefunc.go diff --git a/src/pkg/reflect/asm_amd64.s b/src/pkg/reflect/asm_amd64.s index 12a8879b7..195928bff 100644 --- a/src/pkg/reflect/asm_amd64.s +++ b/src/pkg/reflect/asm_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // makeFuncStub is the code half of the function returned by MakeFunc. // See the comment on the declaration of makeFuncStub in makefunc.go diff --git a/src/pkg/reflect/asm_amd64p32.s b/src/pkg/reflect/asm_amd64p32.s index a53862408..8c84bba43 100644 --- a/src/pkg/reflect/asm_amd64p32.s +++ b/src/pkg/reflect/asm_amd64p32.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // makeFuncStub is the code half of the function returned by MakeFunc. // See the comment on the declaration of makeFuncStub in makefunc.go diff --git a/src/pkg/reflect/asm_arm.s b/src/pkg/reflect/asm_arm.s index 69e4ab488..fafc6f313 100644 --- a/src/pkg/reflect/asm_arm.s +++ b/src/pkg/reflect/asm_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // makeFuncStub is jumped to by the code generated by MakeFunc. // See the comment on the declaration of makeFuncStub in makefunc.go diff --git a/src/pkg/sync/atomic/asm_386.s b/src/pkg/sync/atomic/asm_386.s index 807c2f873..740dfe76b 100644 --- a/src/pkg/sync/atomic/asm_386.s +++ b/src/pkg/sync/atomic/asm_386.s @@ -4,7 +4,7 @@ // +build !race -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·SwapInt32(SB),NOSPLIT,$0-12 JMP ·SwapUint32(SB) diff --git a/src/pkg/sync/atomic/asm_amd64.s b/src/pkg/sync/atomic/asm_amd64.s index 77afa129e..6e53ebedd 100644 --- a/src/pkg/sync/atomic/asm_amd64.s +++ b/src/pkg/sync/atomic/asm_amd64.s @@ -4,7 +4,7 @@ // +build !race -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·SwapInt32(SB),NOSPLIT,$0-20 JMP ·SwapUint32(SB) diff --git a/src/pkg/sync/atomic/asm_amd64p32.s b/src/pkg/sync/atomic/asm_amd64p32.s index b24ae7a59..d77cc2c08 100644 --- a/src/pkg/sync/atomic/asm_amd64p32.s +++ b/src/pkg/sync/atomic/asm_amd64p32.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·SwapInt32(SB),NOSPLIT,$0-12 JMP ·SwapUint32(SB) diff --git a/src/pkg/sync/atomic/asm_arm.s b/src/pkg/sync/atomic/asm_arm.s index 7c8620a51..47639a80e 100644 --- a/src/pkg/sync/atomic/asm_arm.s +++ b/src/pkg/sync/atomic/asm_arm.s @@ -4,7 +4,7 @@ // +build !race -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // ARM atomic operations, for use by asm_$(GOOS)_arm.s. diff --git a/src/pkg/sync/atomic/asm_freebsd_arm.s b/src/pkg/sync/atomic/asm_freebsd_arm.s index db37f73bc..06b975e89 100644 --- a/src/pkg/sync/atomic/asm_freebsd_arm.s +++ b/src/pkg/sync/atomic/asm_freebsd_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // FreeBSD/ARM atomic operations. // TODO(minux): this only supports ARMv6K or higher. diff --git a/src/pkg/sync/atomic/asm_linux_arm.s b/src/pkg/sync/atomic/asm_linux_arm.s index 27be57aa1..bfcfd7977 100644 --- a/src/pkg/sync/atomic/asm_linux_arm.s +++ b/src/pkg/sync/atomic/asm_linux_arm.s @@ -4,7 +4,7 @@ // +build !race -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // Linux/ARM atomic operations. diff --git a/src/pkg/sync/atomic/asm_nacl_arm.s b/src/pkg/sync/atomic/asm_nacl_arm.s index 084ab71f8..76f623336 100644 --- a/src/pkg/sync/atomic/asm_nacl_arm.s +++ b/src/pkg/sync/atomic/asm_nacl_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // NaCl/ARM atomic operations. // NaCl/ARM explicitly targets ARMv7A. diff --git a/src/pkg/sync/atomic/asm_netbsd_arm.s b/src/pkg/sync/atomic/asm_netbsd_arm.s index 64f4dbe71..dbe80898f 100644 --- a/src/pkg/sync/atomic/asm_netbsd_arm.s +++ b/src/pkg/sync/atomic/asm_netbsd_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // NetBSD/ARM atomic operations. // TODO(minux): this only supports ARMv6K or higher. diff --git a/src/pkg/syscall/asm_darwin_386.s b/src/pkg/syscall/asm_darwin_386.s index 9b4dfa81d..dfe94fb52 100644 --- a/src/pkg/syscall/asm_darwin_386.s +++ b/src/pkg/syscall/asm_darwin_386.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for 386, Darwin diff --git a/src/pkg/syscall/asm_darwin_amd64.s b/src/pkg/syscall/asm_darwin_amd64.s index 19ea05be7..d6f1c96f5 100644 --- a/src/pkg/syscall/asm_darwin_amd64.s +++ b/src/pkg/syscall/asm_darwin_amd64.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for AMD64, Darwin diff --git a/src/pkg/syscall/asm_dragonfly_386.s b/src/pkg/syscall/asm_dragonfly_386.s index d24216fdd..37d655fba 100644 --- a/src/pkg/syscall/asm_dragonfly_386.s +++ b/src/pkg/syscall/asm_dragonfly_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for 386, FreeBSD diff --git a/src/pkg/syscall/asm_dragonfly_amd64.s b/src/pkg/syscall/asm_dragonfly_amd64.s index 31d107490..c8434f96b 100644 --- a/src/pkg/syscall/asm_dragonfly_amd64.s +++ b/src/pkg/syscall/asm_dragonfly_amd64.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for AMD64, DragonFly diff --git a/src/pkg/syscall/asm_freebsd_386.s b/src/pkg/syscall/asm_freebsd_386.s index 91a46b106..f50b5a09b 100644 --- a/src/pkg/syscall/asm_freebsd_386.s +++ b/src/pkg/syscall/asm_freebsd_386.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for 386, FreeBSD diff --git a/src/pkg/syscall/asm_freebsd_amd64.s b/src/pkg/syscall/asm_freebsd_amd64.s index 7abb36828..58cbfe1a9 100644 --- a/src/pkg/syscall/asm_freebsd_amd64.s +++ b/src/pkg/syscall/asm_freebsd_amd64.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for AMD64, FreeBSD diff --git a/src/pkg/syscall/asm_freebsd_arm.s b/src/pkg/syscall/asm_freebsd_arm.s index c01ce6feb..5eb40334b 100644 --- a/src/pkg/syscall/asm_freebsd_arm.s +++ b/src/pkg/syscall/asm_freebsd_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for ARM, FreeBSD diff --git a/src/pkg/syscall/asm_linux_386.s b/src/pkg/syscall/asm_linux_386.s index 30b22073d..05cf89aa2 100644 --- a/src/pkg/syscall/asm_linux_386.s +++ b/src/pkg/syscall/asm_linux_386.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System calls for 386, Linux diff --git a/src/pkg/syscall/asm_linux_amd64.s b/src/pkg/syscall/asm_linux_amd64.s index 995b60ecd..514693283 100644 --- a/src/pkg/syscall/asm_linux_amd64.s +++ b/src/pkg/syscall/asm_linux_amd64.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System calls for AMD64, Linux diff --git a/src/pkg/syscall/asm_linux_arm.s b/src/pkg/syscall/asm_linux_arm.s index a28bc6cfc..014fa618f 100644 --- a/src/pkg/syscall/asm_linux_arm.s +++ b/src/pkg/syscall/asm_linux_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System calls for arm, Linux diff --git a/src/pkg/syscall/asm_nacl_386.s b/src/pkg/syscall/asm_nacl_386.s index de7c3cc5d..3c86decd3 100644 --- a/src/pkg/syscall/asm_nacl_386.s +++ b/src/pkg/syscall/asm_nacl_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" #include "../runtime/syscall_nacl.h" // diff --git a/src/pkg/syscall/asm_nacl_amd64p32.s b/src/pkg/syscall/asm_nacl_amd64p32.s index de030ec80..b91e09bd6 100644 --- a/src/pkg/syscall/asm_nacl_amd64p32.s +++ b/src/pkg/syscall/asm_nacl_amd64p32.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" #include "../runtime/syscall_nacl.h" // diff --git a/src/pkg/syscall/asm_nacl_arm.s b/src/pkg/syscall/asm_nacl_arm.s index ffc48ceaa..cc4b9cd2d 100644 --- a/src/pkg/syscall/asm_nacl_arm.s +++ b/src/pkg/syscall/asm_nacl_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" #include "../runtime/syscall_nacl.h" // diff --git a/src/pkg/syscall/asm_netbsd_386.s b/src/pkg/syscall/asm_netbsd_386.s index 40b30b405..c58263254 100644 --- a/src/pkg/syscall/asm_netbsd_386.s +++ b/src/pkg/syscall/asm_netbsd_386.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for 386, NetBSD diff --git a/src/pkg/syscall/asm_netbsd_amd64.s b/src/pkg/syscall/asm_netbsd_amd64.s index 94ad0284a..8285382ce 100644 --- a/src/pkg/syscall/asm_netbsd_amd64.s +++ b/src/pkg/syscall/asm_netbsd_amd64.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for AMD64, NetBSD diff --git a/src/pkg/syscall/asm_netbsd_arm.s b/src/pkg/syscall/asm_netbsd_arm.s index 2c0d65401..b06118049 100644 --- a/src/pkg/syscall/asm_netbsd_arm.s +++ b/src/pkg/syscall/asm_netbsd_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for ARM, NetBSD diff --git a/src/pkg/syscall/asm_openbsd_386.s b/src/pkg/syscall/asm_openbsd_386.s index 7dd2e373f..17fbb65c8 100644 --- a/src/pkg/syscall/asm_openbsd_386.s +++ b/src/pkg/syscall/asm_openbsd_386.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for 386, OpenBSD diff --git a/src/pkg/syscall/asm_openbsd_amd64.s b/src/pkg/syscall/asm_openbsd_amd64.s index e127bf220..fe61482cd 100644 --- a/src/pkg/syscall/asm_openbsd_amd64.s +++ b/src/pkg/syscall/asm_openbsd_amd64.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for AMD64, OpenBSD diff --git a/src/pkg/syscall/asm_plan9_386.s b/src/pkg/syscall/asm_plan9_386.s index f8c07c407..aaa8b9a69 100644 --- a/src/pkg/syscall/asm_plan9_386.s +++ b/src/pkg/syscall/asm_plan9_386.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for 386, Plan 9 diff --git a/src/pkg/syscall/asm_plan9_amd64.s b/src/pkg/syscall/asm_plan9_amd64.s index 220ea6800..22dc5f957 100644 --- a/src/pkg/syscall/asm_plan9_amd64.s +++ b/src/pkg/syscall/asm_plan9_amd64.s @@ -5,7 +5,7 @@ // TODO(rsc): Rewrite all nn(SP) references into name+(nn-8)(FP) // so that go vet can check that they are correct. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" // // System call support for Plan 9 diff --git a/src/pkg/syscall/time_nacl_386.s b/src/pkg/syscall/time_nacl_386.s index b5a22d31b..c0c89dccc 100644 --- a/src/pkg/syscall/time_nacl_386.s +++ b/src/pkg/syscall/time_nacl_386.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·startTimer(SB),NOSPLIT,$0 JMP time·startTimer(SB) diff --git a/src/pkg/syscall/time_nacl_amd64p32.s b/src/pkg/syscall/time_nacl_amd64p32.s index b5a22d31b..c0c89dccc 100644 --- a/src/pkg/syscall/time_nacl_amd64p32.s +++ b/src/pkg/syscall/time_nacl_amd64p32.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·startTimer(SB),NOSPLIT,$0 JMP time·startTimer(SB) diff --git a/src/pkg/syscall/time_nacl_arm.s b/src/pkg/syscall/time_nacl_arm.s index 99baaf59b..4f4b4d89a 100644 --- a/src/pkg/syscall/time_nacl_arm.s +++ b/src/pkg/syscall/time_nacl_arm.s @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -#include "../../cmd/ld/textflag.h" +#include "textflag.h" TEXT ·startTimer(SB),NOSPLIT,$0 B time·startTimer(SB) |