]> Cypherpunks repositories - gostls13.git/commitdiff
all: copy cmd/ld/textflag.h into pkg/GOOS_GOARCH
authorRob Pike <r@golang.org>
Wed, 13 Aug 2014 00:04:45 +0000 (17:04 -0700)
committerRob Pike <r@golang.org>
Wed, 13 Aug 2014 00:04:45 +0000 (17:04 -0700)
The file is used by assembly code to define symbols like NOSPLIT.
Having it hidden inside the cmd directory makes it hard to access
outside the standard repository.
Solution: As with a couple of other files used by cgo, copy the
file into the pkg directory and add a -I argument to the assembler
to access it. Thus one can write just
        #include "textflag.h"
in .s files.

The names in runtime are not updated because in the boot sequence the
file has not been copied yet when runtime is built. All other .s files
in the repository are updated.

Changes to doc/asm.html, src/cmd/dist/build.c, and src/cmd/go/build.go
are hand-made. The rest are just the renaming done by a global
substitution. (Yay sam).

LGTM=rsc
R=rsc
CC=golang-codereviews
https://golang.org/cl/128050043

128 files changed:
doc/asm.html
src/cmd/dist/build.c
src/cmd/go/build.go
src/cmd/link/testdata/autosection.s
src/cmd/link/testdata/layout.s
src/pkg/crypto/aes/asm_amd64.s
src/pkg/crypto/md5/md5block_386.s
src/pkg/crypto/md5/md5block_amd64.s
src/pkg/crypto/md5/md5block_amd64p32.s
src/pkg/crypto/md5/md5block_arm.s
src/pkg/crypto/rc4/rc4_386.s
src/pkg/crypto/rc4/rc4_amd64.s
src/pkg/crypto/rc4/rc4_amd64p32.s
src/pkg/crypto/rc4/rc4_arm.s
src/pkg/crypto/sha1/sha1block_386.s
src/pkg/crypto/sha1/sha1block_amd64.s
src/pkg/crypto/sha1/sha1block_amd64p32.s
src/pkg/crypto/sha1/sha1block_arm.s
src/pkg/crypto/sha256/sha256block_amd64.s
src/pkg/crypto/sha512/sha512block_amd64.s
src/pkg/hash/crc32/crc32_amd64.s
src/pkg/hash/crc32/crc32_amd64p32.s
src/pkg/math/abs_386.s
src/pkg/math/abs_amd64.s
src/pkg/math/abs_arm.s
src/pkg/math/asin_386.s
src/pkg/math/asin_amd64.s
src/pkg/math/asin_arm.s
src/pkg/math/atan2_386.s
src/pkg/math/atan2_amd64.s
src/pkg/math/atan2_arm.s
src/pkg/math/atan_386.s
src/pkg/math/atan_amd64.s
src/pkg/math/atan_arm.s
src/pkg/math/big/arith_386.s
src/pkg/math/big/arith_amd64.s
src/pkg/math/big/arith_amd64p32.s
src/pkg/math/big/arith_arm.s
src/pkg/math/dim_386.s
src/pkg/math/dim_amd64.s
src/pkg/math/dim_arm.s
src/pkg/math/exp2_386.s
src/pkg/math/exp2_amd64.s
src/pkg/math/exp2_arm.s
src/pkg/math/exp_386.s
src/pkg/math/exp_amd64.s
src/pkg/math/exp_arm.s
src/pkg/math/expm1_386.s
src/pkg/math/expm1_amd64.s
src/pkg/math/expm1_arm.s
src/pkg/math/floor_386.s
src/pkg/math/floor_amd64.s
src/pkg/math/floor_arm.s
src/pkg/math/frexp_386.s
src/pkg/math/frexp_amd64.s
src/pkg/math/frexp_arm.s
src/pkg/math/hypot_386.s
src/pkg/math/hypot_amd64.s
src/pkg/math/hypot_arm.s
src/pkg/math/ldexp_386.s
src/pkg/math/ldexp_amd64.s
src/pkg/math/ldexp_arm.s
src/pkg/math/log10_386.s
src/pkg/math/log10_amd64.s
src/pkg/math/log10_arm.s
src/pkg/math/log1p_386.s
src/pkg/math/log1p_amd64.s
src/pkg/math/log1p_arm.s
src/pkg/math/log_386.s
src/pkg/math/log_amd64.s
src/pkg/math/log_arm.s
src/pkg/math/mod_386.s
src/pkg/math/mod_amd64.s
src/pkg/math/mod_arm.s
src/pkg/math/modf_386.s
src/pkg/math/modf_amd64.s
src/pkg/math/modf_arm.s
src/pkg/math/remainder_386.s
src/pkg/math/remainder_amd64.s
src/pkg/math/remainder_arm.s
src/pkg/math/sin_386.s
src/pkg/math/sin_amd64.s
src/pkg/math/sin_arm.s
src/pkg/math/sincos_386.s
src/pkg/math/sincos_amd64.s
src/pkg/math/sincos_arm.s
src/pkg/math/sqrt_386.s
src/pkg/math/sqrt_amd64.s
src/pkg/math/sqrt_arm.s
src/pkg/math/tan_386.s
src/pkg/math/tan_amd64.s
src/pkg/math/tan_arm.s
src/pkg/os/signal/sig.s
src/pkg/reflect/asm_386.s
src/pkg/reflect/asm_amd64.s
src/pkg/reflect/asm_amd64p32.s
src/pkg/reflect/asm_arm.s
src/pkg/sync/atomic/asm_386.s
src/pkg/sync/atomic/asm_amd64.s
src/pkg/sync/atomic/asm_amd64p32.s
src/pkg/sync/atomic/asm_arm.s
src/pkg/sync/atomic/asm_freebsd_arm.s
src/pkg/sync/atomic/asm_linux_arm.s
src/pkg/sync/atomic/asm_nacl_arm.s
src/pkg/sync/atomic/asm_netbsd_arm.s
src/pkg/syscall/asm_darwin_386.s
src/pkg/syscall/asm_darwin_amd64.s
src/pkg/syscall/asm_dragonfly_386.s
src/pkg/syscall/asm_dragonfly_amd64.s
src/pkg/syscall/asm_freebsd_386.s
src/pkg/syscall/asm_freebsd_amd64.s
src/pkg/syscall/asm_freebsd_arm.s
src/pkg/syscall/asm_linux_386.s
src/pkg/syscall/asm_linux_amd64.s
src/pkg/syscall/asm_linux_arm.s
src/pkg/syscall/asm_nacl_386.s
src/pkg/syscall/asm_nacl_amd64p32.s
src/pkg/syscall/asm_nacl_arm.s
src/pkg/syscall/asm_netbsd_386.s
src/pkg/syscall/asm_netbsd_amd64.s
src/pkg/syscall/asm_netbsd_arm.s
src/pkg/syscall/asm_openbsd_386.s
src/pkg/syscall/asm_openbsd_amd64.s
src/pkg/syscall/asm_plan9_386.s
src/pkg/syscall/asm_plan9_amd64.s
src/pkg/syscall/time_nacl_386.s
src/pkg/syscall/time_nacl_amd64p32.s
src/pkg/syscall/time_nacl_arm.s

index f4ef1e62f2d882a908e355399ada6fe2b93e64fb..943347216ec7e6c0f3d97c8b02fe75aadd6f9823 100644 (file)
@@ -253,7 +253,7 @@ There may be one or two arguments to the directives.
 If there are two, the first is a bit mask of flags,
 which can be written as numeric expressions, added or or-ed together,
 or can be set symbolically for easier absorption by a human.
-Their values, defined in the file <code>src/cmd/ld/textflag.h</code>, are:
+Their values, defined in the standard <code>#include</code>  file <code>textflag.h</code>, are:
 </p>
 
 <ul>
index a994367351c30f00edc63ac45b58c960d426afcd..2e857559b88660ccc0dce33330bd3d8ae768ce49 100644 (file)
@@ -1115,12 +1115,15 @@ install(char *dir)
 
 nobuild:
        // In package runtime, we install runtime.h and cgocall.h too,
-       // for use by cgo compilation.
+       // for use by cgo compilation. For assembler source, we also
+       // copy cmd/ld/textflag.h.
        if(streq(dir, "pkg/runtime")) {
                copy(bpathf(&b, "%s/pkg/%s_%s/cgocall.h", goroot, goos, goarch),
                        bpathf(&b1, "%s/src/pkg/runtime/cgocall.h", goroot), 0);
                copy(bpathf(&b, "%s/pkg/%s_%s/runtime.h", goroot, goos, goarch),
                        bpathf(&b1, "%s/src/pkg/runtime/runtime.h", goroot), 0);
+               copy(bpathf(&b, "%s/pkg/%s_%s/textflag.h", goroot, goos, goarch),
+                       bpathf(&b1, "%s/src/cmd/ld/textflag.h", goroot), 0);
        }
 
 
index 00df6b2915344957941e8f0c80c7e8990c9ff1ba..591eb1620aa1649c9f2c4c10e99b83e084a0b0b1 100644 (file)
@@ -1613,8 +1613,10 @@ func (gcToolchain) gc(b *builder, p *Package, archive, obj string, importArgs []
 }
 
 func (gcToolchain) asm(b *builder, p *Package, obj, ofile, sfile string) error {
+       // Add -I pkg/GOOS_GOARCH so #include "textflag.h" works in .s files.
+       inc := filepath.Join(goroot, "pkg", fmt.Sprintf("%s_%s", goos, goarch))
        sfile = mkAbs(p.Dir, sfile)
-       return b.run(p.Dir, p.ImportPath, nil, tool(archChar+"a"), "-trimpath", b.work, "-I", obj, "-o", ofile, "-D", "GOOS_"+goos, "-D", "GOARCH_"+goarch, sfile)
+       return b.run(p.Dir, p.ImportPath, nil, tool(archChar+"a"), "-trimpath", b.work, "-I", obj, "-I", inc, "-o", ofile, "-D", "GOOS_"+goos, "-D", "GOARCH_"+goarch, sfile)
 }
 
 func (gcToolchain) pkgpath(basedir string, p *Package) string {
index 8a579b70272af63388b5e57695513d3ed5a2aaee..fd9e94da4e67c443e76faf2ebd6b39c58bfad174 100644 (file)
@@ -4,7 +4,7 @@
 
 // Test of section-named symbols.
 
-#include "../../ld/textflag.h"
+#include "textflag.h"
 
 TEXT start(SB),7,$0
        MOVQ $autotab(SB),AX
index 0d492c5af2b71af7e021e4a6be6c63833fd73354..c3e55ef49a9f1493f598182f2b426c6ec9584633 100644 (file)
@@ -5,7 +5,7 @@
 // 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 "../../ld/textflag.h"
+#include "textflag.h"
 
 TEXT text_start(SB),7,$0
        MOVQ $rodata_sym(SB), AX
index 5c22881e986f1ee62292b1b38066b2426935135e..6a6e6ac4b9d5821a97e54262d6158c963907b4cc 100644 (file)
@@ -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
index e5c27ac9aa56d0de5d73d542254b27bf2cf2aa83..8e426d148fa069234da7bc93188b2f621aacb6f6 100644 (file)
@@ -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.
 //
index 178e49cd8ecf73bc5c5dd0c1439d557c55a47f57..a3ae7d97b23d8a69f91a53959c850f03f8e6da54 100644 (file)
@@ -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.
 //
index a78a3f6100e76990b72d5c633e2cf143cf965162..d918a67c51406ad91ecb3867a3d2e704a4eb2bf2 100644 (file)
@@ -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.
 //
index e644bfcd6133dd1b8aee07be1fe93c78e5e56c7b..3b26e549b9563986d4b929d4a42f494477f1b3f5 100644 (file)
@@ -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
index b04fc1fb83a5b35a961e4f24f1d895a063f0e4d6..54221036bac8102b9799e5183b4e66fb6d41015a 100644 (file)
@@ -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
index e3234b6c7ee7f9fc8120e0d9fd6dea44f83f460e..57d941c8f3cc757c1db5adf6308d8cb73e3153e9 100644 (file)
@@ -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:
 //
index 27d8495071e3aafa67d6ba105ba853cfdf3c52c9..970b34e08eff6f010615c06efe091e63cb0f3a29 100644 (file)
@@ -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:
 //
index b9ac72301c0b363618fa921cd7e0858bba4ea91b..51be3bf95b3aa34207e96a0be719a652ab5b3156 100644 (file)
@@ -4,7 +4,7 @@
 
 // +build !nacl
 
-#include "../../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Registers
 dst = 0
index 688851c31e493b00141b5a037ad7f52652d7c445..a0adabc3c37302ba949c18fcec89fb909dbcc696 100644 (file)
@@ -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.
 //
index 8ffb9d5d6801e7ef4fd6589b035213436f74a72d..4319df63e169b931f680fc9ddb94f886db08a598 100644 (file)
@@ -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.
 //
index 3c589d94fe01ebbd9ba1ff5e02b9c3c563fc8f24..d93fbf1ed35d1766d277dcd2122f74bd8c3fbe91 100644 (file)
@@ -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.
 //
index 5917e8b24b1f15fa6f236c4656a318d388d88494..f11f33dc33e1bf3d01e26e90cdb027c63b937abd 100644 (file)
@@ -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.
 //
index 95aebbe7626073584ddf50626e42e5a207424997..868eaed48965be4886ff6b8e3339881d3363422f 100644 (file)
@@ -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.
 //
index 344d8d2c3e999b55b6b3113f81d7fc3e2f1ac791..2e10233de1d088044213a4db135b26ab12ba0a55 100644 (file)
@@ -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.
 //
index 95dc8bf41bc5d87ed0b07963ede37fca8adee57f..30b0d0691c3c4c1301a7790c6238449e500c8c8e 100644 (file)
@@ -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
index e34f20867776240289d39bc007c728ebc27a9e84..b6770eba3e5dc8f51b8b3d3c6454c2dd0c7defc2 100644 (file)
@@ -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
index 3490cf66c77a115d45e769acb47a129246392238..f30a439c26bd065d4e14b3ef42f5a96e8aac9213 100644 (file)
@@ -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
index 779c8f5484053a660970e941c90ce1275ce463b7..0424eb5fad69967229a8b633f5e646ee1c7a9527 100644 (file)
@@ -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
index b5117ab39c21b4432ab46f7c8a451d37e1d19290..bfa77eb491e151ba55f286a22a5005759322f3ad 100644 (file)
@@ -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
index 2c1d2709488a2f9e2c3f621a8cf043a9e10486a8..4f34e123ef47054078459fe4f7a83647f2815737 100644 (file)
@@ -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
index ea48104ac6417a88cb9b996257ca5bccc8a39331..1a43d489b5bbde6a99947421364d2004586a1de0 100644 (file)
@@ -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)
index b90526003e128466b39cef52901570c94e7cfe30..8fe03b61d847bf4935bbd20281679808ce12fa5a 100644 (file)
@@ -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)
index fb649316a05ab57eec366d78f59368bee3df9074..31a74e7262c12f5305cfba6c9240a23b5b21b282 100644 (file)
@@ -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
index f7a5a11d469450cb65982c716f717c886273cfbe..fc471f76c5d6157bf85bc299aab83ce1a2b6acb4 100644 (file)
@@ -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)
index 24bff2c03d213d056ea0ce880821bb140eded902..06c12ecbc4b3764e7bc568e4d8cda081ebc950f7 100644 (file)
@@ -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)
index aad8ffcec734b6314f5ebb83ecc2d7b568177689..f3976b1d35095e5cb12a2d360f061df34566530d 100644 (file)
@@ -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
index fc4a91b0deb4c166de6d17f1005ced4cc899ee17..b801ae99d2eced737684e1024b0a5ef7c46f3495 100644 (file)
@@ -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)
index defa93a1ede86056e63acdbb6482a8a1bea6e8d6..d190a8bb0c3514a24770126ec9442aed1c625bc0 100644 (file)
@@ -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)
index 15b036c6578e44c6994b3a8e177d407cf880cf78..1b47c898f91ee417ae1b82d58a297a49db354583 100644 (file)
@@ -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.
index e2113a7e3a9321bc1feb26c0e7c87dfd6a08c93b..56c4cb050e4f00cc9a55996281c1905ee891c3e0 100644 (file)
@@ -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.
index 227870a005ed022407e807d8c5d1b2d696ad2e6b..908dbbdc5856c530dd0ef727c1063e0505c78b4c 100644 (file)
@@ -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)
index 8d36761c4cd414078f3ea5d233026ff81bcb6542..a4c51c2127f07aab622c4bd36fd0db9c97a30125 100644 (file)
@@ -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.
index f715114c43661f2f097465fcfbd7c2b39f36c264..c8194fed83b76c43706ebab0ad373e9932ac6059 100644 (file)
@@ -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)
index 38423ef028c58082b8239e456f849ffca87852c6..622cc3fbad3012d808728cc41435d55bd2a94eac 100644 (file)
@@ -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
index 162f08cda58c2d280ac5d144bf59f62f7dfbbc16..be6695068741ab6866ae65954fbe25cc0e3d09bc 100644 (file)
@@ -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)
index 71959d94dde92501c7ef9770440c9fc35be58157..7d11920c2d4db71ef85ae27383273cf152a3061b 100644 (file)
@@ -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
index 77a53dad4e02b01bfcf273f4f2bce7133a08e1ea..903c8358964f7150c9750be1427ab879eee21dde 100644 (file)
@@ -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)
index fe51f25226ec95ff5456fa398f64f4db4aaa4ab8..58283cd0825bc4d71a4bb085fceec7e07c802eee 100644 (file)
@@ -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)
index af2d680d55031de48be91d9e2ff89b8fca4fed3b..6a478a5e6006d47f1700d5682d0f3d7804271e7d 100644 (file)
@@ -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
index 070b45264a811f8fb8fe84ca03edaba5017fb79a..d9cf8fd86c3d64730666e0ef420b1406fe15816e 100644 (file)
@@ -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.
index 130b502ac17f583d189fcf5fe57edc667a9368f4..ce36d03caa424630a3bd37369272d0e2b7b2d4db 100644 (file)
@@ -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)
index b268c58c638f3e08a18fdc2a3b3057c70acea5f9..a48ca8a58a001094edc21ca3d412477ca4689519 100644 (file)
@@ -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
index 66a75b3d558fbfd2b60be7a6670a5d0ef653c3e8..b7d5a3be013fa120ed5dd694fe1014ddd1aa89af 100644 (file)
@@ -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)
index 838744447f1ba89c4eb3c9c2d598782b84190667..5f80d872f3f935b55a761540eb13f5bb4c25e3e8 100644 (file)
@@ -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)
index 37d5a4559fc1bf8bdb8ec454d9dcbb2535f39194..31c9b174d6ef06418499689383b8446f897bcd3c 100644 (file)
@@ -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
index 2fd31c4fae400adcbdf5bc3468d33f60bb8fd881..67b7cdec04e880c73a514e4384c3ed8a7b56c6b3 100644 (file)
@@ -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
 
index cb3b98e95c39dd10812a80a86a8b0ddd40128daf..59091765b3b1988f59b87fd0f5c97f1821f47411 100644 (file)
@@ -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)
index c6d0a80edae20420e38701f9515a404366fcd7f4..5bff7e215693e751975991e078c15eed5d5060ee 100644 (file)
@@ -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
index 03d1012433ffa5458278d83436d65e610deafd7c..93a321039b8b963f73333bef2e1302a2789587ba 100644 (file)
@@ -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)
index 9d40ae46a666e9e448d7e0625e0e988ada946359..7842eca59b539bc484fa1ff9a932e28ab8343d63 100644 (file)
@@ -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)
index eec1bf5548e1d0b7803f5ff1e2872bf5f3dfc0f6..d321f465b4b5af739460f3090db9fea196d778c8 100644 (file)
@@ -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
index 5c0ff4dd835abb0bd4fec30785f6d3af9c9c550c..a68eebc8ca619810107fac75a91c0afa89e89ebb 100644 (file)
@@ -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
index 2562aa8306bfca09223f8d738b6191852b9583ee..9c8abca13071a84bed98267eafe14bbb7aef8c50 100644 (file)
@@ -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)
index baf377ead6128880e482f7c352df3cb489a37804..ac8e8ba5409520a1274bef266789b43240532caf 100644 (file)
@@ -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
index c7fc226efab1f89345f95adefe55566d445c53a1..6063a648079b7aa3e2acff2db91df368f40d31a9 100644 (file)
@@ -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)
index 16744ea57dc9a3426cdd959f02bca1856fec0569..fcffa2e0facd99d54a00956f51576fd4e094a26b 100644 (file)
@@ -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)
index 4ae069da62d46d95d05895481286a41ceb56684c..2897f3c1552807abee6fcaa01e0b9645d6be4b58 100644 (file)
@@ -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
index b9ae8326896cf398d6431165a137f2718bc83358..8382ba7ae59319f1b435a972368d4cf45e22b0ec 100644 (file)
@@ -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)
index fa7580f6fbbbb62f82797b396c1fb8bf5a83df34..dbcb8351cf0c29d61a3ada6c4d1ea6107c3464fa 100644 (file)
@@ -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)
index 3b30fd5b7fb2f506dfc79eaa71e4589f7e2900e8..1c2d683a8f8395ec1ce99b6e88ff30589084973e 100644 (file)
@@ -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
index 48c24f41f27932af66cd96c6f1b0fd9cb33fd2a6..1e58fb110dc5863589c3c351095a18b2b4e80a52 100644 (file)
@@ -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)
index fd2740d0dde680e33f7ef8c59a6c5bb1ea8bc48d..95d5496788d8f32a4b4f13cabcfcccd5def09978 100644 (file)
@@ -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)
index 21a0633b19c53a30c0d949d3763d0bf9d63b912b..ff998afb47ad470f019b5202988512fd3a586f8b 100644 (file)
@@ -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
index dffc5aec88335c2a54c0d9e14a074378466938ae..84c60ab4dee74243504cdd45e4249088eaa6eec7 100644 (file)
@@ -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
index 28448aeefc61690c4d2ef02a769fffa9a6689bcd..e21d0366e92ede9ab1e9873a194ad7a4657ef126 100644 (file)
@@ -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)
index 9b3b6bd06fec13e5bc7e0ad4b9241d4ec7fd7680..10ad98be3e81a31c7c8ff405453a73bb9bb37df5 100644 (file)
@@ -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
index bef83fcf7f71bf98ac7d18052ccb5912234e6691..f99dbe29312d749bedee76740208db554db5d62b 100644 (file)
@@ -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)
index 1f51588f8dfe87e90e665b971c031f1fbc87a99e..5afb3594ddabbc2de11cd692208c2f595d522826 100644 (file)
@@ -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)
index 07a0dc5cfe997e2be54e2891265fe88ab5c70a65..3debd3b95dbdf8b767fbc9db1c576d0c548e0276 100644 (file)
@@ -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
index 05feb4bf90c965ec97990ba22f7bded73d52295b..701cf72a3b4d892a6529d275fdf9140949a70503 100644 (file)
@@ -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)
index e6bd26d53bd5055aea45987b3f9a03f2fd4071db..ea3c8dc74f58466b97dbb0e1931502a624a810dd 100644 (file)
@@ -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)
index bbe13a0d92724fa142e5c7659f4cce47e07ae63a..318fa2c46572da938774d5ece1fff37c8e6771c6 100644 (file)
@@ -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
index e5e23c7ce315c9f68bcd407bd3175092986bced1..f7fda99d8553085fbad94001ea1a6165e431bb60 100644 (file)
@@ -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)
index 8728afe931087ee7e68fe689a44c0422c4ac4386..1ae597a60e63b8d5a7293c5aee84e66ba14f4545 100644 (file)
@@ -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)
index 09271c0355954f1e2f3dd92552afbf9e52d45013..ccc8e64beedf9da6cfd160d53ec90bfc9d033b88 100644 (file)
@@ -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
index 008bf4be58217af17966bd391c3a73cd4c325f10..0c33cecef3826ca17344fe0e884342a5e28ad45c 100644 (file)
@@ -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)
index a057b4fc9d51f21b953b963623472ffe240996b4..467af3dead035ed714cbf885caf0ab573872e19e 100644 (file)
@@ -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)
index bf964b168119278d7778857abf37b94d8330ea58..83af5016eff3357a4a3038ea78a91bc62fd7381d 100644 (file)
@@ -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
index bccc1ade125e055dd1eb11a5933340cece4a4556..dae636b24872650655402ec0f63e8df155276dc6 100644 (file)
@@ -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.
index b6866af54f22756f84cd079830d36efc8c8200cf..9fe048248b10de58c7db3ce90cdcf53727e053d4 100644 (file)
@@ -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)
index 2d0c786d0c2f3142d019091279b9ddb004ebd7ed..5234a1e881ee0f6c83e90c387f5f6b459a603ed7 100644 (file)
@@ -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
index 1508944c908afa531034f2e80f24aa48eb5d29f6..443d83fe359a0924590dd39d2a7e9e33fcf8cbe8 100644 (file)
@@ -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
index f731ee976d6015f649b16777dde491c8cc7cd645..4f9dc2e038b5f760ad850b30cd5c0aa20c8c6e73 100644 (file)
@@ -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
index 2320326e374a43f7623ead21db72a8d151cbc61a..f1bdae1536bfb5b275deb2008287ebad254f24b3 100644 (file)
@@ -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
index 9fa5f148ef424e00c21335adeedb3146da7d2805..39aa08061ce82381ff4abf6d8ba97d3fb5e16486 100644 (file)
@@ -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)
index 68fea318da6dbca0fff72c0ed7ca75a21f7e4285..36c7c128f6b47759e36c78f6514e35803fd2f428 100644 (file)
@@ -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)
index f860924aa0b697b28fc52cdedbc464883984bdfe..d54c284b5e9d90be76d6cb37e4aa79b74204d49b 100644 (file)
@@ -6,7 +6,7 @@
 
 // +build amd64 amd64p32 arm 386
 
-#include "../../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #ifdef GOARCH_arm
 #define JMP B
index a538624083f10e770fafda97d45c4d658ad498ae..8c84bba43bd0d11c1b6f9e0d7646ad69887976a9 100644 (file)
@@ -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
index 12a8879b79c4e8a63838c9a29010cd78d545308e..195928bff9f52621c28954bf07dc19f6f32ddb45 100644 (file)
@@ -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
index a538624083f10e770fafda97d45c4d658ad498ae..8c84bba43bd0d11c1b6f9e0d7646ad69887976a9 100644 (file)
@@ -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
index 69e4ab4888799a07b8d699b9c7bb114ef1052fe2..fafc6f313ecadcbf41a2c282c3232592bb784849 100644 (file)
@@ -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
index 807c2f873bbdfdc83ee5ca43415f7dac40738fc8..740dfe76bafa3046c0c96c0268bc26637bc68501 100644 (file)
@@ -4,7 +4,7 @@
 
 // +build !race
 
-#include "../../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT ·SwapInt32(SB),NOSPLIT,$0-12
        JMP     ·SwapUint32(SB)
index 77afa129ed5fee5bcb32444f220d8ae5f70cac9d..6e53ebedd2ddbc058adad09f945f4efc8531d5d1 100644 (file)
@@ -4,7 +4,7 @@
 
 // +build !race
 
-#include "../../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT ·SwapInt32(SB),NOSPLIT,$0-20
        JMP     ·SwapUint32(SB)
index b24ae7a59eac54c60392541d02d4104aa0be05c3..d77cc2c0888a90538fd3fe56274a61d9ca03940d 100644 (file)
@@ -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)
index 7c8620a51b606e5209d7efe787b233edc7e326c7..47639a80ea434e4306dfff30c5d765c808cdb381 100644 (file)
@@ -4,7 +4,7 @@
 
 // +build !race
 
-#include "../../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // ARM atomic operations, for use by asm_$(GOOS)_arm.s.
 
index db37f73bc44ce8b622639d49593e23e3f3fc373f..06b975e897a0ba3c2de0e8391c8de698141eadd8 100644 (file)
@@ -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.
index 27be57aa1d7c3d068c58666385ba2eb7cd862ba3..bfcfd797793ca5dd4d2677fa715052bbfe1bb8c4 100644 (file)
@@ -4,7 +4,7 @@
 
 // +build !race
 
-#include "../../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Linux/ARM atomic operations.
 
index 084ab71f8297a5ea29fb0cfea5ec899dae121ca5..76f6233364511c3eb44c67d2225a5da76d697391 100644 (file)
@@ -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.
index 64f4dbe714b8310408cc70173c1f89eb78f19044..dbe80898fd4cf4d8b5b955422c24925f83dd498c 100644 (file)
@@ -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.
index 9b4dfa81df8b8de97db2bc9ba488e74f2499aeff..dfe94fb526a18d7ca4176ea7796e20717f4c3ad2 100644 (file)
@@ -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
index 19ea05be722651d75813f3abe00cf23a8943ea17..d6f1c96f5f32f13e7dd1710918040e80f840751c 100644 (file)
@@ -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
index d24216fddc271c6299a0e7217fca727bdf8ea951..37d655fba913f56322ed2ae4b22faa32e6cbdb4d 100644 (file)
@@ -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
index 31d107490ac200ee354aaf68ec560243a2e4a812..c8434f96b737d009ef6ea788c1dff6a12f5eb4b7 100644 (file)
@@ -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
index 91a46b1062aaa1e5f6b635f9ffd5783e60fb28ae..f50b5a09bfd328cb8e903c6915def04c68864aec 100644 (file)
@@ -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
index 7abb36828a36cf6d268a75c2becfb2b9e1df8b08..58cbfe1a993dddfc7f99af0af5816e776418ccef 100644 (file)
@@ -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
index c01ce6febf5dac274e74da4bf23ffe64fe1d9f47..5eb40334b988529b7006d4f6f43214460ff24e57 100644 (file)
@@ -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
index 30b22073df3db35c542b4d57af4bc779c46ff598..05cf89aa22416268375648bdda26f7ea67632131 100644 (file)
@@ -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
index 995b60ecd0bd9a23a4c064739021505c8073ecec..514693283bd8b222b32a394ca40b2e68011f699f 100644 (file)
@@ -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
index a28bc6cfc0e966386dc38ad0bb4b2e41e92cbce2..014fa618f6f9a5a637270e2fcc1bd6ac02dd2a55 100644 (file)
@@ -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
index de7c3cc5da6ef9218660c23c0832ca94f1a1aedc..3c86decd39c977b71ad312f9dc8e114fb9a280c4 100644 (file)
@@ -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"
 
 //
index de030ec806befe65dd3a92fdd3ea21d0893b2653..b91e09bd6df39bcce22d83a4c118d166aafad233 100644 (file)
@@ -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"
 
 //
index ffc48ceaa8f30f47100ad6b22ab9612a27a37f03..cc4b9cd2d657fed1a8d371aa6db4fe6315f0a5f9 100644 (file)
@@ -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"
 
 //
index 40b30b405318796511ce034c82d56ba606cf73b3..c58263254a2cbb46998ecd0c464763ba9aa4bc4a 100644 (file)
@@ -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
index 94ad0284adc82bc155bbeeeccb5357cba78f97f2..8285382ce2463aaafdbc5273a420b3053b461571 100644 (file)
@@ -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
index 2c0d65401ae3e6602fb3817d73e05340d91c5d63..b06118049174cbbe065d03dd771ab3019ccdec1d 100644 (file)
@@ -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
index 7dd2e373f7e3e169811189dc8aa1ca196caf8959..17fbb65c80965e1b8c9d135321d7467b2d360cd0 100644 (file)
@@ -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
index e127bf220cf4e9443ca194ac29d254311b3382f6..fe61482cd5ce82c30d0cbbed989707b27c17038a 100644 (file)
@@ -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
index f8c07c407af61d822788d80a5daa9b41710778ed..aaa8b9a69213dc1f422bc99a269004c3490c198c 100644 (file)
@@ -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
index 220ea680022b80ac399306d6ea2c19f292d5ba82..22dc5f9576f62cf9dfc1823c4749a31597348d45 100644 (file)
@@ -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
index b5a22d31b5a12499a4dd75f6c80bc7113b0d87b7..c0c89dccc0fba2c5b001cef64d490462aa7618dd 100644 (file)
@@ -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)
index b5a22d31b5a12499a4dd75f6c80bc7113b0d87b7..c0c89dccc0fba2c5b001cef64d490462aa7618dd 100644 (file)
@@ -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)
index 99baaf59b62a193f1470fdccb947755ad329fe0e..4f4b4d89aef295e2ce6424d50070f1ab9d1a0e20 100644 (file)
@@ -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)