From 8c8eeba5a541dc6bee246a0a0414d3033f65cad4 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Sat, 6 Sep 2014 15:27:39 -0400 Subject: 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 --- src/pkg/runtime/cgo/asm_386.s | 2 +- src/pkg/runtime/cgo/asm_amd64.s | 2 +- src/pkg/runtime/cgo/asm_arm.s | 2 +- src/pkg/runtime/cgo/asm_nacl_amd64p32.s | 2 +- src/pkg/runtime/cgo/callbacks.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/pkg') 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. -- cgit v1.2.1