diff options
| author | Keith Randall <khr@golang.org> | 2013-08-12 13:47:18 -0700 |
|---|---|---|
| committer | Keith Randall <khr@golang.org> | 2013-08-12 13:47:18 -0700 |
| commit | e838334beb38c20d2b4035b53ec4e3e3487844f9 (patch) | |
| tree | 3e098b463e89455884e6a15c019bee84c522e088 /src/pkg/runtime/os_linux.c | |
| parent | 2791ef0b6784f487738b7dbe6bda520b426131f3 (diff) | |
| download | go-e838334beb38c20d2b4035b53ec4e3e3487844f9.tar.xz | |
runtime: change textflags from numbers to symbols
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/12798043
Diffstat (limited to 'src/pkg/runtime/os_linux.c')
| -rw-r--r-- | src/pkg/runtime/os_linux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkg/runtime/os_linux.c b/src/pkg/runtime/os_linux.c index 6b93b2f2df..0c2c40441a 100644 --- a/src/pkg/runtime/os_linux.c +++ b/src/pkg/runtime/os_linux.c @@ -7,6 +7,7 @@ #include "os_GOOS.h" #include "signal_unix.h" #include "stack.h" +#include "../../cmd/ld/textflag.h" extern SigTab runtime·sigtab[]; @@ -32,7 +33,7 @@ enum // if(*addr == val) sleep // Might be woken up spuriously; that's allowed. // Don't sleep longer than ns; ns < 0 means forever. -#pragma textflag 7 +#pragma textflag NOSPLIT void runtime·futexsleep(uint32 *addr, uint32 val, int64 ns) { |
