From e838334beb38c20d2b4035b53ec4e3e3487844f9 Mon Sep 17 00:00:00 2001 From: Keith Randall Date: Mon, 12 Aug 2013 13:47:18 -0700 Subject: runtime: change textflags from numbers to symbols R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12798043 --- src/pkg/runtime/sigqueue.goc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/pkg/runtime/sigqueue.goc') diff --git a/src/pkg/runtime/sigqueue.goc b/src/pkg/runtime/sigqueue.goc index e430e2103d..e08bf98aad 100644 --- a/src/pkg/runtime/sigqueue.goc +++ b/src/pkg/runtime/sigqueue.goc @@ -29,6 +29,7 @@ package runtime #include "defs_GOOS_GOARCH.h" #include "os_GOOS.h" #include "cgocall.h" +#include "../../cmd/ld/textflag.h" static struct { Note; @@ -156,7 +157,7 @@ func signal_disable(s uint32) { } // This runs on a foreign stack, without an m or a g. No stack split. -#pragma textflag 7 +#pragma textflag NOSPLIT void runtime·badsignal(uintptr sig) { -- cgit v1.3-5-g9baa