]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: use new #include "textflag.h"
authorRuss Cox <rsc@golang.org>
Fri, 5 Sep 2014 03:05:18 +0000 (23:05 -0400)
committerRuss Cox <rsc@golang.org>
Fri, 5 Sep 2014 03:05:18 +0000 (23:05 -0400)
I did this just to clean things up, but it will be important
when we drop the pkg directory later.

LGTM=bradfitz
R=r, bradfitz
CC=golang-codereviews
https://golang.org/cl/132600043

106 files changed:
src/pkg/runtime/asm_386.s
src/pkg/runtime/asm_amd64.s
src/pkg/runtime/asm_amd64p32.s
src/pkg/runtime/asm_arm.s
src/pkg/runtime/atomic_386.c
src/pkg/runtime/atomic_amd64x.c
src/pkg/runtime/heapdump.c
src/pkg/runtime/malloc.c
src/pkg/runtime/mem_darwin.c
src/pkg/runtime/mem_linux.c
src/pkg/runtime/mem_nacl.c
src/pkg/runtime/mem_netbsd.c
src/pkg/runtime/mem_openbsd.c
src/pkg/runtime/mem_plan9.c
src/pkg/runtime/mem_solaris.c
src/pkg/runtime/mem_windows.c
src/pkg/runtime/memclr_386.s
src/pkg/runtime/memclr_amd64.s
src/pkg/runtime/memclr_arm.s
src/pkg/runtime/memclr_plan9_386.s
src/pkg/runtime/memclr_plan9_amd64.s
src/pkg/runtime/memmove_386.s
src/pkg/runtime/memmove_amd64.s
src/pkg/runtime/memmove_arm.s
src/pkg/runtime/memmove_nacl_amd64p32.s
src/pkg/runtime/memmove_plan9_386.s
src/pkg/runtime/memmove_plan9_amd64.s
src/pkg/runtime/mgc0.c
src/pkg/runtime/msize.c
src/pkg/runtime/os_darwin.c
src/pkg/runtime/os_dragonfly.c
src/pkg/runtime/os_freebsd.c
src/pkg/runtime/os_freebsd_arm.c
src/pkg/runtime/os_linux.c
src/pkg/runtime/os_linux_386.c
src/pkg/runtime/os_linux_arm.c
src/pkg/runtime/os_nacl.c
src/pkg/runtime/os_nacl_arm.c
src/pkg/runtime/os_netbsd.c
src/pkg/runtime/os_netbsd_arm.c
src/pkg/runtime/os_openbsd.c
src/pkg/runtime/os_plan9.c
src/pkg/runtime/os_solaris.c
src/pkg/runtime/os_windows.c
src/pkg/runtime/panic.c
src/pkg/runtime/proc.c
src/pkg/runtime/race.c
src/pkg/runtime/race_amd64.s
src/pkg/runtime/rt0_android_arm.s
src/pkg/runtime/rt0_darwin_386.s
src/pkg/runtime/rt0_darwin_amd64.s
src/pkg/runtime/rt0_dragonfly_386.s
src/pkg/runtime/rt0_dragonfly_amd64.s
src/pkg/runtime/rt0_freebsd_386.s
src/pkg/runtime/rt0_freebsd_amd64.s
src/pkg/runtime/rt0_freebsd_arm.s
src/pkg/runtime/rt0_linux_386.s
src/pkg/runtime/rt0_linux_amd64.s
src/pkg/runtime/rt0_linux_arm.s
src/pkg/runtime/rt0_nacl_386.s
src/pkg/runtime/rt0_nacl_amd64p32.s
src/pkg/runtime/rt0_nacl_arm.s
src/pkg/runtime/rt0_netbsd_386.s
src/pkg/runtime/rt0_netbsd_amd64.s
src/pkg/runtime/rt0_netbsd_arm.s
src/pkg/runtime/rt0_openbsd_386.s
src/pkg/runtime/rt0_openbsd_amd64.s
src/pkg/runtime/rt0_plan9_386.s
src/pkg/runtime/rt0_plan9_amd64.s
src/pkg/runtime/rt0_solaris_amd64.s
src/pkg/runtime/rt0_windows_386.s
src/pkg/runtime/rt0_windows_amd64.s
src/pkg/runtime/runtime.c
src/pkg/runtime/softfloat_arm.c
src/pkg/runtime/stack.c
src/pkg/runtime/string.c
src/pkg/runtime/stubs.goc
src/pkg/runtime/sys_darwin_386.s
src/pkg/runtime/sys_darwin_amd64.s
src/pkg/runtime/sys_dragonfly_386.s
src/pkg/runtime/sys_dragonfly_amd64.s
src/pkg/runtime/sys_freebsd_386.s
src/pkg/runtime/sys_freebsd_amd64.s
src/pkg/runtime/sys_freebsd_arm.s
src/pkg/runtime/sys_linux_386.s
src/pkg/runtime/sys_linux_amd64.s
src/pkg/runtime/sys_linux_arm.s
src/pkg/runtime/sys_nacl_386.s
src/pkg/runtime/sys_nacl_amd64p32.s
src/pkg/runtime/sys_nacl_arm.s
src/pkg/runtime/sys_netbsd_386.s
src/pkg/runtime/sys_netbsd_amd64.s
src/pkg/runtime/sys_netbsd_arm.s
src/pkg/runtime/sys_openbsd_386.s
src/pkg/runtime/sys_openbsd_amd64.s
src/pkg/runtime/sys_plan9_386.s
src/pkg/runtime/sys_plan9_amd64.s
src/pkg/runtime/sys_solaris_amd64.s
src/pkg/runtime/sys_windows_386.s
src/pkg/runtime/sys_windows_amd64.s
src/pkg/runtime/syscall_solaris.goc
src/pkg/runtime/thunk.s
src/pkg/runtime/tls_arm.s
src/pkg/runtime/vlop_386.s
src/pkg/runtime/vlop_arm.s
src/pkg/runtime/vlrt.c

index 40271567b0f127c9c5aa2acb3aceb9abfbe00feb..25911a5b9ccb8dd32f22f790d583368cef2b1513 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "zasm_GOOS_GOARCH.h"
 #include "funcdata.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT runtime·rt0_go(SB),NOSPLIT,$0
        // copy arguments forward on an even stack
index 9103ef29e3c88338540ced5ca5d50c3edc620e94..962074582d8908efc0b76e59210786a02396d9f2 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "zasm_GOOS_GOARCH.h"
 #include "funcdata.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT runtime·rt0_go(SB),NOSPLIT,$0
        // copy arguments forward on an even stack
index a0e63b4405877f0ff4a2d7107126527aea8a2047..64a436495feec5128f6c75710ef7fb62dace82cc 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "zasm_GOOS_GOARCH.h"
 #include "funcdata.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT runtime·rt0_go(SB),NOSPLIT,$0
        // copy arguments forward on an even stack
index 3869696f60b8d9842de61a362d2668caff75985b..9e68e099e2302eb643cea2f3a4ecb4d24d7745e6 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "zasm_GOOS_GOARCH.h"
 #include "funcdata.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // using frame size $-4 means do not save LR on stack.
 TEXT runtime·rt0_go(SB),NOSPLIT,$-4
index d7162a1b8b6e5a702313f6cdf1faa1bfb44828d3..82d36f2d9677923d95fb6971944f6412ca475fa6 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 #include "runtime.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #pragma textflag NOSPLIT
 uint32
index 11b57893639cfe14f35b9c01280431f74a18be82..7be57ac95acfa491b615130ac1db14bbb70fcd9b 100644 (file)
@@ -5,7 +5,7 @@
 // +build amd64 amd64p32
 
 #include "runtime.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #pragma textflag NOSPLIT
 uint32
index 83c2be2ac79cb784b3d2764b4188b1b4ff3bfb43..d07fdb29bcf9f92f09b45a48ed05ffa3dff6bd19 100644 (file)
@@ -17,7 +17,7 @@
 #include "typekind.h"
 #include "funcdata.h"
 #include "zaexperiment.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 extern byte runtime·data[];
 extern byte runtime·edata[];
index 86846f3e6d3351ed5507813906235b4c0e4258b2..752ff60f37b3fa2299fa3a83a9cec642409077bd 100644 (file)
@@ -13,7 +13,7 @@
 #include "typekind.h"
 #include "race.h"
 #include "stack.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Mark mheap as 'no pointers', it does not contain interesting pointers but occupies ~45K.
 #pragma dataflag NOPTR
index 72a2d18ad6c4701506dfde2a1aa650031bd8ed79..bf3ede5778c83057ffc478dd7e4867cf35d7fec4 100644 (file)
@@ -7,7 +7,7 @@
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
 #include "malloc.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #pragma textflag NOSPLIT
 void*
index 01e7707bbcae6d5061b7ad88ea6ab362e4c1c5ad..bfb405607eaf6b3105873fb7d86f34f85a2291db 100644 (file)
@@ -7,7 +7,7 @@
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
 #include "malloc.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum
 {
index 968fe8da5426b3acc5402c6d154afd9379060d2f..6c836f18a7fa4cf83b4e5dadcb71ea496da4e6f7 100644 (file)
@@ -7,7 +7,7 @@
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
 #include "malloc.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum
 {
index 8d04c832cec9328329bc84614bc915b67effe2f3..31820e5170973086336fe47ea4b637a225d7a09c 100644 (file)
@@ -7,7 +7,7 @@
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
 #include "malloc.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum
 {
index 8d04c832cec9328329bc84614bc915b67effe2f3..31820e5170973086336fe47ea4b637a225d7a09c 100644 (file)
@@ -7,7 +7,7 @@
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
 #include "malloc.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum
 {
index 4f753adb4d50a53ae75034d7e9e848b4f91d08bc..402869f393d1aca6f1f76887b1701590aaf46c4e 100644 (file)
@@ -7,7 +7,7 @@
 #include "arch_GOARCH.h"
 #include "malloc.h"
 #include "os_GOOS.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 extern byte runtime·end[];
 static byte *bloc = { runtime·end };
index 01cbe9e1a4f6dac34076d1d45355a3cbda388b64..8e90ba1d9e48890002e43266fffbbce4e5d13d85 100644 (file)
@@ -7,7 +7,7 @@
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
 #include "malloc.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum
 {
index 33ce003d28a523d58ba417edb71e0c10daae52a4..7bc028bf3a5445017c972dc8eebb7bcf99ee4c76 100644 (file)
@@ -7,7 +7,7 @@
 #include "os_GOOS.h"
 #include "defs_GOOS_GOARCH.h"
 #include "malloc.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum {
        MEM_COMMIT = 0x1000,
index aeabad413e3d89a168c6266f55b43bc8578bc15a..8b163923e9ad00b6cbc1a554b46d3f06edecedaf 100644 (file)
@@ -4,7 +4,7 @@
 
 // +build !plan9
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // void runtime·memclr(void*, uintptr)
 TEXT runtime·memclr(SB), NOSPLIT, $0-8
index 01c6a415c0ce688dce7bf2015e214fe42204596e..35b3b4beefb3d2f8ea5a66d730bdaa1fdf488971 100644 (file)
@@ -4,7 +4,7 @@
 
 // +build !plan9
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // void runtime·memclr(void*, uintptr)
 TEXT runtime·memclr(SB), NOSPLIT, $0-16
index b19ea72a3f1ed39665c3c4a62a0603eb4ecba36a..1824d33b14b1c307c9a87477920cb792dba90b19 100644 (file)
@@ -23,7 +23,7 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TO = 8
 TOE = 11
index ed5dbbd3c63c97fa871b00a6fecbe9d6e3f4cf9c..b4b671f773e3f07a4322c64a924a03e0c6fb9434 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"
 
 // void runtime·memclr(void*, uintptr)
 TEXT runtime·memclr(SB), NOSPLIT, $0-8
index 64f3c992efc13a44541b7fae103bf34c2ea203bb..37e61dfbccf5930b38887c222f36dbee58601dd5 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"
 
 // void runtime·memclr(void*, uintptr)
 TEXT runtime·memclr(SB),NOSPLIT,$0-16
index 51b08d56d3384297b036c3333419654499db9fa1..4c0c74c1afa28c078b3caa7bf572245010696f55 100644 (file)
@@ -25,7 +25,7 @@
 
 // +build !plan9
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT runtime·memmove(SB), NOSPLIT, $0-12
        MOVL    to+0(FP), DI
index 339c5dd4104eb76fe03403020bd77d9a022631db..f9684353400aea2b4218d5ac8a8c4dbc168baa6e 100644 (file)
@@ -25,7 +25,7 @@
 
 // +build !plan9
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // void runtime·memmove(void*, void*, uintptr)
 TEXT runtime·memmove(SB), NOSPLIT, $0-24
index 9701dc99f2ccbf450658fec75b7c0418567785b6..f187d42678d81603c98db52e3f49e1f4b1c6f4e1 100644 (file)
@@ -23,7 +23,7 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // TE or TS are spilled to the stack during bulk register moves.
 TS = 0
index ba47e85461e77b9cd43e77e2aea7e26ad26fe52c..373607afec194a081671c5560a37d9bb28c64e28 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 runtime·memmove(SB), NOSPLIT, $0-12
        MOVL    to+0(FP), DI
index 4d5f7c6907c55ec7cdc7f1aacffb77e4010b22b4..025d4ce1bf4e98bb6ebb4638c7e58dfdff0bffd5 100644 (file)
@@ -23,7 +23,7 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT runtime·memmove(SB), NOSPLIT, $0-12
        MOVL    to+0(FP), DI
index 035d475ac807a7e743622da3e8a536dbf3d8f05b..8e96b87175db2116eabcebae032890ae35ffcb0a 100644 (file)
@@ -23,7 +23,7 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // void runtime·memmove(void*, void*, uintptr)
 TEXT runtime·memmove(SB), NOSPLIT, $0-24
index 05e555b8a42dad85822a297ef24b6d459972d93b..55c38a7e5bf588ddef97393b5e6e7946ca2739f9 100644 (file)
@@ -60,7 +60,7 @@
 #include "type.h"
 #include "typekind.h"
 #include "funcdata.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum {
        Debug           = 0,
index 2fbd5e1042c9a08518c38538641d8451e8dfacb2..7cb65dad0d29ebb55224f8db31639f73f125aea7 100644 (file)
@@ -28,7 +28,7 @@
 #include "runtime.h"
 #include "arch_GOARCH.h"
 #include "malloc.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #pragma dataflag NOPTR
 int32 runtime·class_to_size[NumSizeClasses];
index 466591877d3ad0d9e9a1e810d540befe32b3c0e3..536f688cf188cf6e34b10874f1d0960d80cb7b98 100644 (file)
@@ -7,7 +7,7 @@
 #include "os_GOOS.h"
 #include "signal_unix.h"
 #include "stack.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 extern SigTab runtime·sigtab[];
 
index 7bde58f756013fa5f42a68fb9007feca140f396f..d470f7c78cb021ccc628facdd81c2444dda9ad1e 100644 (file)
@@ -7,7 +7,7 @@
 #include "os_GOOS.h"
 #include "signal_unix.h"
 #include "stack.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 extern SigTab runtime·sigtab[];
 extern int32 runtime·sys_umtx_sleep(uint32*, int32, int32);
index 4c58b531ce931ed695491d088d9e64186af42df4..aae944ea11ff5e0b0b0e05b4c41ecf7433192dd8 100644 (file)
@@ -7,7 +7,7 @@
 #include "os_GOOS.h"
 #include "signal_unix.h"
 #include "stack.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 extern SigTab runtime·sigtab[];
 extern int32 runtime·sys_umtx_op(uint32*, int32, uint32, void*, void*);
index 1fa235b01d14e129133a7630e8ae4d2773c4eb5a..2f2d7767f2ed0c4720c8947b06d934ca734c7458 100644 (file)
@@ -5,7 +5,7 @@
 #include "runtime.h"
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 void
 runtime·checkgoarm(void)
index 7ab4858d9a30111bb2b86e92837ccdbeef4355e2..66e7bcec05d3263b8efb8c8ae8958d34de3a2a66 100644 (file)
@@ -7,7 +7,7 @@
 #include "os_GOOS.h"
 #include "signal_unix.h"
 #include "stack.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 extern SigTab runtime·sigtab[];
 
index ad72814649991424a945e3e1cee3f7cdad2f61fa..dc89d04e2848c4816141c1e93c7fb2f6ca47fcc8 100644 (file)
@@ -5,7 +5,7 @@
 #include "runtime.h"
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #define AT_NULL                0
 #define AT_RANDOM      25
index aad08b989005842bd1bd0660fde81ce29b244b1a..e3eda7c2d1b3166c161f1aef7738ffeb0393e9cb 100644 (file)
@@ -5,7 +5,7 @@
 #include "runtime.h"
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #define AT_NULL                0
 #define AT_PLATFORM    15 // introduced in at least 2.6.11
index fba32e568728eec665874105a07ce3c7c21398bb..37a1fcca0d1e11e77e77e078eee97e980da0d5c7 100644 (file)
@@ -6,7 +6,7 @@
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
 #include "arch_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 #include "stack.h"
 
 int8 *goos = "nacl";
index c94b2c78a6ec17ab7ca4fd6eaa708a0422b06ff4..1248ea6449449b68918035794be01842da8a7909 100644 (file)
@@ -5,7 +5,7 @@
 #include "runtime.h"
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 void
 runtime·checkgoarm(void)
index cee96ebed165fb4a659a5cab6671d75ed7939a8a..d6c3bc826180a7dc787b7b7109be0d61b4ccfd90 100644 (file)
@@ -7,7 +7,7 @@
 #include "os_GOOS.h"
 #include "signal_unix.h"
 #include "stack.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum
 {
index e440e7def35854c7fd71afecd569707bc1271b68..9dd4bcdc9ca166dbb9646dfaebf5f533c02b90b6 100644 (file)
@@ -6,7 +6,7 @@
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
 #include "signal_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 void
 runtime·lwp_mcontext_init(McontextT *mc, void *stack, M *mp, G *gp, void (*fn)(void))
index 7c9e478e848cbf12582f3e5d297abffb3489e01d..59abc97b7c33798a2e8f89a74126693f9ebd1eb7 100644 (file)
@@ -7,7 +7,7 @@
 #include "os_GOOS.h"
 #include "signal_unix.h"
 #include "stack.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum
 {
index bae4549a6e1a897565ad369fb33519f5c69e5bf4..f82471079307322ea0685ba532981a0abaa2e378 100644 (file)
@@ -5,7 +5,7 @@
 #include "runtime.h"
 #include "os_GOOS.h"
 #include "arch_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 int8 *goos = "plan9";
 extern SigTab runtime·sigtab[];
index c7ec3f212f5db081113e74539478ba4e039ed375..5e1f7ab0764b9697623bcd9b864a8ff28b828c8c 100644 (file)
@@ -7,7 +7,7 @@
 #include "os_GOOS.h"
 #include "signal_unix.h"
 #include "stack.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #pragma dynexport runtime·end _end
 #pragma dynexport runtime·etext _etext
index 9bf6ecbc64674db9be83f2d362ce6dd48bea8810..885fe63343ab580a3a610d76f6ec23c24bdd2fd0 100644 (file)
@@ -6,7 +6,7 @@
 #include "type.h"
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #pragma dynimport runtime·AddVectoredExceptionHandler AddVectoredExceptionHandler "kernel32.dll"
 #pragma dynimport runtime·CloseHandle CloseHandle "kernel32.dll"
index 72078f43435a6e266ef68062171c36d12a658962..152c9a3d5589952b2c566ef45e15e8a5ea047f64 100644 (file)
@@ -6,7 +6,7 @@
 #include "arch_GOARCH.h"
 #include "stack.h"
 #include "malloc.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Code related to defer, panic and recover.
 
index 3fecfe90e4f50f0efe45eff79269a7ff3612eecc..3c5e244a92260a0dee0693e7b4b89f972614ecef 100644 (file)
@@ -10,7 +10,7 @@
 #include "race.h"
 #include "type.h"
 #include "mgc0.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Goroutine scheduler
 // The scheduler's job is to distribute ready-to-run goroutines over worker threads.
index 125309510bb1fccdd201498ef92f83ce0f0611b3..9ac73fbccf11df09b72b7bf021045dd7fc5ae8c3 100644 (file)
@@ -11,7 +11,7 @@
 #include "race.h"
 #include "type.h"
 #include "typekind.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Race runtime functions called via runtime·racecall.
 void __tsan_init(void);
index a4a9dfeb55f49e6120ec5ff700dbaced1965a704..bdea28c7c08e577b11d66cb653ef965757c7bedb 100644 (file)
@@ -6,7 +6,7 @@
 
 #include "zasm_GOOS_GOARCH.h"
 #include "funcdata.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // The following thunks allow calling the gcc-compiled race runtime directly
 // from Go code without going all the way through cgo.
index 3eecbbddc58cba45c61b971df119b674c1453b38..6b65fb47b15393bee9ac2d33394c393c6b5a5966 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 _rt0_arm_android(SB),NOSPLIT,$-4
        MOVW            (R13), R0      // argc
index 7fe1df4c902334bc9e3600e31f56909f7199eb91..4c8c92dda891af1d97c12b872ef8dbeb33975c15 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 _rt0_386_darwin(SB),NOSPLIT,$8
        MOVL    8(SP), AX
index ac323c83c2992459103bb3ced55ff604f8ba78fe..452d8545585a0c63104526b5b3eb968b06f243a3 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 _rt0_amd64_darwin(SB),NOSPLIT,$-8
        LEAQ    8(SP), SI // argv
index 9262a0f9e18d6fb5856c6195572d543c82a77c5e..548ba796a07f769154ccd4d8ce66d3d014353020 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 _rt0_386_dragonfly(SB),NOSPLIT,$8
        MOVL    8(SP), AX
index a83b20e228347a4080ee21094542745085d18777..fb56618d8f180b331853e1b613a9fa04213c2b01 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 _rt0_amd64_dragonfly(SB),NOSPLIT,$-8
        LEAQ    8(DI), SI // argv
index 242b67df5e23855205f9ba9c3fd636114487f047..cd7a915f843e340ea58e2638e8e831e78006c8c3 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 _rt0_386_freebsd(SB),NOSPLIT,$8
        MOVL    8(SP), AX
index 729effbdbabdb6e2cd3e641572fd4084a70d6c51..7989f7c3e9118cf98dbff3122902ce294dbf3691 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 _rt0_amd64_freebsd(SB),NOSPLIT,$-8
        LEAQ    8(DI), SI // argv
index d50c73c237796b0759eadf01f77b04ab28445911..f31252698eab2a3f63629c819585a0368efb2be6 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 and Linux use the same linkage to main
 
index 285aeed73c8ae43a5b13b0914506e3917c53e1ea..74ddc94da962b3895b96176562c6e8a9d6edd079 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 _rt0_386_linux(SB),NOSPLIT,$8
        MOVL    8(SP), AX
index 7f8c795481d5ccd38fadf4fd411ea53538ffbcea..985426acc468b377b834e7c9d99202c109464de1 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 _rt0_amd64_linux(SB),NOSPLIT,$-8
        LEAQ    8(SP), SI // argv
index 21391c7300ad2de9eeeda123c14a37780dfda8a0..8af3d3505e4569343a623daf4e38d07a6c12730d 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 _rt0_arm_linux(SB),NOSPLIT,$-4
        MOVW    (R13), R0       // argc
index e374bf33599c0bddc9393ec93af9776bce3a3721..d4ba06306a5eb5f3fa697dae208f24f17464f0da 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 entry has:
 //     0(FP) - arg block == SP+8
index de08618fc8d5dc02a3640af96c7243abd6383215..d8703dc0f028a2f2d1a9dda9296395908b575de8 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 entry on 32-bit x86 has DI pointing at the arg block, which contains:
 //
index 243cb3375d87fdebb8f04e6af3b66ea077a0724c..eadb4782ddf347269eeaadcbf3bd53bcaed8efc0 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 entry has:
 //     0(FP) - 0
index f4cc78a1bc90c67d86790263ee52a03d2e14ee6b..70b8532538b671a461520065a3b1c15d1945e45f 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 _rt0_386_netbsd(SB),NOSPLIT,$8
        MOVL    8(SP), AX
index e2288dbaed7c02e56cde6c1f93a765a39866d8cb..fad56614e5e85e1e4523f69523f88e1f22b73c6f 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 _rt0_amd64_netbsd(SB),NOSPLIT,$-8
        LEAQ    8(SP), SI // argv
index 1f649d97c4fa292daef82752a343d4a6e62bf0b1..bad66e06cfc5365366b59125830210fe7f26a800 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/NetBSD and Linux use the same linkage to main
 
index 35439d0d58068757cadd830452cdf560c8812da5..f25d2e1cf0143977db0bf930e20bc755ed1b5fb3 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 _rt0_386_openbsd(SB),NOSPLIT,$8
        MOVL    8(SP), AX
index a394890f94531f3398a9d2baf706fe74434f6ef5..58fe6663911570e9c4816d3d3ceca6bf694b3d76 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 _rt0_amd64_openbsd(SB),NOSPLIT,$-8
        LEAQ    8(SP), SI // argv
index 4aaabfaa4568cb3c07bd8f47716f1fb240bd98e9..7e2887b85788f569bd121a501ad5a15280531d05 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 _rt0_386_plan9(SB),NOSPLIT,$12
        MOVL    AX, _tos(SB)
index 9f20eef60a6989ca2965411ebbe0d52ae06a9420..a372a0ba8b91bad200c20d206b5fb962ef969726 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 _rt0_amd64_plan9(SB),NOSPLIT,$24
        MOVQ    AX, _tos(SB)
index fd0a79cc9bdad5100ccfa180dfb07da5e698ee5b..92a9fc295224f7daebc8092b77095b39d5418611 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 _rt0_amd64_solaris(SB),NOSPLIT,$-8
        LEAQ    8(SP), SI // argv
index d4008ad5dc0b8ef7cbaabdb5bf5d12cd0b93f227..00604372f1b13db28fd5c2ec9a3f3627cff3d2bc 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 _rt0_386_windows(SB),NOSPLIT,$12
        MOVL    12(SP), AX
index 0b144717ba37a419272ad0dfb7592ece0d96389c..890a570d1d77f0ac217cea461ced3814c18b7f94 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT _rt0_amd64_windows(SB),NOSPLIT,$-8
        LEAQ    8(SP), SI // argv
index 751181274a7878e4ce442f01dd3222775b999fae..d28ee58179177479716272f7e4d6072715582479 100644 (file)
@@ -5,7 +5,7 @@
 #include "runtime.h"
 #include "stack.h"
 #include "arch_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Keep a cached value to make gotraceback fast,
 // since we call it on every call to gentraceback.
index 5e5f4025ec32b19fc482e0d20c4a4242c5861a3b..09b0cf20ace0d8a52f75a825d1aa0d05c96fbafb 100644 (file)
@@ -7,7 +7,7 @@
 // It uses true little-endian doubles, while the 7500 used mixed-endian.
 
 #include "runtime.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #define CPSR 14
 #define FLAGS_N (1U << 31)
index 8456f79369d76836ea3a5602482f806824c95af5..3993a372e065a396905008e9f4e753b3c345e4c1 100644 (file)
@@ -11,7 +11,7 @@
 #include "type.h"
 #include "race.h"
 #include "mgc0.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 enum
 {
index 5421b531962a568d14ae9080ebf334efad2453d8..4f25adf8e3b44b457bd2ce277ccef7e0cf9f5a94 100644 (file)
@@ -6,7 +6,7 @@
 #include "arch_GOARCH.h"
 #include "malloc.h"
 #include "race.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 String runtime·emptystring;
 
index f8b2a9f0ad20138d7b78a6ce738ec8e43ec4dc3b..f6bc14f2c94908811507f9b7045b88bc1ab998ef 100644 (file)
@@ -7,7 +7,7 @@ package runtime
 #include "arch_GOARCH.h"
 #include "malloc.h"
 #include "stack.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // This file contains functions called by Go but written
 // in C.  These functions are problematic for the garbage
index 1ec694db68a32deee19a8b14648303aea025a834..a961c71a83abe602527da067fd78d51edadd113a 100644 (file)
@@ -7,7 +7,7 @@
 // or /usr/include/sys/syscall.h (on a Mac) for system call numbers.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Exit the entire program (like C exit)
 TEXT runtime·exit(SB),NOSPLIT,$0
index 5f0d9dfa1dfd3e838e3f293f1ae1395c35931833..2f98bfb06cf36f0c4f61cc14bffbfe5f2b5cb8d1 100644 (file)
@@ -12,7 +12,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Exit the entire program (like C exit)
 TEXT runtime·exit(SB),NOSPLIT,$0
index bd8c8d8f6d54e9eb583e14777542d57626b8b476..dd0e27e26a8c19fc467bbcf2916384c7b8916f44 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
        
 TEXT runtime·sys_umtx_sleep(SB),NOSPLIT,$-4
        MOVL    $469, AX                // umtx_sleep
index 1c279df9c8ca17cead7469ad3a9aa5b9a9dd5fcb..2c756018c2566595a9437f0d6515dc7e6515f364 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
        
 TEXT runtime·sys_umtx_sleep(SB),NOSPLIT,$0
        MOVQ addr+0(FP), DI             // arg 1 - ptr
index 929572f073243f2c7cf546589b77cbf73e3ea819..ffc28560ec0553e8327a30043d506cbc4bb3df2f 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
        
 TEXT runtime·sys_umtx_op(SB),NOSPLIT,$-4
        MOVL    $454, AX
index f1198541dcc066c3f0124b8468ec96cdf0a4cdfa..65f8c1a6eeef3a8a6a0bb1a5cab1affa365f8595 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // FreeBSD 8, FreeBSD 9, and older versions that I have checked
 // do not restore R10 on exit from a "restarted" system call
index da43871b9635fbb127287b61314558ef7d79bbc5..d875138b6282c5ab045edc5a2668d44f3d8585b5 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // for EABI, as we don't support OABI
 #define SYS_BASE 0x0
index 426e05faa14eeff4b92408974314fccb2cb20db2..0f6d4bbb5e58e84dc96163cc6be79d4e073ce0e2 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT runtime·exit(SB),NOSPLIT,$0
        MOVL    $252, AX        // syscall number
index 3ce6bfc9055ccdcf05063a2a15bb5e688bb8ff1a..33b91e872f9a00a99221c08588394eec5d4c4ff2 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 TEXT runtime·exit(SB),NOSPLIT,$0-4
        MOVL    code+0(FP), DI
index a2abe8f25cb39301a28dfecde0069e185b26a27a..bd285f399820395c7a96e1b26107741516e876a4 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // for EABI, as we don't support OABI
 #define SYS_BASE 0x0
index 5798b1aede400a13174f0ca50e38b1ad713f1a37..47985f31f5607b2a40e8abc5083186f0d91cc79d 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 #include "syscall_nacl.h"
 
 #define NACL_SYSCALL(code) \
index 1fd083718a04766259c82dd54e312932b2cef63f..c30c2a8933f2d69c0e70b860cfef52521d801bd3 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 #include "syscall_nacl.h"
 
 #define NACL_SYSCALL(code) \
index cc18522208579f61ba3f1556201f91b3bf658715..d354ab48373157731bb272512316c7a0cec9c50a 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 #include "syscall_nacl.h"
 
 #define NACL_SYSCALL(code) \
index cecc389b5fdfe0dd800a21d6bbc095454f274747..83a76cb343b0aed95fa0ea36195cb659cbeb4a9e 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Exit the entire program (like C exit)
 TEXT runtime·exit(SB),NOSPLIT,$-4
index 5b46dbe7070f5f5be9c418294d73b8d8ae8f7f04..eb9766d3f53de2c3d79c5a6c757f27e7092979f9 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // int32 lwp_create(void *context, uintptr flags, void *lwpid)
 TEXT runtime·lwp_create(SB),NOSPLIT,$0
index bf133a2100a28d9e785869736978fbf2ebe55146..039a0832e067d6b329a4dc5451beee720ca7074e 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // Exit the entire program (like C exit)
 TEXT runtime·exit(SB),NOSPLIT,$-4
index d836a1f9ea851329adf99b05fa684a0cdfb0b821..12d9c5c6b4b5af3321da8e4e90c103242e8e24d7 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #define        CLOCK_MONOTONIC $3
 
index e9371c3b6390c5aeb5586b98a9071ab719e8563a..4e9db23908251029a356368efef16fbcc08cab03 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #define CLOCK_MONOTONIC        $3
 
index 43fb367ed9aa88a2d0a03b7bfe7bdd6b60ddcb37..dfa09613e411b358a531c325437df46765a9f89a 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // setldt(int entry, int address, int limit)
 TEXT runtime·setldt(SB),NOSPLIT,$0
index 257f405c8dfda383507bb7435439c8590951d86d..08ddc3ffa812daf2f87fe850329122316d664920 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // setldt(int entry, int address, int limit)
 TEXT runtime·setldt(SB),NOSPLIT,$0
index 8506e9939a1ca4b165988d2c1b2f8ad98e01d391..2055d6c80b26c154c6062e4059f42edc283efad9 100644 (file)
@@ -7,7 +7,7 @@
 //
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // This is needed by asm_amd64.s
 TEXT runtime·settls(SB),NOSPLIT,$8
index f9a456a2ca95a0faf8f70384ac0720ea2e1a1c21..f4d561feea42dccc385d1fc759652305021c0a45 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // void runtime·asmstdcall(void *c);
 TEXT runtime·asmstdcall(SB),NOSPLIT,$0
index 7e59dfc50c9ff694e37630d59fa0ba9d65dcf92f..e5890e04ae637cd42fba3cafd1cff28c0c0e46df 100644 (file)
@@ -3,7 +3,7 @@
 // license that can be found in the LICENSE file.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // maxargs should be divisible by 2, as Windows stack
 // must be kept 16-byte aligned on syscall entry.
index 21bcce4d17ae5b5f4e86ec2233a0b22f8c9459dd..935a2f6cfc05ae7035635cfc6afac225ae003e55 100644 (file)
@@ -7,7 +7,7 @@ package syscall
 #include "defs_GOOS_GOARCH.h"
 #include "os_GOOS.h"
 #include "cgocall.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #pragma dynimport libc·chdir chdir "libc.so"
 #pragma dynimport libc·chroot chroot "libc.so"
index 0c057a3e230a95bac2f6a29d46850ba7a14cb405..babc9276802b2d79b9699f4a97eae5c619bbc909 100644 (file)
@@ -5,7 +5,7 @@
 // This file exposes various internal runtime functions to other packages in std lib.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 #ifdef GOARCH_arm
 #define JMP B
index 37edfa968e2fc2fee872189171fb909df7738f93..1b1cbc9783a8c58340e3bf628e0414bbe7262731 100644 (file)
@@ -4,7 +4,7 @@
 
 #include "zasm_GOOS_GOARCH.h"
 #include "funcdata.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 // We have to resort to TLS variable to save g(R10).
 // One reason is that external code might trigger
index 7af67c987a9fa128548f1477c11bf50d4433c299..ce8e7d064360f748ec77b27b1b72b3b55be6a68d 100644 (file)
@@ -23,7 +23,7 @@
 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 // THE SOFTWARE.
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 /*
  * C runtime for 64-bit divide.
index 0953deee78e9e087c7081f202e2de64e235f1dfb..6abcabad20c93ef2d4c1404a225c52dc80b75543 100644 (file)
@@ -24,7 +24,7 @@
 // THE SOFTWARE.
 
 #include "zasm_GOOS_GOARCH.h"
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 arg=0
 
index 486555dda309f03a3c8c89afaeb82737e5c1fdbd..cb0d147961ae17d6a97099a6360f4469fdb03aa9 100644 (file)
@@ -25,7 +25,7 @@
 
 // +build arm 386
 
-#include "../../cmd/ld/textflag.h"
+#include "textflag.h"
 
 /*
  * C runtime for 64-bit divide, others.