diff options
author | Russ Cox <rsc@golang.org> | 2014-09-06 15:27:39 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2014-09-06 15:27:39 -0400 |
commit | 8c8eeba5a541dc6bee246a0a0414d3033f65cad4 (patch) | |
tree | 30900e6c43ab2c59c76f376ae33d9a9d257843c8 /src | |
parent | db73e6b54ddc9dd8ae5ad198af604f92a809e2ef (diff) | |
download | go-8c8eeba5a541dc6bee246a0a0414d3033f65cad4.tar.gz |
runtime/cgo: use just #include "textflag.h"
This will withstand the src/pkg/ to src/ move.
LGTM=r
R=iant, r
CC=golang-codereviews
https://codereview.appspot.com/134530044
Diffstat (limited to 'src')
-rw-r--r-- | src/pkg/runtime/cgo/asm_386.s | 2 | ||||
-rw-r--r-- | src/pkg/runtime/cgo/asm_amd64.s | 2 | ||||
-rw-r--r-- | src/pkg/runtime/cgo/asm_arm.s | 2 | ||||
-rw-r--r-- | src/pkg/runtime/cgo/asm_nacl_amd64p32.s | 2 | ||||
-rw-r--r-- | src/pkg/runtime/cgo/callbacks.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/pkg/runtime/cgo/asm_386.s b/src/pkg/runtime/cgo/asm_386.s index ab2f1d17a..a895083f1 100644 --- a/src/pkg/runtime/cgo/asm_386.s +++ b/src/pkg/runtime/cgo/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" /* * void crosscall2(void (*fn)(void*, int32), void*, int32) diff --git a/src/pkg/runtime/cgo/asm_amd64.s b/src/pkg/runtime/cgo/asm_amd64.s index 64f719ab1..6095bd133 100644 --- a/src/pkg/runtime/cgo/asm_amd64.s +++ b/src/pkg/runtime/cgo/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" /* * void crosscall2(void (*fn)(void*, int32), void*, int32) diff --git a/src/pkg/runtime/cgo/asm_arm.s b/src/pkg/runtime/cgo/asm_arm.s index b989ab933..6e57432e3 100644 --- a/src/pkg/runtime/cgo/asm_arm.s +++ b/src/pkg/runtime/cgo/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" /* * void crosscall2(void (*fn)(void*, int32), void*, int32) diff --git a/src/pkg/runtime/cgo/asm_nacl_amd64p32.s b/src/pkg/runtime/cgo/asm_nacl_amd64p32.s index 377cf72a3..eb92014ed 100644 --- a/src/pkg/runtime/cgo/asm_nacl_amd64p32.s +++ b/src/pkg/runtime/cgo/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" /* * void crosscall2(void (*fn)(void*, int32), void*, int32) diff --git a/src/pkg/runtime/cgo/callbacks.c b/src/pkg/runtime/cgo/callbacks.c index eb69255db..f074237d5 100644 --- a/src/pkg/runtime/cgo/callbacks.c +++ b/src/pkg/runtime/cgo/callbacks.c @@ -4,7 +4,7 @@ #include "../runtime.h" #include "../cgocall.h" -#include "../../../cmd/ld/textflag.h" +#include "textflag.h" // These utility functions are available to be called from code // compiled with gcc via crosscall2. |